spry 0.4.0
spry: ^0.4.0 copied to clipboard
Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.
0.4.0 #
Breaking changes #
package://spry/extension.dartchanged topackage://spry/extensions.dart.- Remove
Response.sendmethod. - Remove
Response.isBodyReadyproperty. - Remove
Responseencoding parameter. - Add write a
Stream<List<int>>to the response body methodResponse.stream. - Add write a
Stringto the response body methodResponse.text. - Add write a
List<int>to the response body methodResponse.raw. - Add read the request body as a
Stream<List<int>>methodRequest.stream(). - Add read the request body as a
StringmethodRequest.text(). - Request/Response global encoding in
Spryinstance.
0.1.4 #
- Fix eager close response not written to body.
0.1.3 #
- Store spry application in context.
- Export
ContextImpltopackage:spry/impl.dart. - The
MiddlewareNexttype is changed toNext, this will be removed in 0.2 release.
0.1.2 #
- request store in context
- response store in context
- ⚠️ SPRY_HTTP_REQUEST -> SPRY_HTTP_ORIGIN_REQUEST store origin store http request
0.1.1 #
- Add
redirectmethod toResponse. - Add
closemethod toResponse.
0.1.0 #
Publish a beta version.
0.0.12 #
Fix the HttpException is not exported.
0.0.11 #
Exception interception to prevent accidental program interruption.
0.0.10 #
- Add
SpryException
0.0.9 #
- Revert response headers not set.
0.0.8 #
- Fix response headers not set.
0.0.7 #
- Add
contextto response. - Context store add
containsmethod. - Context add map style getter and setter operations.
- Remove
response.json()method.
0.0.6 #
- Apply
contextto request.
0.0.5 #
- Remove
spry.constantsexported insprylibrary.
0.0.4 #
- Move
spryHttpRequesttospry.constantslibrary. - Add moddleware extension.
0.0.3 #
- Public
HttpRequeststore key.