Skip to content

Latest commit

 

History

History
219 lines (141 loc) · 13.1 KB

CHANGELOG.md

File metadata and controls

219 lines (141 loc) · 13.1 KB

Change Log

0.4.3 (2023-10-15)

Bug Fixes

  • derive: use compile errors instead of panics (0e2d877e)

Features

  • add support for application credentials
  • derive:
    • default resource_id to id when deriving PaginatedResource (1b990acd)
    • derive(QueryItem) (2196c7aa)

0.4.2 (2023-04-02)

Bug Fixes

  • derive: use snake_case for the default of collection_name (2b0067c1)

Features

  • common:
    • add empty_map_as_default (ec85e964)
    • add Query for more efficient queries (e7d0fdb0)
  • derive: add support for flat_collection (51a2ccae)

0.4.1 (2023-02-06)

Bug Fixes

  • fix double percent-encoding on URLs (#69) (7ae67476)

0.4.0 (2022-09-09)

This is one of the most significant releases in the project's history. Major changes have been done to all parts of the public API. Please see breaking changes and check the updated documentation for details.

Breaking Changes

  • start requests synchronously, authenticate later (81b45f0d) and (4e6196c2)
  • removed _json suffixes from some calls (1d6dcc25)
  • Identity trait removed (77874cca)
  • add AuthenticatedClient and move Client handling to Session (85edca2e)
  • remove dependency on osproto (42662a96)
  • MSRV is now 1.58.0
  • auth: make get_endpoint synchronous (16a1d94b)

Features

  • add protocol_enum macro (3b5d596a)
  • add osauth-derive crate (c8ad553e)
  • rename fetch_json -> fetch (1d6dcc25, breaks #)
  • simplify requests to avoid immediate await? (4e6196c2)
  • support legacy ironic error messages (589f6887)
  • type-safe setting of API version on RequestBuilder (4d4cd320)
  • start requests synchronously, authenticate later (81b45f0d, breaks #)
  • new CloudConfig object (a3642339)
  • add AuthenticatedClient and move Client handling to Session (85edca2e, breaks #)
  • remove dependency on osproto (42662a96, breaks #)
  • remove deprecated set_region, from_config, from_env (d82333ce)
  • update reqwest to 0.11 and tokio to 1.0 (7018ffef)
  • auth: make get_endpoint synchronous (16a1d94b, breaks #)
  • session:
    • separate ServiceRequestBuilder for service requests (462e2469)
    • Session/Adapter creation is now asynchronous (8f8ab65c)

Bug Fixes

  • fix SyncStream with newer Rust and bump MSRV to 1.50.0 (912ac46f)
  • bump MSRV to 1.46.0 because of socket2 (4fa7dbc2)
  • stop requiring an owned value of auth_url/endpoint (e6e50080)
  • reduce the size of Password/Token from 416 to 304 bytes (77874cca, breaks #)
  • auth: don't require owned params in get_endpoint (1e8cb795)

0.3.4 (2021-01-16)

Bug Fixes

  • a meaningful Debug for ValidInterfaces (5caa48c1)

Features

  • support loading endpoint overrides from clouds.yaml (afd0c993)
  • support loading none authentication from clouds.yaml (6370e7de)
  • identity: token authentication (fixes #6) (21657228)

0.3.3 (2020-10-11)

Bug Fixes

  • repair and gate on the support for no-default-features (cbb1078b)

Features

  • from_config/from_env directly on Session/SyncSession (b033b37e)
  • auth: suppor HTTP basic auth (for ironic) (2cad612e)
  • config: support custom CA certificates (a0efa046)
  • session: support for endpoint overrides (958a1330)

0.3.2 (2020-09-06)

Bug Fixes

  • several suspicious places detected by clippy (c3d10c97)

Features

  • Add support for clouds-public.yaml and secure.yaml (#16) (2c3e4331)

0.3.1 (2020-07-13)

Bug Fixes

  • config: read region from env (OS_REGION_NAME) when calling from_env (d624ba40)
  • identity: Account for auth_urls with trailing slash (#14) (d38c7827)
  • protocol: fall-back to parent URL when doing service discovery (fixes #18) (1cb0926a)

0.3.0 (2020-05-21)

Breaking Changes

  • The library now uses async/await instead of explicit futures.
  • A separate endpoint interface field is replaced by a new EndpointFilters structure everywhere.

Other:

  • remove deprecated user_name (80125d0b, breaks #)
  • enable project scope to take id or name (#10) (c6b31f33, breaks #)

Features

  • add paginated query support (a8bfdee6)
  • switch to async/await (e3a15093, breaks #)
  • auth: replace separate interface/region with endpoint filters (4bcecd6c, breaks #)
  • identity:
    • remove deprecated user_name (80125d0b, breaks #)
    • add a separate Scope object (24dcd3ca)
    • enable project scope to take id or name (#10) (c6b31f33, breaks #)

Bug Fixes

  • use async lock for caches and avoid Arc::clone (04aad97f)

0.2.5 (2019-09-30)

Features

  • Expose rustls through a feature flag (1a6190d)
  • request: add NO_PATH (703cd3d8)
  • sync:
    • add SyncBody to convert Read into Stream (e669a500)
    • implement download to read from body (759c8d69)

0.2.4 (2019-06-17)

Features

  • adapter: add default_api_version (2ec1e52)

0.2.3 (2019-06-09)

Features

  • add SyncSession - a synchronous wrapper for Session (36ad472d)
  • services: add support for ironic (ae728f71)

Bug Fixes

  • correct object-store example broken in the last merge (d4b9d0a0)

0.2.2 (2019-05-06)

Features

0.2.1 (2019-04-19)

Features

  • session: add get_query and get_json_query (3e14f4fa)

0.2.0 (2019-04-11)

Breaking Changes

  • services:
    • change IMAGE and NETWORK to have their own types (f6c38f33)
    • change set_api_version_headers to accept HeaderMap (b6edf6b9)

Features

  • services:
    • support for object and block storage services (da885d09)

0.1.1 (2019-03-31)

Bug Fixes

  • session: short-cut pick_api_version on empty input (744a5102)

Features

  • session:
    • accept IntoIterator in pick_api_version (d19a4201)
    • add refresh, set_auth_type and with_auth_type (80ea7579)

0.1.0 (2019-03-16)

Initial version.