- Adding additional crash protection
- Testing and updating compatibility with dart 3.0.0
- Readme edit
- Small breaking change - when body parsing fails Alfred now throws a BodyParserException which can be caught and handled manually. This may affect you if you have a try catch block but expect it to not catch (which lets face it is unlikely!)
- Just a bump to update the readme
- Moving to dart v2.17.x (thanks @NathanDraco22)
- Fixing bug which prevent correct route parsing (thanks @jodinathan)
- Adding modular routes with path prefixes and RouteGroups (thanks @scroff)
- Removing outdated dependencies and moving to new linter (thansk @aadarshadhakalg)
- Fixed a bug on dart 2.18 where regex typed routes wouldn't parse correctly.
- Updating the CORS headers to also allow Access-Control-Expose-Headers thanks @Donk3ys
- Fixing a directory traversal vulnerability. Highly recommended upgrade to this version. Thanks @d-markey & @seceba for this one.
- Adding native support for SSL (thanks @BrunoMoraes-Z and @d-markey for QA)
- Fixing crash when throwing an AlfredException after already setting a header
- Fixing route handling if you have a parameter on the route. ie /:id
- Fixing bug that would try and listen to the stream from the body parser twice. Alfred now caches the body in the request store;
- Updating description to be easier to be found by pub.dev search
- Been a while since the last published update... lots of little changes but very few bugs. However thanks to @d-markey the routing logic has been completely rewritten though non api breaking, allowing far more complex matching of route parameters.
- Fixed a bug that would overwrite the file content type if you manually specified it
- Thanks to @d-markey for some other efficiency improvements as well
- Fixing incorrect mime type recognition
- Updating readme with deployment info
- Removing a warning about returning a response with no content - it wasn't very reliable and also not that helpful
- It helps if you actually build the docs first
- Adding file upload docs
- Adding Alfred.bodyAsJsonMap and Alfred.bodyAsJsonList functions
- Fixing cors plugin to handle options call correctly
- Adding printRoutes function
- Fix issue with serialized objects that wasn't caught in tests
- Adding support for json serialized objects
- Updating readme
- Adding support for multithreading / isolates
- Improve directory handling
- Better 404 handling
- Changed type handler functions signature
- Uri decodes route params
- Adding custom logging
- Releasing API update for general use
- Better handling when there is no appropriate type handler
- Removed dependency on UUID
- Improved logic for storage plugin
- Added web socket support
- Clear support for nested routes
- Preventing a full crash in some circumstances
- Support for Single Page Apps
- Added support for "plugins" to extend the http request object and store data
- Added ability to listen to all closed responses (great for logging or cleaning up plugin logic)
- Added req.setStoreValue and req.getStoreValue methods to persist data across middleware - WARNING - this API may change before 0.1.0 lands
- Enabled strong mode (thanks @felixblaschke) Also a big thanks for all the other code analysis you have performed and advice given
- Cleaned up some functions to simplify them (thanks @ykmnkmi)
- Bug fix for return types
- Some fixes for CORS & readme example
- Readme correction for static routes
- Huge update,
- BREAKING: removed static routes, you now return a directory and specify a wildcard in the routes
- BREAKING: renamed RequestMethod to just Method
- You now have wildcards in all parts of the routes
- There is now an optional CORS middleware
- Support for PATCH and OPTIONS methods added
- You can now create custom type handlers or override the default ones
- Bug fix: Middleware now works on all methods
- TODO: document some of the new stuff!
- Removing unused dependency
- Fixing repo link in dart pub
- Fixing route params
- Another big README.md update, fixing lots of examples
- Fixing bug for routes that are only "/"
- Readme corrections
- Initial version