Skip to content

v1.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@tobyzerner tobyzerner released this 21 Jun 07:43
· 92 commits to main since this release
7524a2c

Read the new docs

  • New class-based API. More ergonomic for managing large resource definitions and
    inheriting/overriding behavior. Complex fields can be extracted into their own classes and
    reused across resources.

  • Typed attributes. Implementations of typed attributes are provided to match the data types
    in the OpenAPI specification. Attributes can be marked as required and nullable.

  • Customizable endpoints. Each endpoint is now opt-in for each resource and can be configured
    and implemented separately. Also adds the ability for custom endpoints to be added.

  • Restructured internals. The codebase is cleaner and easier to reason about, especially the
    serialization process.

Still to come:

  • Implementation of Laravel stuff (currently it is documented but not implemented)
  • Ability to generate OpenAPI definitions
  • Additional attribute types (array, object)
  • Benchmarks (it should probably be a bit faster)