- Upgraded dependencies (thanks to pulyaevskiy)
- Update code in examples
- Use thread-safe
print
on startup (thanks to 0rzech)
- Fixed CORS example (thanks to kliuchev)
- Upgrade dependencies
shelfRun()
lifecycle hooksonWillClose
andonClosed
supports asynchronous execution- Fixed: server does not stop, when hotreload is set to false
- Added
onWillClose
toshelfRun()
lifecycle hook. - Added
onClosed
toshelfRun()
lifecycle hook.
- Added
onStartFailed
toshelfRun()
to react on server startup failures.
- Update dependencies
- Changed way of applying global middleware. Middlewares are now scoped to routers that can be composed by using
mount()
.
- Added
onStarted
toshelfRun()
to specify alternative / custom startup logging.
- Change type of
defaultBindAddress
toObject
to mirror thedart_io
API
- Add optional
SecurityContext
property toshelfRun()
- Upgrade code base and update dependencies
- Fixed middleware handling for undefined routes (e.g. CORS handling)
- Add cors example
- Fixed link in README.md
- Added multithreading / isolates support
- Added WebSocket support
- Fix error in response_handler when returning an empty list
- Upgrade
shelf_hotreload
package
- Raise Dart minimum SDK version 2.14
- Changed from
pedantic
tolints
- Updated documentation
- Added mechanism for request body handling
- JSON handler can now process
Iterable
s and serialize model classes ofIterable
s - Added example for a rest-service
- Initial version