athena v0.10.0 Release Notes
Release Date: 2020-07-06 // almost 3 years ago-
๐ New Dependencies
โฌ๏ธ Dependency Upgrades
โ Additions
- โ Add a startup log message
- Includes the host and port the server will be listening on
- โ Add a
POST
endpoint example to theGetting Started
documentation - โ Integrates Athena::Serializer into
Athena
- Supports enhanced (de)serialization features while retaining backwards compatibility with
JSON::Serializable
- See the API Docs for more information
- Supports enhanced (de)serialization features while retaining backwards compatibility with
- โ Adds support for Link, Unlink, and Custom
HTTP
verbs - โ Adds ART::View annotation to configures how the endpoint should be rendered, such as:
- The
HTTP::Status
response code - The serialization groups to use for this route as part of the Group serializer exclusion strategy
- If
nil
values should be serialized or not
- The
๐ Changes
- ๐ Renames
ART::Route
toART::Action
andART::Action
toART::ActionBase
- (breaking-change) Refactors the previous
ART::View
type to be an implementation detail- The controller action result within
ART::Events::View
is now accessed via.action_result
instead of.view.data
- The controller action result within
- โ Add a startup log message