Releases: phlex-ruby/phlex
1.2.2
This release fixed a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. CVE-2024-28199
1.1.1
This release fixed a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. CVE-2024-28199
1.0.1
This release fixed a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. CVE-2024-28199
1.9.0
- Improved documentation
- Fixed an issue with flushing to the buffer while capturing
- Added
<canvas>
element - Very minor performance improvements by using
block
instead ofblock_given?
where a block has already been captured Integer
objects are now handled by theformat_object
method, which you can override to customise how various objects are rendered- You can now use
render
withString
andMethod
objects
1.8.1
Fixed a bug that affects the use of render?
predicate to prevent rendering.
Summary: https://github.com/phlex-ruby/phlex/blob/main/CHANGELOG.md#181-2024-04-19
Full Changelog: 1.8.0...1.8.1
1.8.0
Hot on the heels of 1.7.0 since we unintentionally removed the ability to use Integers and Floats as attribute values. This release brings that back.
Summary: https://github.com/phlex-ruby/phlex/blob/main/CHANGELOG.md#180-2024-04-19
Full Changelog: 1.7.0...1.8.1
1.7.0
1.6.1
Under-the-hood performance improvements and improved element register for future phlex-compiler compatibility.
What's Changed
- Avoid redundant
@_context.target
calls by @joeldrapper in #532 - Improved element register by @joeldrapper in #531
Full Changelog: 1.6.0...1.6.1
1.6.0
Highlights
Significantly improved memory utilisation when capturing
This was causing issues for some users.
Added support for rendering enumerables of renderables
Instead of iterating over an enumerable of renderables, rendering each item, you can now just render the list.
Added support for rendering Procs
When you pass render
a Proc, it forwards it to yield_content
What's Changed
- Introduce global context by @joeldrapper in #526
__vanish__
should yield args by @joeldrapper in #527- Support rendering enumerables by @joeldrapper in #521
- Support rendering procs by @joeldrapper in #528
Full Changelog: 1.5.1...1.6.0
1.5.1
Quick bug fix release.