steward 0.1.7 steward: ^0.1.7 copied to clipboard
Steward is a CLI and Framework for building expressive web servers in Dart.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
[0.1.7] - 2022-03-09 #
[0.1.6] - 2022-03-06 #
Fixed #
- Dont try to JSONify primitives on their own.
- Catch errors at the framework layer and dont crash the server)
- There's a lot of further improvement to be made here. See https://github.com/PyreStudios/steward/issues/16 for more information.
[0.1.3] - 2022-03-05 #
Fixed #
- Resolved an issue that was preventing the previous change from running. My bad.
[0.1.2] - 2022-03-05 #
Fixed #
- Resolved an issue that was preventing Futures of Futures (and so on) from serializing properly
[0.1.1] - 2022-02-10 #
Changed #
- Added support for passing in a host to the router, default to AnyIPv4
[0.0.8] - 2022-02-02 #
[0.0.5] - 2022-01-26 #
[0.0.4] - 2021-12-18 #
Added #
- Tests around HEAD, PUT, PATCH, and DELETE in the router
- You can now simply import
package:steward/steward.dart
to bring the entire steward suite into scope. This is the intended way to use steward. - Added tests for the new controller patterns.
- Added Injectable annotation and HTTP Verb annotations for controllers.
Changed #
- Description in Pubspec.yaml
- Router package now exports the request and response classes as well, since theyre coupled.
- Simplified the generated seed-code to use the simplified imports changes captured in #4
- Controllers function completely differently now. Controllers are mounted into the router which reflectively generates routes from member annotations. Additionally, controllers reflectively have DI items injected via the @Injectable annotation during this time as well.
- Migrated what little CLI we already have to Bosun to provide a better CLI experience.