spry 1.0.0 copy "spry: ^1.0.0" to clipboard
spry: ^1.0.0 copied to clipboard

retracted

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

Changelog #

1.0.0 (2023-03-17) #

⚠ BREAKING CHANGES #

  • Refactor spry core impl

Bug Fixes #

  • Deprecated constants (06f2e63)
  • Fix late context in request/response (f5a6a19)

Code Refactoring #

  • Refactor spry core impl (724ac31)

0.5.0 (2023-03-14) #

Features #

  • MiddlewareNext -> Next (80b3da7)
  • spry: Add redirect and close method in response (d6cb359)
  • spry: Add get spry app in context extension (08fc0d5)
  • spry: Export ContextImpl to package:spry/impl.dart. (ef14385)
  • spry: Request add stream and text method (048e989)
  • spry: request/response text encoding set in global (2e0eadb)
  • spry: Store spry application in context. (2ecbab3)

Bug Fixes #

  • spry: Fix eager close response not written to body (bff8774)
  • spry: Fix no tag to close response after redirection (250483d), closes #28
  • spry: Fix the HttpException is not exported. (5f8f90c)

0.4.1 #

Bug fixes #

  • Fix HttpException.badRequest status code is 400.

0.4.0 #

Breaking changes #

  1. package://spry/extension.dart changed to package://spry/extensions.dart.
  2. Remove Response.send method.
  3. Remove Response.isBodyReady property.
  4. Remove Response encoding parameter.
  5. Add write a Stream<List<int>> to the response body method Response.stream.
  6. Add write a String to the response body method Response.text.
  7. Add write a List<int> to the response body method Response.raw.
  8. Add read the request body as a Stream<List<int>> method Request.stream().
  9. Add read the request body as a String method Request.text().
  10. Request/Response global encoding in Spry instance.

0.3.0 #

Breaking changes #

request.raw getter changed to request.raw()

0.2.0 #

Breaking changes #

request.body is changed to request.raw.

0.1.4 #

  1. Fix eager close response not written to body.

0.1.3 #

  1. Store spry application in context.
  2. Export ContextImpl to package:spry/impl.dart.
  3. The MiddlewareNext type is changed to Next, this will be removed in 0.2 release.

0.1.2 #

  1. request store in context
  2. response store in context
  3. ⚠️ SPRY_HTTP_REQUEST -> SPRY_HTTP_ORIGIN_REQUEST store origin store http request

0.1.1 #

  • Add redirect method to Response.
  • Add close method to Response.

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 #

  1. Add context to response.
  2. Context store add contains method.
  3. Context add map style getter and setter operations.
  4. Remove response.json() method.

0.0.6 #

  • Apply context to request.

0.0.5 #

  • Remove spry.constants exported in spry library.

0.0.4 #

  • Move spryHttpRequest to spry.constants library.
  • Add moddleware extension.

0.0.3 #

  • Public HttpRequest store key.
10
likes
0
pub points
54%
popularity

Publisher

verified publisherodroe.dev

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on spry