Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.45 KB

CHANGELOG.md

File metadata and controls

51 lines (33 loc) · 2.45 KB

Changelog

0.1.1 (2024-09-23)

Bug Fixes

  • deps: update dependency hono to v4 [security] (6c8b437)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • stainless bumped from github:stainless-api/stl-api#stainless-0.1.3 to github:stainless-api/stl-api#stainless-0.1.1

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

  • use all caps instead of lowercased HTTP methods in endpoints (6c25c78)

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
      • stainless bumped to 0.1.0