github googleapis/google-cloud-rust v0.5.0

10 months ago

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 RequestOptions by @dbolduc in #1877

  • cleanup(wkt)!: remove unused DurationError by @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(gax)!: seal Paginator traits by @dbolduc in #1971

  • cleanup(lro)!: seal Poller by @dbolduc in #1972

  • cleanup!: consistent naming style for features by @coryan in #2024

  • cleanup!: remove unstable-sdk-client feature 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

  • cleanup(auth)!: simplify builder by @dbolduc in #2105

  • 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::Empty to unit type by @coryan in #2031

  • cleanup(wkt): more idiomatic AnyError by @coryan in #2123

  • 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


  • feat(dataplex/v1): generate library by @coryan in #1848

  • feat(lustre): generate library by @dbolduc in #1923

  • docs: prefer # Parameters in 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

  • docs: fix comments in rustdoc samples by @coryan in #1836

  • feat(auth): support non-default access token credentials by @harkamaljot in #1797

  • cleanup(gaxi): switch from built to rustc_version by @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

  • fix(gax): paginators should be Send by @coryan in #1916

  • fix(lro): Poller should be Send by @coryan in #1918

  • 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

  • feat: skip serializing default values by @dbolduc in #1969

  • 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

  • impl(gax): normalize service errors by @coryan in #1993

  • docs: add instruction for integration test tracing by @PhongChuong in #2004

  • fix: use custom serde for doubles in generated code by @suzmue in #2008

  • fix: add custom serde for DoubleValue by @suzmue in #2009

  • docs: update ARCHITECTURE.md by @coryan in #2006

  • 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(lro): examples for Poller by @coryan in #2028

  • docs(gax): Paginator and ItemPaginator samples 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

  • feat: simplify pagination helpers by @coryan in #2064

  • 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

  • cleanup(auth): reduce -sys dependencies by @coryan in #2118

  • feat(generator): add paginator support for legacy services with maxResults field name by @PhongChuong in #2115

  • docs(gax): fix several nits by @coryan in #2128

  • 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

  • fix(wkt): deserialize floats from ints by @coryan in #2136

  • docs(lro): more readable type names by @coryan in #2140

  • docs(gax): more readable type names for *Paginator by @coryan in #2141

  • fix(lro): cannot use workspace for self dependency by @coryan in #2144

New Contributors

Full Changelog: v0.4.0...v0.5.0

Don't miss a new google-cloud-rust release

NewReleases is sending notifications on new releases.