bloodless 0.3.1 copy "bloodless: ^0.3.1" to clipboard
bloodless: ^0.3.1 copied to clipboard

Dart 1 only

A metadata driven microframework for Dart

0.3.0 #

  • Added Route.matchSubPaths property (see issue #5)
  • Added ErrorHandler.urlPattern property (check documentation for details)
  • Added request attributes (check documentation for details)
  • Added support for dependency injection (check documentation for details)

0.2.1 #

  • Added support for basic authentication (thanks Y12STUDIO for the contribution)
    • Added parseAuthorizationHeader() method.
    • Added authenticateBasic() method.

0.2.0 #

  • BREAKING CHANGES (check documentation for more details):
    • VirtualDirectory is now configured with jailRoot = true and followLinks = false. You can change these flags through start() method.
    • For security and perfomance reasons, the parse of request body is now delayed as much as possible, so interceptors will receive null if they call request.body (although request.bodyType is still filled). If your interceptor need to inspect the request body, you can set Interceptor.parseRequestBody = true.
    • Multipart requests (file uploads) are now refused by default. If your method need to receive multipart requests, you can set Route.allowMultipartRequest = true.
    • All arguments of chain.interrupt() method are now optional.
  • Bug fixes in abort(), redirect() and chain.interrupt() methods. (see issue #3).

0.1.2 #

  • Fix: bloodless crashes on Dart 1.3.

0.1.1 #

  • Fix: malformed requests can cause a crash

0.1.0 #

  • Bug fixes
  • BREAKING CHANGE: chain.next() now receives a callback, instead of returning a Future
  • Added new API for unit tests
  • Updated documentation

0.0.4 #

  • Fix: chain.interrupt() is not closing the HttpResponse stream

0.0.3 #

  • Added a grinder task to properly copy sever's files to the build folder
  • Updated documentation with a better approach for building projects

0.0.2 #

  • Small fix to VirtualDirectory configuration

0.0.1 #

  • First release
0
likes
25
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A metadata driven microframework for Dart

Homepage

License

MIT (license)

Dependencies

crypto, di, grinder, http_server, route_hierarchical

More

Packages that depend on bloodless