All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
New examples:
git_items_list
git_items_get
build_list_sync
-
New features:
enable_reqwest
[default]enable_reqwest_rustls
- Both of the above enable the corresponding feature in
azure_core
- New examples:
git_repo_get_raw_rsp
artifacts_list
build_list_continuation_token
release_logs
wiki_pages_create_or_update
search_repositories
permissions_report
- Added new fields to
GitPullRequestCreateOptions
merge_options
completion_options
- Fix
distributedTask
variableGroupProjectReferences
deserialization ofnull
value - Fix
extensionManagement
parsing offlags
fields- Change type from an
enum
to aString
, as field value is a comma-separated list
- Change type from an
- Revert all
GraphSubjectBase
fields to be wrapped inOption
- Upgrade
azure_core
to 0.5,azure_identity
to 0.6AzureCliCredential
must now be created viaazure_identity::AzureCliCredential::new()
- Upgrade
autorust
code generator- New
send()
function on operations that enables access to full response details (headers, raw body data)
- New
- Add missing
distributedTask
ElasticPool
operations - Patch
hooks
spec:InputValidation
fieldsminValue
andmaxValue
need to benumber
/float
Subscription
fieldprobationRetries
needs to beinteger
/int32
- New examples:
code_search
hooks_list
ims_query
extension_management_list
test_rust_list
- Fixed up
GitCommitRef
change_counts
field type - Added back some required
build
structure Option wrappers - Fixed formatting of date-time URL parameters
- Added
ims
(Identity Management) example:ims_query
- Fixed Pull Request create function
git::pull_requests::create()
- Added
git_pr_create
example
- Implement custom date-time serde module to gracefully handle
0001-01-01T00:00:00
- Fixed response types for git::commits::get_changes()
- If response deserialization fails, include response content in error
- Removed Option wrappers on selected structs in
wit
andstatus
- Example improvements:
- New examples:
- wit (work items)
- status
- client_pipeline_policy
- policy
- Updated examples to use
ClientBuilder
, eliminating default client arguments - Added logging via
env_logger
- New examples:
- Added
Credential::Unauthenticated
to enable unauthenticated operations
- Upgraded to latest
autorust
code generator fromazure-sdk-for-rust
- Removed
operation
modules - all operations move up one level in the module hierarchy. - Second-level client functions changed to have a
_client
suffix, e.g.client.repositories().get_repository(...)
=>client.repositories_client().get_repository(...)
.
- New
options
(azure_core::ClientOptions
) parameter required when creating clients, which allows the HTTP pipeline to be customised with middleware. - Fields declared in the spec as
date-time
format now parsed into Rusttime::OffsetDateTime
types rather thanString
.
- Removed
- Updated some struct fields to remove Option wrappers to make the values easier to use.
- Updated some
links
fields to have a struct with known fields, rather than a JsonValue
.
pipeline_preview
example
- API documentation: autogenerate builder function descriptions.
- Upgrade Azure SDK dependencies:
- azure_core: 0.3
- azure_identity: 0.4
- Move
Credential
definition fromauth
module to root, to separate it from all the feature modules.auth
module is now private.- To migrate change
use azure_devops_rust_api::auth::Credential
touse azure_devops_rust_api::Credential
- To migrate change
- API documentation: autogenerate function description and parameter descriptions from fields in the OpenAPI spec.
- Credentials now need to be provided via a new type
auth::Credential
that supports both PAT and TokenCredential types. For more details see examples and docs.rs.
- Support for PAT authentication
- Remove use of
unwrap()
from examples.
0.1.3 - 2022-07-29
- Remove
--no-deps
flag for docs.rs documentation generation.
0.1.2 - 2022-07-29
- Set
--no-deps
flag for docs.rs documentation generation.
0.1.1 - 2022-07-29
- Enable
all-features
flag for docs.rs documentation generation.
0.1.0 - 2022-07-29
- Initial release.