Releases: kgiszczak/shale
Releases · kgiszczak/shale
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
v0.6.0
v0.5.0
v0.4.0
Added
- Allow to add title to JSON Schema
- Map Shale::Type::Value to "anyType" XML Schema type
- Map Shale::Type::Value to "any" JSON Schema type
- Allow to generate Shale model from JSON Schema
Changed
- Performance improvements
- Reformat README a little bit and fix typos
Fixed
- Fix stack overflow caused by circular dependency when generating JSON and XML schemas