All notable changes to this project will be documented in this file.
1.9.0 (2024-06-03)
1.8.0 (2024-05-21)
1.7.0 (2024-04-17)
- generation: update request builders and models (2799465)
1.6.0 (2024-04-08)
1.5.0 (2024-03-19)
1.4.0 (2024-02-14)
1.3.1 (2024-02-14)
1.3.0 (2024-02-06)
- add national clouds support (#423) (f29cc5c)
- generation: update request builders and models (#428) (ae339fb)
- Updated .NET version to 8.0. [#417]
- Fix index out of range issue when no args are provided. [#404]
- Fix calendar-view list. [#389]
- Added
me
command. Usemgc me get
to fetch the currently logged in user.
- Use stderr for log output. [#359]
- Fix token refresh on incremental consent. [#352]
- Convert
--json-no-indent
flag toraw_json
output option. Use it via--output raw_json
. [#362] - Improve error messages on authentication failure. [#369]
- Remove
REQUIRED
text from output option description. [#362] - Always allow account selection on login.
- Added managed identity login. Use
mgc login --strategy ManagedIdentity
to use it.
- Changed output encoding to
utf-8
for better compatibility with other tools likejq
[#341] - Fix line breaks on output [#341]
- Fix headers parsing breaking on '=' in header value. [#343]
- Added headers support via the
--headers
option.
- Fixed issue with command conflicts in the parser.
- Added overloaded OData functions as commands. Examples of newly added command
paths:
mgc drives items workbook worksheets charts image-with-width
mgc drives items workbook worksheets charts image-with-width-with-height
--file
has now been split into--input-file
and--output-file
to cater for endpoints that accept a stream and return a stream.- Fix error when accessing
mgc users direct-reports graph-org-contact
. There are now 2 similar commands undermgc users direct-reports graph-org-contact
.mgc users direct-reports graph-org-contact
mgc users direct-reports graph-org-contact-by-id
- Set console encoding to utf-8
- Remove
item
place-holder from commands with url path parameters - Update samples.
- Add Environment login. Client secret login and certificate file login are now possible with this new strategy.
- Update login command help text.
- Fix a bug where the CLI didn't send the Content-Type header when sending requests with bodies.
- Change MacOS & Linux packages to use tar archives
- Fix Azure Identity logs showing when not needed
- Added documentation content for non-terminal sub-commands
- MacOS binaries are now signed and notarized.
- Logout now clears tokens from the cache.
- Header command options can now be called multiple times. The header values will now be additive.
- Added certificate login (
mgc login --strategy ClientCertificate
) - Added
--debug
option
- Implement
none
output formatter as no-op output
- Added interactive browser login (
mgc login --strategy InteractiveBrowser
)
- Fix issue with corrupted config files on changing user accounts
- Add item sub-command for indexer paths (paths with id).
GET /users/{user-id}
changes frommgc users get --user-id
tomgc users item get --user-id
- Add command samples.
- Add automatic page iteration via the
--all
command option.
- Login command scopes are now optional.
- Fix issue with nullable boolean options.
- Fix issue with incorrect OData parameter names.
- Fix issue with docker container missing capabilities when running as a non-root user.
- API requests now send an
Accept
header to the server. The value of the header is determined by the schema.
- Add default app id & tenant id
- Add documented headers as command options
- Make app settings configuration file optional
- Added support for JMESPath queries #35
- Added clientId and tenantId parameters to the login command #40
- Fixed bug caused by URL path parameters not being set in the request information object #38
- Fixed stream output being passed to output formatter when no file path is provided #38
- Format JSON output by default. The formatting can be disabled per command through the CLI argument
--json-no-indent
#55 - Use async OutputFormatter & OutputFilter APIs #55
- Fix failing requests when adding options like
--select
,--expand
,--top
etc