Recent Releases of https://github.com/dry-rb/dry-schema
https://github.com/dry-rb/dry-schema - v1.14.1
Fixed
- Syntax errors on 3.3.0 (@flash-gordon, see #488)
- Ruby
Published by dry-bot 10 months ago
https://github.com/dry-rb/dry-schema - v1.14.0
Added
- Better support for sets in
excluded_from?andincluded_in?predicates (via #480) (@flash-gordon)
Fixed
- Fix info extension for maybe macro (via #484) (@flash-gordon + @santiagodoldan)
- Missing message for :uri? predicate (via #477) (@timjnh)
- JSON schema output for
maybe(:array)(via #463) (@tomgi)
Changed
- Set minimum Ruby version to 3.1 (@flash-gordon)
KeyValidatorworks faster for large schemas (via #461) (@radarek)
- Ruby
Published by dry-bot about 1 year ago
https://github.com/dry-rb/dry-schema - v1.13.4
Added
- Default error message for
:uri?(issue #476 via #477) (@timjnh)
Fixed
- Fix json-schema type of objects nested under arrays (issue #400 fixed via #462) (@tomgi)
Changed
- i18n backend is no longer eager-loaded (via 85a9e0b) (@adam12)
- Ruby
Published by dry-bot over 1 year ago
https://github.com/dry-rb/dry-schema - v1.13.3
Fixed
- Fix struct extension for nested struct definitions (via #466) (@flash-gordon)
- Ruby
Published by dry-bot over 2 years ago
https://github.com/dry-rb/dry-schema - v1.13.2
Fixed
- Fix custom predicates setting (via #460) (@solnic)
- Ruby
Published by dry-bot over 2 years ago
https://github.com/dry-rb/dry-schema - v1.13.1
Fixed
- Support sum types of hashes (issue #446 fixed via #457) (@segiddins)
- Ruby
Published by dry-bot almost 3 years ago
https://github.com/dry-rb/dry-schema - v1.13.0
Fixed
- Change required metadata back to true to fix regressions (issue #438 fixed via 439) (@robhanlon22)
- Compatibility with dry-configurable 1.0.1 (@flash-gordon)
- Warnings about using pattern matching on Ruby 2.7 (issue #441 fixed via #442) (@r7kamura)
- Make message cache fully thread-safe (via #440) (@mensfeld)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.12.0
Changed
- This version depends on dry-core 1.0 and dry-configurable 1.0 (@flash-gordon)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.11.3
Fixed
- Fixed
array(sum_type)syntax which was a regression introduced in 1.10.0 (issue #436 fixed via #437) (@solnic)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.11.2
Fixed
- Setting up message backends with custom settings should work as before (see dry-rb/dry-validation#717 fixed via #435) (@solnic)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.11.1
Changed
- Depend on dry-configurable >= 0.16 - this was needed to play nice with Zeitwerk (@solnic)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.11.0
Changed
- Use zeitwerk for auto-loading which speeds up requires (via #427) (@flash-gordon + @solnic)
- Ruby
Published by dry-bot about 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.6
Fixed
- Fix issues with rule name when top_namespace and namespace passed (issue #304 fixed via #432) (@RudskikhIvan)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.5
Fixed
- Key maps no longer include duped keys when using inheritance (issues #428 #372 fixed via #429) (@solnic)
- Key validator and coercer no longer include duped keys when using parent schemas (via #430) (@solnic)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.4
Fixed
- Once again reverting zeitwerk related changes that were included in 1.10.3 by an accident :( (@solnic)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.3
Fixed
- Addressed regressions causing issues with handling sum types (see #419 and #423 fixed via #425) (@robhanlon22)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.2
Fixed
- Fix value coercion for composed schemas (via #421) (@robhanlon22)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.1
Changed
- Reverted zeitwerk-related changes that were included in 1.10.0 by an accident (@solnic)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.10.0
Added
- Allow nested
filledandvaluemacro usage (via #412) (@robhanlon22) - Support for more complex scenarios when composing schemas (via #420) (@robhanlon22)
Fixed
- Fix
ormessages for complex schemas (via #413) (@robhanlon22) - Using
filledwith a constrained constructor type works as expected (via #416) (@robhanlon22) - Fix types and key maps for composed schemas (via #415) (@robhanlon22)
Changed
- Freeze message hash (fixes #417 via #418) (@solnic)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.9.3
Added
- Support
anyOfcomposition in JSON schema output (@robhanlon22)
Fixed
- Allow composition of multiple ors (issue #307 fixed via #409) (@robhanlon22)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.9.2
Fixed
- Fix loose JSON schemas for nested hashes (via #401) (@tomdalling)
- Correct spelling error 'mininum' to 'minimum' in json-schema extension (via #404) (@svenanderzen)
Changed
- [performance] YAML message backend allocates less strings (via #399) (@casperisfine)
- Ruby
Published by dry-bot over 3 years ago
https://github.com/dry-rb/dry-schema - v1.9.1
Fixed
- Namespaced messages no longer crashes in certain scenarios (see dry-rb/dry-validation#692 fixed via #398) (@krekoten)
- Ruby
Published by dry-bot almost 4 years ago
https://github.com/dry-rb/dry-schema - v1.9.0
Added
- [EXPERIMENTAL]
json_schemaextension which allows you to convert a schema into a JSON schema (via #369) (@ianks)
Fixed
- Composing schemas no longer crashes in certain scenarios (issue #342 fixed via #366) (@vsuhachev)
- Fix info extension for typed arrays (issue #394 fixed via #397) (@CandyFet)
- Ruby
Published by dry-bot almost 4 years ago
https://github.com/dry-rb/dry-schema - v1.8.0
Changed
- [internal] Upgraded to new
settingAPI provided in dry-configurable 0.13.0 (@timriley in #356)
- Ruby
Published by dry-bot over 4 years ago
https://github.com/dry-rb/dry-schema - v1.7.1
Changed
- [internal] Use explicit
#to_hconversion of Dry::Configurable::Config, to ensure compatibility with upcoming dry-configurable 0.13.0 release (via #371) (@timriley)
- Ruby
Published by dry-bot over 4 years ago
https://github.com/dry-rb/dry-schema - v1.7.0
This release ships with a bunch of internal refactorings that should improve performance but if you see any unexpected behavior please do report issues.
Fixed
- Handle arrays of hashes where Array constructor coerces non-Hash input (#351 fixed via #354) (@ojab)
- Run outer schema processor steps before inner ones (issue #350 fixed via #361) (@ojab)
- Fix key validator false negatives on empty collections (see #363) (@Drenmi)
- Prevent error message YAML files from being parsed multiple times (issue #352 via #364) (@alassek)
- Using constructor types should work fine now ie
required(:foo).filled(Types::Params::Integer.constructor(&:succ))(issue #280 fixed via #365) (@solnic) - Handle non-Hash to Hash transformation in
before(:key_coercer)(issue #350 fixed via #362) (@ojab)
Changed
- [internal]
Dry::Schema::Pathclean up and performance improvements (via #358) (@ojab) - [internal] simplify and speed up handling of steps in nested schemas (via #360) (@ojab)
- Ruby
Published by dry-bot over 4 years ago
https://github.com/dry-rb/dry-schema - v1.6.2
Added
- A default error message for
respond_to?predicate (@rindek)
Fixed
- Using
respond_to?predicate in blocks works now (@rindek)
- Ruby
Published by dry-bot over 4 years ago
https://github.com/dry-rb/dry-schema - v1.6.1
Fixed
- Messages#[] handles meta/no meta cases more gracefully and has better interoperability with the I18n backend. This brings MessageCompiler#visit_unexpected_key up to parity with MessageCompiler#visit_predicate. Uses visit_predicate as basis for visit_unexpected_key. (@robhanlon22)
- Ruby
Published by dry-bot almost 5 years ago
https://github.com/dry-rb/dry-schema - v1.6.0
Fixed
- Using sum types with a i18n backend no longer crashes (issue #328 fixes via #331) (@tylerhunt)
Changed
-
Inferring predicates from class names is deprecated. It's very unlikely your code depends on it,
however, if it does, you'll get an exception with instructions. (@flash-gordon)If you see an exception and don't rely on inferring, just disable it with:
Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name falseOtherwise, enable it explicitly:
Dry::Schema::PredicateInferrer::Compiler.infer_predicate_by_class_name trueSee https://github.com/dry-rb/dry-schema/issues/335 for rationale.
- Ruby
Published by dry-bot almost 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Fixed stack error which was a regression introduced in 1.5.5 (issue #322 fixed via #323) (@flash-gordon)
- Ruby
Published by solnic about 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Key validation works with messages that have meta-data (issue #310 fixed via #313) (@tadeusz-niemiec)
- Using an external schema along with a key specified as a
:hashworks as expected (issue #296 fixed via #315) (@tadeusz-niemiec + @solnic) Result#error?(path)works correctly when the path points to an array item (issue #317 fixed via #318) (@solnic)
- Ruby
Published by solnic over 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Key validation works correctly with a non-nested maybe hashes (issue #311 fixed via #312) (@svobom57)
- Ruby
Published by solnic over 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Key validator works correctly with an array with maybe hash as its member (issue #308 fixed via #309) (@tadeusz-niemiec)
Changed
- [info extension] small performance improvement in the set visitor (see #305 for more details) (@esparta)
- Ruby
Published by solnic over 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
Result#{success?,failure?}work as expected when there are only key validation failures (issue #297 fixed via #298) (@adamransom)
Changed
- Using
fulloption no longer adds a space between the name of a key and the message in case of languages that have no spaces between words (ie Japanese) (issue #161 closed via #292 by @tadeusz-niemiec)
- Ruby
Published by solnic over 5 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Negated predicates support the logic operator API now (fixed via #276 by @solnic)
- Fixed circular require warning (issue #279 closed via #282 by @landongrindheim)
- Validating keys against an array with non-hash members no longer crashes (issue #283 fixed via #284 by @beechnut and issue #289 fixed via #288 by @tadeusz-niemiec)
- Ruby
Published by solnic over 5 years ago
https://github.com/dry-rb/dry-schema -
Added
- Support for complex sum types ie
value([:integer, array[:integer])(issue #214) (@solnic) - You can now set global config via
Dry::Schema.config(issue #205) (@robhanlon22) - Default error message for
:uuid_v4?predicate (isssue #230) (@solnic) - [experimental] you can compose schemas in the DSL using the standard logic operators (issue #231 closed via #245) (@solnic)
- Hash schema type can now be used with proper keys and predicates inferring. Constructor
and default types are explicitly not supported (@flash-gordon)UserType = Dry::Types['hash'].schema( name: 'string', email: 'string' ) Dry::Schema.define do require(:user).hash(UserType) end :structextension which allows using dry-struct classes as source for hash schemas. Note that output will still be presented as plain hashes, returning structs from schemas will require more work, it's planned for next versions (@flash-gordon):infoextension which adds #info method to your schemas which produces a simple hash providing information about keys and types (issue #36 closed via #262) (@solnic)
Fixed
maybemacro in JSON schemas no longer converts empty strings tonil.
This was a bug in dry-types but your code may rely on this behavior. If you still
require this behavior, we recommend using a custom type (see Advanced -> Custom types in the docs) (@flash-gordon)- YAML message backend no longer crashes when load_paths are empty (@robhanlon22)
- Callbacks can now be inherited from multiple parents (@skryukov)
- Callbacks work with nested schemas (issue #209) (@solnic)
- Custom type is respected when defining nested schemas (issue #174 closed via #263) (@solnic)
- Key map is properly inferred for maybe-hashes (issue #266 fixed via #269) (@solnic)
Changed
:i18nmessage backend delegates interpolation and caching toI18n(issue #211) (@robhanlon22)- Raise ArgumentError in DSL if parent DSL configs differ (@robhanlon22)
- (internal)
PredicateInferrerwas removed.Dry::Types::PredicateInferreris a drop-in replacement (@flash-gordon)
- Ruby
Published by solnic almost 6 years ago
https://github.com/dry-rb/dry-schema -
Added
- Pattern matching for
Dry::Schema::Resultobjects (@flash-gordon)
Try it with monads!schema = Dry::Schema::Params { required(:name).filled } case schema.('name' => 'John') in name: name # => 'John' end - Shortcut for nested schemas in
valueandmaybemacros (@waiting-for-dev)Dry::Schema.Params do required(:address).value(:hash) do required(:city).filled end end
Fixed
- Some keyword warnings that slipped into the previous release (@flash-gordon)
- Ruby
Published by flash-gordon about 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
I18nmessages backend supports procs as text properly (issue #208) (@robhanlon22)I18nmessages backend supports message meta-data (issue #210) (@robhanlon22)- Fixed keyword warnings from MRI 2.7.0 (@flash-gordon)
- Array with a member works correctly with
maybe(issue #206) (@solnic)
- Ruby
Published by solnic about 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Child schemas no longer mutate processing steps of their parent classes (@skryukov)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Added
-
Support for passing multiple parent schemas. They are inherited from left to right (@ianwhite)
Dry::Schema.define(parent: [parent_a, parent_b, parent_c]) do ... end -
Improved error messages about missing translations (@skryukov)
-
[experimental] before/after callbacks for schema steps (@skryukov)
Dry::Schema.Params do required(:name).value(:string) optional(:age).value(:integer) before(:value_coercer) do |result| result.to_h.compact end end
Fixed
- Added/fixed support for custom optional types (@flash-gordon)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Fixed regression where using
array?predicate within a block would crach (issue #186) (@skryukov)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Reject attempts to build a nested schema for array types built on
Dry::Types::Nominal(fixed #171) (@flash-gordon) - Current
I18n.localeis now properly handled when caching message templates (@flash-gordon) - Default processor uses strict types by default, which fixes various cases when
maybeis used with a constructor type (@flash-gordon) - Namespaced messages no longer causes a crash when used with nested schemas (fixed #176) (@solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Added
- Support for new predicates:
bytesize?,min_bytesize?andmax_bytesize?(@bmalinconico)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
Result#error?works correctly with nested hashes and arrays (@solnic):hintsextension no longer causes a crash where base messages are generated too (issue #165) (@solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Added
-
Automatic predicate inferring for constrained types! (@flash-gordon)
Types::Name = Types::String.constrained(min_size: 1) schema = Dry::Schema.define do required(:name).value(Types::Name) end schema.(name: '').errors.to_h # => { name: ["size cannot be less than 1"] } -
Support for redefining re-used schemas (issue #43) (@skryukov)
Fixed
- Type container is passed down to nested schemas (@flash-gordon)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Added
- Ability to configure your own type container (@Morozzzko)
Fixed
filledmacro no longer generates incorrect messages for arrays (issue #151) (@solnic)filledmacro works correctly with constructor types (@solnic)filledworks correctly with nested schemas (#149) (@solnic + @timriley)BigDecimaltype is correctly handled by predicate inference (isssue #158) (@solnic)- Works with latest
dry-logicwhich provides the newrespond_to?predicate (#153) (@flash-gordon) - Custom array constructors are no longer discredited by
arraymacro (@solnic)
Changed
- ⚠️ Fixes related to
filledrestored pre-1.1.0 behavior of:hintswhich are again included for empty strings that get turned intonilin params schemas (@solnic) filledno longer uses filter rules to handle empty strings inParams(@solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
⚠️ This release fixes behavior of filled macro and it may result in different hint messages in some cases.
Added
config.messages.default_localefor setting default locale (surprise, surprise) (solnic)Configexposespredicatessetting too (solnic)
Fixed
filledmacro behavior results inmust be fillederror messages when appropriate - see PR #141 for more information (issue #134) (solnic)- Filter rules no longer cause keys to be added to input (issue #142) (solnic)
- Filter rules work now with inheritance (solnic)
- Inherited type schemas used by coercion are now properly configured as
laxtype (solnic) Configis now finalized before instantiating schemas and properly dupped when its inherited (flash-gordon + solnic)Config#eql?works as expected (solnic)- Predicates are properly inferred from array with a member type spec, ie
array[:integer]results inarray? + each(:integer?)(issue #140) (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
Object#hashis no longer used to calculate cache keys due to a potential risk of having hash collisions (solnic)- Predicate arguments are used again for template cache keys (solnic)
I18nmessages backend no longer evaluates templates twice (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Caching message templates uses restricted set of known keys to calculate cache keys (issue #132) (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Applying
key?predicate no longer causes recursive calls toResult#errors(issue #130) (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Changed
- [BREAKING]
Result#to_hashwas removed (solnic)
Fixed
- Setting
:anyas the type spec no longer crashes (solnic) Result#error?handles paths to array elements correctly (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Changed
- Dependency on
dry-typeswas bumped to~> 1.0(solnic) - Dependency on
dry-logicwas bumped to~> 1.0(solnic) - Dependency on
dry-initializerwas bumped to~> 3.0(solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema -
Fixed
- Key map no longer crashes on unexpected input (issue #118) (solnic)
- Ruby
Published by solnic over 6 years ago
https://github.com/dry-rb/dry-schema - v0.5.0
Added
-
Support for arbitrary meta-data in messages, ie:
en: dry_schema: errors: filled?: text: "cannot be blank" code: 123Now your error hash will include
{ foo: [{ text: 'cannot be blank', code: 123 }] }(solnic + flash-gordon) -
Support for type specs in
arraymacro, ierequired(:tags).array(:integer)(solnic) -
Support for type specs in
eachmacro, ierequired(:tags).each(:integer)(solnic) -
Shortcut for defining an array with hash as its member, ie:
Dry::Schema.Params do required(:tags).array(:hash) do required(:name).filled(:string) end end
Fixed
- Inferring predicates doesn't crash when
Anytype is used (flash-gordon) - Inferring type specs when type is already set works correctly (solnic)
Changed
- [BREAKING]
:monadsextension wraps entire result objects inSuccessorFailure(flash-gordon) - When
:hintsare disabled, result AST will not include hint nodes (solnic)
- Ruby
Published by solnic almost 7 years ago
https://github.com/dry-rb/dry-schema - v0.4.0
Added
- Schemas are now compatible with procs via
#to_proc(issue #53) (solnic) - Support for configuring
top_namespacefor localized messages (solnic) - Support for configuring more than one load path for localized messages (solnic)
- Support for inferring predicates from arbitrary types (issue #101) (solnic)
Fixed
- Handling of messages for
optionalkeys without value rules works correctly (issue #87) (solnic) - Message structure for
optionalkeys with an array of hashes no longer duplicates keys (issue #89) (solnic) - Inferring
:date_time?predicate works correctly withDateTimetypes (issue #97) (solnic)
Changed
- [BREAKING] Updated to work with
dry-types 0.15.0(flash-gordon) - [BREAKING]
Result#{errors,messages,hints}returnsMessageSetobject now which is an enumerable coercible to a hash (solnic) - [BREAKING]
Messagesbackend classes no longer use global configuration (solnic) - [BREAKING] Passing a non-symbol key name in the DSL will raise
ArgumentError(issue #29) (solnic) - [BREAKING] Configuration for message backends is now nested under
messageskey with following settings:messages.backend- previouslymessagesmessages.load_paths- previouslymessages_pathmessages.namespace- previouslynamespacemessages.top_namespace- new setting see above
- [BREAKING]
Messages::I18nusesI18.store_translationsinstead of messing withI18n.load_path(solnic) - Schemas (
ParamsandJSON) have nicer inspect (solnic)
- Ruby
Published by solnic almost 7 years ago
https://github.com/dry-rb/dry-schema - v0.3.0
Fixed
- Configuration is properly inherited from a parent schema (skryukov)
Result#error?returnstruewhen a preceding key has errors (solnic)- Predicate inferrer no longer chokes on sum, constructor and enum types (solnic)
- Predicate inferrer infers
:bool?from boolean types (solnic) - Block-based definitions using
arrayworks correctly (solnic) - Using a disjunction with
arrayandhashproduces correct errors when element validation for array failed (solnic)
Changed
- Required ruby version was removed from gemspec for people who are stuck on MRI 2.3.x (solnic)
- Ruby
Published by solnic almost 7 years ago
https://github.com/dry-rb/dry-schema -
Added
Result#error?supports checking nested errors too ieresult.error?('user.address')(solnic)
Fixed
- Fix issues with templates and invalid tokens (issue #27) (solnic)
- Fix Ruby warnings (flash-gordon)
- Ruby
Published by solnic almost 7 years ago
https://github.com/dry-rb/dry-schema -
Added
- New
hashmacro which prependshash?type-check and allows nested schema definition (solnic) - New
arraymacro which works likeeachbut prependsarray?type-check (solnic)
Fixed
- Rule name translation works correctly with I18n (issue #52) (solnic)
- Rule name translation works correctly with namespaced messages (both I18n and plain YAML) (issue #57) (solnic)
- Error messages under namespaces are correctly resolved for overridden names (issue #53) (solnic)
- Namespaced error messages work correctly when schemas are reused within other schemas (issue #49) (solnic)
- Child schema can override inherited rules now (issue #66) (skryukov)
- Hints are correctly generated for disjunction that use type-check predicates (issue #24) (solnic)
- Hints are correctly generated for nested schemas (issue #26) (solnic)
filledmacro respects inferred type-check predicates and puts them in front (solnic)- Value coercion works correctly with re-usable nested schemas (issue #25) (solnic)
Changed
- [BREAKING] Messages are now configured under
dry_schemanamespace by default (issue #38) (solnic) - [BREAKING] Hints are now an optional feature provided by
:hintsextension, to load it doDry::Schema.load_extensions(:hints)(solnic) - [BREAKING] Hints generation was improved in general, output of
Result#messagesandResult#hintschanged in some cases (solnic) - [BREAKING]
schemamacro no longer prependshash?check, for this behavior use the newhashmacro (see #31) (solnic) - [BREAKING] Support for MRI < 2.4 was dropped (solnic)
- Ruby
Published by solnic almost 7 years ago
https://github.com/dry-rb/dry-schema - Initial release
- Ruby
Published by solnic almost 7 years ago