A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/dry-rb/dry-core

https://github.com/dry-rb/dry-core - v1.1.0

Changed

  • Minimal Ruby version is 3.1 (@flash-gordon)
  • Fixed clash with dry-logger (see #80) (@flash-gordon)

Compare v1.0.1...v1.1.0

- Ruby
Published by dry-bot about 1 year ago

https://github.com/dry-rb/dry-core - v1.0.2

Fixed

  • [equalizer] Add Dry::Core.Equalizer method to make include Dry::Core.Equalizer(...) work as documented (via #79) (@timriley)

    Users of Equalizer should now only need to require "dry/core" first.

Changed

  • Minimal Ruby version is 3.0

Compare v1.0.0...v1.0.1

- Ruby
Published by dry-bot over 1 year ago

https://github.com/dry-rb/dry-core - v1.0.1

Fixed

  • [equalizer] Add Dry::Core.Equalizer method to make include Dry::Core.Equalizer(...) work as documented (via #79) (@timriley)

    Users of Equalizer should now only need to require "dry/core" first.

Compare v1.0.0...v1.0.1

- Ruby
Published by dry-bot over 2 years ago

https://github.com/dry-rb/dry-core - v1.0.0

Added

  • Import dry-container as Dry::Core::Container (via #77) (@solnic)

Compare v0.9.1...v1.0.0

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-core - v0.9.1

Changed

  • Correct missing constant for IDENTITY (issue #75 fixed via #76) (@poloka)

Compare v0.9.0...v0.9.1

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-core - v0.9.0

Changed

  • dry-core now uses zeitwerk for autoloading (@solnic)

Compare v0.8.1...v0.9.0

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-core - v0.8.1

Fixed

  • [memoizable] plays better with inheritance.
    There were cases when cached values from base claesses were used, see #70 (@flash-gordon)

Compare v0.8.0...v0.8.1

- Ruby
Published by dry-bot over 3 years ago

https://github.com/dry-rb/dry-core - v0.8.0

Added

  • Dry::Core::BasicObject ported from hanami-utils (@jodosha)

Changed

  • [BREAKING] [descendants tracker] switch to using Class#subclasses on Ruby 3.1+.
    This changes the order of returned subclasses (immediate subclasses now go first) (@flash-gordon)

Compare v0.7.1...v0.8.0

- Ruby
Published by solnic over 3 years ago

https://github.com/dry-rb/dry-core - v0.7.1

Fixed

  • [memoizable] memoizable correctly handles cases where a method
    has unnamed params (e.g. happens when the new ... syntax is used) (@flash-gordon)

Compare v0.7.0...v0.7.1

- Ruby
Published by dry-bot over 4 years ago

https://github.com/dry-rb/dry-core - v0.7.0

Fixed

  • [memoizable] warnings when using keyword arguments (@flash-gordon)
  • [deprecations] warnings show more relevant information about caller by default (@timriley)

Changed

  • Minimal Ruby version is 2.6
  • [memoizable] memoization of block-accepting methods is deprecated (@flash-gordon)

Compare v0.6.0...v0.7.0

- Ruby
Published by dry-bot over 4 years ago

https://github.com/dry-rb/dry-core - v0.6.0

Added

  • [memoizable] support for BasicObject (@oleander)
  • [memoizable] support for methods that accept blocks (@oleander)
  • [deprecations] allow printing frame info on warn when setting up Deprecation module (via #52) (@waiting-for-dev)

Fixed

  • [memoizable] works with MRI 2.7+ keyword arguments now (@oleander)

Compare v0.5.0...v0.6.0

- Ruby
Published by dry-bot over 4 years ago

https://github.com/dry-rb/dry-core -

0.5.0 2012-12-12

Added

  • dry-equalizer has been imported into dry-core as Dry::Core::Equalizer but the interface remains the same, which is include Dry.Equalizer(...) - we'll be porting all other gems that depend on dry-equalizer to the latest dry-core with equalizer included gradually. Eventually dry-equalizer usage will be gone completely in rom-rb/dry-rb/hanami projects (@solnic)

Compare v0.4.10...v0.5.0

- Ruby
Published by flash-gordon about 5 years ago

https://github.com/dry-rb/dry-core -

0.4.10 2020-11-19

Added

  • ClassAttributes.defines gets a new option for coercing values (tallica)
class Builder
  extend Dry::Core::ClassAttributes

  defines :nodes, coerce: -> value { Integer(value) }
end

:coerce works with any callable as well as types from dry-types

defines :nodes, coerce: Dry::Types['coercible.integer']
  • Constants::IDENTITY which is the identity function (flash-gordon)

Compare v0.4.9...v0.4.10

- Ruby
Published by flash-gordon over 5 years ago

https://github.com/dry-rb/dry-core -

v0.4.9

Added

  • Undefined.coalesce takes a variable number of arguments and returns the first non-Undefined value (flash-gordon)
    Undefined.coalesce(Undefined, Undefined, :foo) # => :foo
    

Fixed

  • Undefined.{dup,clone} returns Undefined back, Undefined is a singleton (flash-gordon)

Compare v0.4.8...v0.4.9

- Ruby
Published by flash-gordon over 6 years ago

https://github.com/dry-rb/dry-core -

v0.4.8 2019-06-23

Added

  • Undefined.map for mapping non-undefined values (flash-gordon):
something = 1
Undefined.map(something) { |v| v + 1 } # => 2
something = Undefined
Undefined.map(something) { |v| v + 1 } # => Undefined

Compare v0.4.7...v0.4.8

- Ruby
Published by flash-gordon over 6 years ago

https://github.com/dry-rb/dry-core -

v0.4.7 2018-06-25

Fixed

  • Fix default logger for deprecations, it now uses $stderr by default, as it should (flash-gordon)

Compare v0.4.6...v0.4.7

- Ruby
Published by flash-gordon over 7 years ago

https://github.com/dry-rb/dry-core -

v0.4.6 2018-05-15

Changed

  • Trigger constant autoloading in the class builder (radar)

Compare v0.4.5...v0.4.6

- Ruby
Published by flash-gordon over 7 years ago

https://github.com/dry-rb/dry-core - v0.4.5

v0.4.5 2018-03-14

Added

  • Dry::Core::Memoizable, which provides a memoize macro for memoizing results of instance methods (timriley)

Compare v0.4.5...v0.4.5

- Ruby
Published by timriley almost 8 years ago

https://github.com/dry-rb/dry-core -

v0.4.4 2018-02-10

Added

  • deprecate_constant overrides Module#deprecate_constant and issues a labeled message on accessing a deprecated constant (flash-gordon)
  • Undefined.default which accepts two arguments and returns the first if it's not Undefined; otherwise, returns the second one or yields a block (flash-gordon)

Compare v0.4.3...v0.4.4

- Ruby
Published by flash-gordon about 8 years ago

https://github.com/dry-rb/dry-core -

v0.4.3 2018-02-03

Added

  • Dry::Core::DescendantsTracker which is a maintained version of the descendants_tracker gem (flash-gordon)

Compare v0.4.2...v0.4.3

- Ruby
Published by flash-gordon about 8 years ago

https://github.com/dry-rb/dry-core -

v0.4.2 2017-12-16

Fixed

  • Class attributes now support private setters/getters (flash-gordon)

Compare v0.4.1...v0.4.2

- Ruby
Published by flash-gordon about 8 years ago

https://github.com/dry-rb/dry-core -

v0.4.1 2017-11-04

Changed

  • Improved error message on invalid attribute value (GustavoCaso)

Compare v0.4.0...v0.4.1

- Ruby
Published by flash-gordon over 8 years ago

https://github.com/dry-rb/dry-core -

Added

  • Added the :type option to class attributes, you can now restrict attribute values with a type. You can either use plain ruby types (Integer, String, etc) or dry-types (GustavoCaso)

      class Foo
        extend Dry::Core::ClassAttributes
    
        defines :ruby_attr, type: Integer
        defines :dry_attr, type: Dry::Types['strict.int']
      end
    

Compare v0.3.4...v0.4.0

- Ruby
Published by flash-gordon over 8 years ago

https://github.com/dry-rb/dry-core -

v0.3.4 2017-09-29

Fixed

  • Deprecations output is set to $stderr by default now (solnic)

Compare v0.3.3...v0.3.4

- Ruby
Published by flash-gordon over 8 years ago

https://github.com/dry-rb/dry-core -

Fixed

  • The Deprecations module now shows the right caller line (flash-gordon)

Compare v0.3.2...v0.3.3

- Ruby
Published by flash-gordon over 8 years ago

https://github.com/dry-rb/dry-core -

v0.3.2 2017-08-31

Added

  • Accept an existing logger object in Dry::Core::Deprecations.set_logger! (flash-gordon)

Compare v0.3.1...v0.3.2

- Ruby
Published by flash-gordon over 8 years ago

https://github.com/dry-rb/dry-core -

Added

  • Support for building classes within an existing namespace (flash-gordon)

Compare v0.3.0...v0.3.1

- Ruby
Published by flash-gordon almost 9 years ago

https://github.com/dry-rb/dry-core -

Changed

  • Class attributes are initialized before running the inherited hook. It's slightly more convenient behavior and it's very unlikely anyone will be affected by this, but technically this is a breaking change (flash-gordon)

Compare v0.2.4...v0.3.0

- Ruby
Published by flash-gordon almost 9 years ago