Praxis v0.15.0 Release Notes
-
- ๐ Fixed handling of no app or design file groups defined in application layout.
- โ Handled and added warning message for doc generation task when no routing block is defined for an action.
- Improved
link
method inMediaType
attribute definition to support inheriting the type from the:using
option if if that specifies an attribute. For example:link :posts, using: :posts_summary
would use the type of the:posts_summary
attribute. - ๐ Fixed generated
Links
accessors to properly load the returned value. - โ Added
MediaTypeIdentifier
class to parse and manipulate Content-Type headers and Praxis::MediaType identifiers. - ๐ Created a registry for media type handlers that parse and generate document bodies with formats other than JSON.
- Given a structured-data response, Praxis will convert it to JSON, XML or other formats based on the handler indicated by its Content-Type.
- Given a request, Praxis will use the handler indicated by its Content-Type header to parse the body into structured data.
- ๐ Fixed bug allowing "praxis new" to work when Praxis is installed as a system (non-bundled) gem.
- ๐ Fixed doc generation code for custom types
- Hardened Multipart type loading