Releases: keepsuit/php-liquid
Releases · keepsuit/php-liquid
v0.9.0
v0.8.1
What's Changed
- Resolve properties of classes with magic getters by @tillschander in #42
- map drop keys to snake case in toArray by @cappuc in #43
Full Changelog: v0.8.0...v0.8.1
v0.8.0
v0.7.0
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 toEnvironmentand default values of setters has been removed.- Renamed
environmentandstaticEnvironmentparameters ofRenderContexttodataandstaticDatato avoid confusion withEnvironmentobject. - Share parsed templates globally (in the environment), so we can skip re-parsing of partials used in multiple templates. Removed
PartialsCache. TheTemplatestate now contains only the template name instead of the parsedTemplate. - Moved default tags and filters to
StandardExtensionthat is registered by default. - Refactored profiling and moved to
ProfilerExtension. - Added option to
RenderContextto enable parsing of templates at render time.
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
- Shared templates cache by @cappuc in #33
- Template cache options by @cappuc in #37
- Fix render variables by @cappuc in #38
- lazy template parsing by @cappuc in #39
- Removed default values on
EnvironmentFactorysetters
Full Changelog: v0.6.6...v0.7.0
v0.7.0-beta4
What's Changed
- Fix render variables by @cappuc in #38
- lazy template parsing by @cappuc in #39
- Removed default values on
EnvironmentFactorysetters
Full Changelog: v0.7.0-beta3...v0.7.0-beta4
v0.7.0-beta3
What's Changed
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in #35
- Template cache options by @cappuc in #37
Full Changelog: v0.7.0-beta2...v0.7.0-beta3
v0.7.0-beta2
What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #34
- Shared templates cache by @cappuc in #33
Full Changelog: v0.7.0-beta1...v0.7.0-beta2
v0.7.0-beta1
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
v0.6.6
What's changed
- exclude static methods & methods with params from drop invokable methods
Full Changelog: v0.6.5...v0.6.6