Skip to content

Upgrading dry-types 0.8 to 0.9

Unknown0.8.1 → 0.9.4

Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Ruby requirement changed in 0.9.0: >= 0 → >= 2.1.0.

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • removed: module Hashify
  • removed: static method Hashify.[](_)
  • added: const Types.NON_NIL
  • removed: class RepeatedAttributeError < ArgumentError
  • removed: class SchemaKeyError < KeyError
  • removed: class Struct
  • removed: class StructError < TypeError
  • removed: class Undefined < Object.new
  • removed: class Value < Struct
  • removed: const Coercions.EMPTY_STRING
  • removed: constructor RepeatedAttributeError(_)
  • removed: constructor SchemaKeyError(_)
  • removed: constructor Struct(_)
  • removed: method ConstraintError.failure_message()
  • removed: method ConstraintError.input()
  • removed: method Decorator.maybe?()
  • removed: method Definition.maybe?()
  • removed: method Struct.[](_)
  • removed: method Struct.to_h()
  • removed: method Struct.to_hash()
  • removed: module Result
  • removed: property Options.meta: reader
  • removed: static method Value.new(*)
  • changed: constructor ConstraintError(_) → constructor ConstraintError(_, _)
  • changed: method Definition.failure(*) → method Definition.failure(_, _)
  • changed: method Definition.success(*) → method Definition.success(_)
  • added: class MissingKeyError < SchemaKeyError
  • added: class Result
  • added: class UnknownKeysError < SchemaKeyError
  • added: constructor MissingKeyError(_)
  • added: constructor Result(_)
  • added: constructor UnknownKeysError(*)
  • added: method Constrained.constrained?()
  • added: method ConstraintError.to_s()
  • added: method Decorator.constrained?()
  • added: method Definition.constrained?()
  • added: method Hash.permissive(_)
  • added: method Hash.strict_with_defaults(_)
  • added: method Sum.constrained?()
  • added: property ConstraintError.input: reader
  • added: property Result.input: reader
  • added: method Member.valid?(_)
  • removed: method Strict.call(_, _ = …)
  • removed: method Symbolized.call(_, _ = …)
  • changed: class Strict < Schema → class Strict < Permissive
  • changed: constructor Schema(_, _ = …) → constructor Schema(_, _)
  • changed: method Schema.call(_, _ = …) → method Schema.call(_)
  • changed: static method Weak.new(_, _ = …) → static method Weak.new(_, _)
  • added: class Permissive < Schema
  • added: class StrictWithDefaults < Strict
  • added: method MaybeTypes.resolve_missing_value(_, _, _)
  • added: module MaybeTypes
  • changed: class Failure < Struct.new(:input, :error) → class Failure < Result
  • changed: class Success < Struct.new(:input) → class Success < Result
  • added: constructor Failure(_, _)
  • added: method Failure.to_s()
  • added: property Failure.error: reader
  • removed: method ClassInterface.attribute(_, _)
  • removed: method ClassInterface.attributes(_)
  • removed: method ClassInterface.call(_ = …)
  • removed: method ClassInterface.constructor_type(_ = …)
  • removed: method ClassInterface.default?()
  • removed: method ClassInterface.default_attributes()
  • removed: method ClassInterface.maybe?()
  • removed: method ClassInterface.new(_ = …)
  • removed: method ClassInterface.schema()
  • removed: method ClassInterface.try(_)
  • removed: method ClassInterface.valid?(_)
  • removed: module ClassInterface
  • removed: protected property ClassInterface.constructor: accessor
  • removed: protected property ClassInterface.constructor_type: writer
  • removed: protected property ClassInterface.equalizer: accessor
  • added: method Constrained.call(_)
  • added: method Constrained.constrained?()