- Bump dry-schema to
>= 0.13
(@solnic) - Bump dry-validation to
>= 0.10
(@solnic) - Bump dry-system to
~> 1.0
(@solnic)
- Upgrade to zeitwerkified dry-rb deps (issue #55 fixed via #56) (@solnic)
- dry-system dependency was bumped to >= 0.23 (via #52) (@solnic)
This is a big update - please also read dry-system CHANGELOG versions 0.20 and 0.21.
- It's now possible to configure container constant name via
config.constainer_const_name
(issue #21 closed via #41) (@diegotoral)
config.auto_inject_constant
is now cleared during code reloading (see #40 for more info) (@diegotoral)
- Updated to work with dry-system 0.21 (via #48 and #50) (@zlw + @solnic)
- dry-system dependency was bumped to >= 0.23 (via #52) (@solnic)
- Use dry-system 0.18.0 and configure new
bootable_dirs
setting appropriately (@timriley in #38)
- Controller features now support
ActionControll::API
too (issue #35 closed via #36) (@rinaldifonseca)
- Fix dry-system dependency to 0.17.0, to avoid incompatibilities with 0.18.0 (@timriley)
- 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)
- 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)
- The
:env
dry-system plugin is now enabled by default (fixes #28 via #30) (@solnic)
This is based on dry-system-rails that dry-rails replaces.
config.features
setting which is an array with feature identifiers that you want the railtie to boot (@solnic):application_contract
feature which definesApplicationContract
within the application namespace and configured to work withI18n
(@solnic):safe_params
feature which extendsApplicationController
withschema
DSL and exposessafe_params
controller helper (@solnic):controller_helpers
feature which addsApplicationController#{resolve,container}
shortcuts (@solnic)