Releases: sebastienros/fluid
Releases · sebastienros/fluid
2.24.0
What's Changed
- Fix caching conflicts by @sebastienros in #786
- Improve MemberExpression performance by @lahma in #788
- Avoid cost of star member access lookup if not registered by @lahma in #789
- Reduce value type boxing in interop calls by @lahma in #787
- Bump Scriban from 6.2.0 to 6.2.1 in the all-dependencies group by @dependabot in #784
- Mark ITemplateCache as experimental by @sebastienros in #790
Full Changelog: v2.23.0...v2.24.0
2.23.0
What's Changed
- Avoid creating empty ArrayValue instances by @lahma in #781
- Avoid re-registration if member not found in UnsafeMemberAccessStrategy by @lahma in #783
- Use single dictionary in DefaultMemberAccessStrategy by @lahma in #782
- Cache more than one parsed template for include statements by @sebastienros in #785
Full Changelog: v2.22.0...v2.23.0
2.22.0
What's Changed
- Fix Handlebars benchmarks by @sebastienros in #775
- Add images in benchmarks by @sebastienros in #774
- Bump the all-dependencies group with 3 updates by @dependabot in #776
- Add HMAC Filters by @NathanielAB in #753
- Add
find
,find_index
,has
andreject
filters by @sebastienros in #780
New Contributors
- @NathanielAB made their first contribution in #753
Full Changelog: v2.21.0...v2.22.0
2.21.0
What's Changed
- Fix System.Text.Json versions by @sebastienros in #771
Full Changelog: v2.20.0...v2.21.0
2.20.0
What's Changed
- Fix
StringValue.Create
encode overload. by @gumbarros in #750 - ParentesesAfterFunctionName -> ParenthesesAfterFunctionName by @hishamco in #755
- Remove redundant assignment in LogTests by @hishamco in #757
- Simplify switch cases in MiscFilters by @hishamco in #758
- Obsolete ParentesesAfterFunctionName by @hishamco in #756
- Refactor
Render
/RenderAsync
extension methods by @sebastienros in #767 - Use System.Text.Json casing logic by @sebastienros in #766
- Make liquid tag optional to improve parsing performance by @sebastienros in #770
Behavioral changes
- The
{% liquid %}
is not parsed by default anymore. You can still use it by setting theFluidParserOptions.AllowLiquidTag
totrue
- The
MemberNameStrategy
implementation have changed to use the ones fromSystem.Text.Json
providing better performance and logic. This could break templates that use snake case. To revert to the previous behavior set the AppContext switchFluid.UseLegacyMemberNameStrategies
totrue
. See https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-appcontext for how to set it.
Full Changelog: v2.19.0...v2.20.0
v2.19.0
What's Changed
- Fix race condition with include/render/from statements by @sebastienros in #745
- Bump the all-dependencies group with 4 updates by @dependabot in #744
Full Changelog: v2.18.0...v2.19.0
v2.18.0
What's Changed
- Add custom statements visitor support by @sebastienros in #740
- Bump Parlot from 1.3.0 to 1.3.1 in the all-dependencies group by @dependabot in #741
- Apply culture in casing formatters by @sebastienros in #743
Full Changelog: v2.17.0...v2.18.0
v2.17.0
What's Changed
- Add JavaScriptEncoder option by @sebastienros in #739
- Bump the all-dependencies group across 1 directory with 5 updates by @dependabot in #735
Full Changelog: v2.16.0...v2.17.0
v2.16.0
What's Changed
- Assigned delegate by @deanebarker in #728
- Fix end tag detection in liquid tag by @sebastienros in #733
Full Changelog: v2.15.0...v2.16.0
v2.15.0
What's Changed
- Implement parentheses support by @sebastienros in #727
- Bump the all-dependencies group with 4 updates by @dependabot in #726
Full Changelog: v2.14.0...v2.15.0