Releases: phlex-ruby/phlex
2.0.2
What's Changed
If you try to access context
before the component starts being rendered (e.g. from your initializer), it will now raise a helpful error message. This is non-breaking because it was always raising an error message. The previous error message was that it couldn’t find the method user_context
on nil
.
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
This non-breaking release fixes a regression that meant the render?
predicate was called before the context was set. This meant an error would be raised if you called out to a helper in the render?
method.
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
Many things [updated releases notes coming soon.]
New Contributors
- @alexanderadam made their first contribution in #722
- @ElMassimo made their first contribution in #737
- @bquorning made their first contribution in #742
- @AnthonySuper made their first contribution in #746
- @Xanderwot made their first contribution in #755
Full Changelog: 1.11.0...2.0.0
2.0.0.rc1
Merge branch 'main' of https://github.com/phlex-ruby/phlex
1.11.0
What's Changed
Phlex::Kit
is no longer experimental! 🎉- Improved the way
Phlex::Kit
loads constants when a components’ method is called prior to the constant being loaded. - Improved the deprecation warning when defining the
template
method. The warning now tells you which class to fix. - We now warn on double-render and the use of non standard
id
attributes
PRs
- Fix component kit autoload order bug by @joeldrapper in #729
- Warn on double render by @Vagab in #735
- warn on non-symbolic and non-lowercase :id by @Vagab in #741
Full Changelog: 1.10.3...1.11.0
1.10.3
You can now pass arguments to capture
, which will be yielded to the block.
Full Changelog: 1.10.2...1.10.3
1.10.2
Includes security fixes for GHSA-9p57-h987-4vgx
1.9.3
Includes security fixes for GHSA-9p57-h987-4vgx
1.9.2
Includes important security fixes. See GHSA-g7xq-xv8c-h98c
1.8.3
Includes important security fixes. See GHSA-g7xq-xv8c-h98c