mirror of
https://github.com/felixblaschke/shelf_plus.git
synced 2025-08-03 17:43:18 +08:00
2.0 KiB
2.0 KiB
1.10.1
- Expose correct port in
onStarted()
if server is launched with random port (thanks to rodolfogoulart) - Remove library name (following lint
unnecessary_library_name
)
1.10.0
- Upgraded dependencies (thanks to pulyaevskiy)
- Update code in examples
1.9.2
- Use thread-safe
print
on startup (thanks to 0rzech)
1.9.1
- Fixed CORS example (thanks to kliuchev)
1.9.0
- Upgrade dependencies
1.8.0
shelfRun()
lifecycle hooksonWillClose
andonClosed
supports asynchronous execution- Fixed: server does not stop, when hotreload is set to false
1.7.0
- Added
onWillClose
toshelfRun()
lifecycle hook. - Added
onClosed
toshelfRun()
lifecycle hook.
1.6.0
- Added
onStartFailed
toshelfRun()
to react on server startup failures.
1.5.1
- Update dependencies
1.5.0
- Changed way of applying global middleware. Middlewares are now scoped to routers that can be composed by using
mount()
.
1.4.1
- Added
onStarted
toshelfRun()
to specify alternative / custom startup logging.
1.4.0
- Change type of
defaultBindAddress
toObject
to mirror thedart_io
API
1.3.0
- Add optional
SecurityContext
property toshelfRun()
- Upgrade code base and update dependencies
1.2.3
- Fixed middleware handling for undefined routes (e.g. CORS handling)
1.2.2
- Add cors example
1.2.1
- Fixed link in README.md
1.2.0
- Added multithreading / isolates support
1.1.0
- Added WebSocket support
1.0.2
- Fix error in response_handler when returning an empty list
1.0.1
- Upgrade
shelf_hotreload
package
1.0.0
- Raise Dart minimum SDK version 2.14
- Changed from
pedantic
tolints
- Updated documentation
0.0.2
- 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
0.0.1
- Initial version