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
support authenticated: true config (7f6112a )
make Endpoint type non-recursive (c676b52 )
react-query: fix ESM/CJS issue (ffc6c52 )
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 )
The following workspace dependencies were updated
dependencies
@stl-api/next bumped to 0.1.0
stainless bumped to 0.1.0
You can’t perform that action at this time.