Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2 KB

CHANGELOG.md

File metadata and controls

38 lines (27 loc) · 2 KB

Changelog

0.1.0 (2023-12-06)

⚠ BREAKING CHANGES

  • removed UserContext type parameter in favor of using declaration merging to add custom props to StlContext. Also removed PartialStlContext type.
  • create stl instance with new Stl(...) instead of makeStl(...)
  • the following functions have been moved:
    • stl.next.plugins.appRoute -> stlNextAppRoute
    • stl.next.plugins.pageRoute -> stlNextPageRoute
    • stl.next.plugins.appCatchAllRouter -> stlNextAppCatchAllRouter
    • stl.next.plugins.pageCatchAllRouter -> stlNextPageCatchAllRouter All of these functions can be imported from @stl-api/next.
  • rename the @stl-api/stl package to stainless

Features

  • support authenticated: true config (7f6112a)

Bug Fixes

  • make Endpoint type non-recursive (c676b52)
  • react-query: fix ESM/CJS issue (ffc6c52)

Code Refactoring

  • allow extend context via declaration merging instead of generic (afba2e7)
  • convert Stl instance to a class (9604c4e)
  • rename @stl-api/stl to stainless (bb60f65)
  • use standalone next route adapter functions (#6) (cb26747)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @stl-api/next bumped to 0.1.0
      • stainless bumped to 0.1.0