Releases: Frameio/rolodex
Releases · Frameio/rolodex
v0.10.1
v0.10.0
v0.9.0
Changes
- Adds
Rolodex.Router
, a new DSL for defining which routes Rolodex should compile for documentation. This is a breaking change and replaces the filter concept from <= v0.8.1. With this change, Rolodex should work for Phoenix v1.4.7 and greater.
v0.8.1
v0.8.0
Changes
v0.8.0 includes some extensions to the schema definition and usage syntax.
- Introduces the concept of schema partials: merges the contents of one schema into the top-level of another. This is particularly useful for shared params used across multiple schemas, such as pagination parameters. (#61)
- Updates the
schema
macro DSL within request body and response definitions. Now, you can define a schema inline via the same DSL used within schema modules. This allows you to leverage partials within response or request body schemas, without needing a fully separate schema module to hold the parameters. (#62) - We now support passing a schema module ref into the
query_params
andpath_params
fields in a doc annotation. The top-level properties of the schema will be serialized into the parameters list when Rolodex compiles your docs.