Releases: kgiszczak/shale
Releases · kgiszczak/shale
v1.2.1
v1.2.0
Added
- [kgiszczak] Allow to pass adapter specific options
- [Kamil Skrzypiński] Allow to pass
additional_properties
option to JSON Schema generator - [Kamil Skrzypiński] Allow to pass
description
option to JSON Schema generator - [Adam Tanner] Attribute type aliases
- [Glauco Custódio] Add docs for overriding attribute methods
- [kgiszczak] Support for symbol type aliases in attribute mappings
Fixed
- [Graham Rogers] Fix Mapper.attribute's type param documentation
v1.1.0
v1.0.0
Added
- Support for Ruby 3.2
- Support for delegating fields to nested attributes
- JSON and XML schema namespace mapping support
- Allow to set render_nil defaults
Changed
- Use
ShaleError
as a base class for exceptions - Use model instead of mapper names for schema types
Fixed
- Fix compilation error for bundled JSON schemas
- Fix type inference for XML schema when default namespace is used
- Fix XML schema handling with a period in the element name
v0.9.0
v0.8.0
v0.7.1
v0.7.0
Added
only: []
andexcept: []
options that allow to controll what attributes are rendered/parsedrender_nil: true
option that allows to render nil values- Allow to pass a context object to extractor/generator methods
Changed
- Pass whole document to methods for JSON/YAML/TOML so its behavior is consistent with XML mapping
- Convert splat arguments to keyword arguments
- RSpec: enable random spec execution and warnings