Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Releases: stapi-spec/stapi-fastapi

v0.7.0-a1

25 Feb 18:25
4ee5b3b
Compare
Choose a tag to compare
v0.7.0-a1 Pre-release
Pre-release
add method POST to create-order link (#145)

* add method POST to create-order link

v0.6.0

11 Feb 15:29
96bcc8f
Compare
Choose a tag to compare

[v0.6.0] - 2025-02-11

Added

  • Added token-based pagination to GET /orders, GET /products,
    GET /orders/{order_id}/statuses, and POST /products/{product_id}/opportunities.
  • Optional and Extension STAPI Status Codes "scheduled", "held", "processing", "reserved", "tasked",
    and "user_canceled"
  • Asynchronous opportunity search. If the root router supports asynchronous opportunity
    search, all products must support it. If asynchronous opportunity search is
    supported, POST requests to the /products/{productId}/opportunities endpoint will
    default to asynchronous opportunity search unless synchronous search is also supported
    by the product and a Prefer header in the POST request is set to wait.
  • Added the /products/{productId}/opportunities/ and /searches/opportunities
    endpoints to support asynchronous opportunity search.

Changed

  • Replaced the root and product backend Protocol classes with Callable type aliases to
    enable future changes to make product opportunity searching, product ordering, and/or
    asynchronous (stateful) product opportunity searching optional.
  • Backend methods that support pagination now return tuples to include the pagination
    token.
  • Moved OrderCollection construction from the root backend to the RootRouter
    get_orders method.
  • Renamed OpportunityRequest to OpportunityPayload so that would not be confused as
    being a subclass of the Starlette/FastAPI Request class.

Fixed

  • Opportunities Search result now has the search body in the create-order link.

v0.5.0

08 Jan 22:37
0a5d877
Compare
Choose a tag to compare

[v0.5.0] - 2025-01-08

Added

  • Endpoint /orders/{order_id}/statuses supporting GET for retrieving statuses. The entity returned by this conforms
    to the change proposed in stapi-spec#239.
  • RootBackend has new method get_order_statuses
  • *args/**kwargs support in RootRouter's add_product allows to configure underlyinging ProductRouter

Changed

  • OrderRequest renamed to OrderPayload

Deprecated

none

Removed

  • Endpoint /orders/{order_id}/statuses supporting POST for updating current status was added and then
    removed prior to release
  • RootBackend method set_order_status was added and then removed

Fixed

  • Exception logging

Security

none

v0.4.0

11 Dec 18:36
c523496
Compare
Choose a tag to compare

Added

none

Changed

  • The concepts of Opportunity search Constraint and Opportunity search result Opportunity Properties are now separate,
    recognizing that they have related attributes, but not neither the same attributes or the same values for those attributes.

Deprecated

none

Removed

none

Fixed

none

Security

none

v0.3.0

09 Dec 16:28
b33ba82
Compare
Choose a tag to compare

[0.3.0] - 2024-12-6

Added

none

Changed

  • OrderStatusCode and ProviderRole are now StrEnum instead of (str, Enum)
  • All types using Result[A, Exception] have been replace with the equivalent type ResultE[A]
  • Order and OrderCollection extend _GeoJsonBase instead of Feature and FeatureCollection, to allow for tighter constraints on fields

Deprecated

none

Removed

none

Fixed

none

Security

none

v0.2.0

23 Nov 16:33
77a6aa6
Compare
Choose a tag to compare

[v0.2.0] - 2024-11-23

Added

none

Changed

  • RootBackend and ProductBackend protocols use returns library types Result and Maybe instead of
    raising exceptions.
  • Create Order endpoint from .../order to .../orders
  • Order field id must be a string, instead of previously allowing int. This is because while an
    order ID may an integral numeric value, it is not a "number" in the sense that math will be performed
    order ID values, so string represents this better.

Deprecated

none

Removed

none

Fixed

none

Security

none

v0.1.0

15 Nov 23:18
3011357
Compare
Choose a tag to compare

What's new

Initial release.

Added

  • Conformance endpoint /conformance and root body conformsTo attribute.
  • Field product_id to Opportunity and Order Properties
  • Endpoint /product/{productId}/order-parameters.
  • Links in Product entity to order-parameters and constraints endpoints for that product.
  • Add links opportunities and create-order to Product
  • Add link create-order to OpportunityCollection

v0.1.0a0

04 Nov 21:26
df6d1f0
Compare
Choose a tag to compare
v0.1.0a0 Pre-release
Pre-release

Pre-release to test release workflow in prep for v0.1.0 release.

v0.0.0+241009-154355

09 Oct 15:44
Compare
Choose a tag to compare
bump: 0.0.0+240926-073941 → 0.0.0+241009-154355

v0.0.0+240926-073941

26 Sep 07:39
Compare
Choose a tag to compare
bump: 0.0.0+240926-073457 → 0.0.0+240926-073941