v0.7.0-beta1
Pre-release
Pre-release
Breaking Changes
- Introduced
Environmentconcept to allow multiple liquid instances with different settings, tags and filters. This was partially possible withTemplateFactorypreviously. TemplateFactoryhas been removed and replaced byEnvironmentFactory, some methods (newParseContext,newRenderContext,parseString,parseTemplate) have been moved toEnvironment.- Renamed
environmentandstaticEnvironmentparameters ofRenderContexttodataandstaticDatato avoid confusion withEnvironmentobject. - Unified usage of
PartialsCacheandOutputsBagin shared state. - Moved default tags and filters to
StandardExtensionthat 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