What's Changed
Breaking Changes
-
Protobuf enumerations are mapped to Rust enumerations.
- Implemented over several PRs, mainly #1953
-
The google-cloud-aiplatform-v1 crate gained features to select only a subset of the many clients in this crate.
- Implemented over many PRs, including #1878
-
Most client methods lost the (so far required) path parameters, they must all be set on the request builder returned by these methods using
.set_${field_name}(..).- The rationale is that many methods can use different fields to build the path parameter and can gain new fields like this over time.
- Effectively we are trading-off compile-time errors for run-time errors but with more flexible evolution (and more features) for the services.
- The current run-time errors are fairly minimal, we are planning to improve them in future releases.
-
cleanup(gax)!: hide default idempotency in
RequestOptionsby @dbolduc in #1877 -
cleanup(wkt)!: remove unused
DurationErrorby @dbolduc in #1900 -
refactor(auth)!: replace create_access_token_credential with builder by @harkamaljot in #1903
-
refactor(auth)!: rename CredentialsTrait to CredentialsProvider by @harkamaljot in #1909
-
cleanup(wkt)!: hide message serialize fns by @dbolduc in #1917
-
cleanup!: consistent naming style for features by @coryan in #2024
-
cleanup!: remove
unstable-sdk-clientfeature by @coryan in #2025 -
feat(auth)!: update token and header interface by @harkamaljot in #2034
-
refactor(auth)!: replace create_api_key_credentials with builder by @chrischiedo in #2084
-
fix(auth)!: Single method in Service Account Builder for scopes and audience by @sai-sunder-s in #2089
-
impl(generator/rust)!: prepare to support additional bindings by @coryan in #2114
-
refactor(auth)!: Remove token method credential provider by @harkamaljot in #2131
-
fix(auth)!: Make Token struct pub(crate) since it is not exposed in a public surface by @sai-sunder-s in #2142
-
feat(lro): convert
wkt::Emptyto unit type by @coryan in #2031 -
feat(generator/rust): LROs with unit types by @coryan in #2062
-
fix(auth): Hide testing mod from public documentation by @sai-sunder-s in #2083
-
docs: prefer
# Parametersin rustdoc comments by @coryan in #1817 -
docs: fix typos in user guide by @chrischiedo in #1823
-
docs: add speech-to-text api to set up dev instructions by @suzmue in #1827
-
feat(auth): support non-default access token credentials by @harkamaljot in #1797
-
cleanup(gaxi): switch from
builttorustc_versionby @davidbarsky in #1875 -
fix(auth): remove trailing slash from Metadata root by @harkamaljot in #1886
-
docs: add user guide section on Vertex AI by @coryan in #1902
-
feat(gax): return default value for struct for 204 NoContent responses by @alvarowolfx in #1913
-
feat(generator/rust): document required setters by @coryan in #1965
-
docs: user guide for paginated operations by @PhongChuong in #1830
-
docs: add explicit dep to the guides by @PhongChuong in #1974
-
test: skip serializing default values in wkt tests by @suzmue in #1976
-
docs: write and link user guide for enumerations by @coryan in #1982
-
feat(generator/rust): use deprecation attributes by @coryan in #1983
-
fix: support nan, inf and -inf serde for f32 in generated code by @suzmue in #1979
-
docs: add instruction for integration test tracing by @PhongChuong in #2004
-
fix: use custom serde for doubles in generated code by @suzmue in #2008
-
feat(auth): Introduce GCE_METADATA_HOST env var to set the metadata server host by @sai-sunder-s in #2005
-
fix(sql/v1): add crate to top-level workspace by @coryan in #2018
-
fix: POST and PUT requests with empty bodies by @coryan in #2017
-
docs: document features and internal modules by @coryan in #2026
-
docs(gax):
PaginatorandItemPaginatorsamples by @coryan in #2029 -
feat(auth): optimize common path for MDS by @coryan in #2033
-
fix: add attributes for oneof variants in generated code by @suzmue in #2030
-
test: update map oneof test to include serde attribute by @suzmue in #2060
-
docs: add instructions for adding google-cloud-gax crate by @suzmue in #2109
-
docs: add google-cloud-gax instructions to cloud shell by @suzmue in #2112
-
feat(generator): add paginator support for legacy services with maxResults field name by @PhongChuong in #2115
-
feat(generator/rust): request builder get examples by @coryan in #2130
-
fix(generator): create files without execute bits by @coryan in #2133
-
feat: telemetry includes REST vs. gRPC fields by @coryan in #2135
-
docs(gax): more readable type names for
*Paginatorby @coryan in #2141 -
fix(lro): cannot use workspace for self dependency by @coryan in #2144
New Contributors
- @suzmue made their first contribution in #1827
- @dhvll made their first contribution in #1860
- @davidbarsky made their first contribution in #1875
- @PhongChuong made their first contribution in #1887
- @alvarowolfx made their first contribution in #1913
Full Changelog: v0.4.0...v0.5.0