Skip to content

Releases: dry-rb/dry-rails

v0.7.0

24 Dec 11:11
v0.7.0
Compare
Choose a tag to compare

Changed

  • Bump dry-schema to >= 0.13 (@solnic)
  • Bump dry-validation to >= 0.10 (@solnic)
  • Bump dry-system to ~> 1.0 (@solnic)

Compare v0.6.0...v0.7.0

v0.6.0

20 Oct 15:39
v0.6.0
Compare
Choose a tag to compare

Changed

  • Upgrade to zeitwerkified dry-rb deps (issue #55 fixed via #56) (@solnic)

Compare v0.5.0...v0.6.0

v0.5.0

11 Feb 17:19
v0.5.0
10cb204
Compare
Choose a tag to compare

Changed

  • dry-system dependency was bumped to >= 0.23 (via #52) (@solnic)

Compare v0.4.0...v0.5.0

v0.4.0

23 Dec 09:24
v0.4.0
Compare
Choose a tag to compare

This is a big update - please also read dry-system CHANGELOG versions 0.20 and 0.21.

Added

  • It's now possible to configure container constant name via config.constainer_const_name (issue #21 closed via #41) (@diegotoral)

Fixed

  • config.auto_inject_constant is now cleared during code reloading (see #40 for more info) (@diegotoral)

Changed

Compare v0.3.0...v0.4.0

v0.2.0

21 Jul 09:38
v0.2.0
c44e908
Compare
Choose a tag to compare

Added

  • You can now configure auto_inject constant name via config.auto_inject_constant - previously it was hardcoded as "Import", now it's configured as "Deps" by default (issue #18 closed via #29) (@diegotoral)

Fixed

  • Resolving Container constant looks it up only within the application namespace (see #22 for more information) (@jandudulski)
  • [safe_params] defining multiple schemas works as expected (issue #23 fixed via 24) (@gotar)

Changed

  • The :env dry-system plugin is now enabled by default (fixes #28 via #30) (@solnic)

Compare v0.1.0...v0.2.0

v0.1.0

30 Mar 08:58
v0.1.0
af17463
Compare
Choose a tag to compare

This is based on dry-system-rails that dry-rails replaces.

Added

  • config.features setting which is an array with feature identifiers that you want the railtie to boot (@solnic)
  • :application_contract feature which defines ApplicationContract within the application namespace and configured to work with I18n (@solnic)
  • :safe_params feature which extends ApplicationController with schema DSL and exposes safe_params controller helper (@solnic)
  • :controller_helpers feature which adds ApplicationController#{resolve,container} shortcuts (@solnic)

Learn more