Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shopify liquid 5.6 changes #28

Merged
merged 6 commits into from
Dec 25, 2024
Merged

Shopify liquid 5.6 changes #28

merged 6 commits into from
Dec 25, 2024

Conversation

cappuc
Copy link
Contributor

@cappuc cappuc commented Dec 25, 2024

  • Introduced Environment concept to allow multiple liquid instances with different settings, tags and filters. This was partially possible with TemplateFactory previously.
  • TemplateFactory has been removed and replaced by EnvironmentFactory, some methods (newParseContext, newRenderContext, parseString, parseTemplate) have been moved to Environment.
  • Renamed environment and staticEnvironment parameters of RenderContext to data and staticData to avoid confusion with Environment object
  • Moved some settings of RenderContext to a dedicated DTO: RenderContextOptions
  • Fixed interrupt handling in tablerow tag

@cappuc cappuc merged commit ef5580b into main Dec 25, 2024
24 checks passed
@cappuc cappuc deleted the shopify-5.6 branch December 29, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant