v0.7.0-beta1
Pre-release
Pre-release
Breaking Changes
- Introduced
Environment
concept to allow multiple liquid instances with different settings, tags and filters. This was partially possible withTemplateFactory
previously. TemplateFactory
has been removed and replaced byEnvironmentFactory
, some methods (newParseContext
,newRenderContext
,parseString
,parseTemplate
) have been moved toEnvironment
.- Renamed
environment
andstaticEnvironment
parameters ofRenderContext
todata
andstaticData
to avoid confusion withEnvironment
object. - Unified usage of
PartialsCache
andOutputsBag
in shared state. - Moved default tags and filters to
StandardExtension
that is registered by default. - Refactored profiling and moved to
ProfilerExtension
.
What's Changed
- Shopify liquid 5.6 changes by @cappuc in #28
- customisable error handler by @cappuc in #29
- Extensions by @cappuc in #30
- Dynamic render tag by @cappuc in #31
- Ternary filter by @cappuc in #32
Full Changelog: v0.6.6...v0.7.0-beta1