Skip to content

Commit d265910

Browse files
committed
Update change log
1 parent 3385b29 commit d265910

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

CHANGES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
This is a major release with several breaking changes. As well as API changes listed below, we:
66

77
- Drop support for Python version 3.7 and 3.8.
8-
- Promotes rendering behavior from `liquid.future.Environment` to be the default, so as to improve Shopify/liquid compatibility by default.
9-
- Fixe variable/identifier/path parsing described in [issue #39](https://github.com/jg-rp/liquid/issues/39).
8+
- Promote rendering behavior from `liquid.future.Environment` to be the default, so as to improve Shopify/liquid compatibility by default.
9+
- Fix variable/identifier/path parsing described in [issue #39](https://github.com/jg-rp/liquid/issues/39).
1010
- Improve Liquid syntax error messages and exposes source index, line numbers and column numbers through methods on Liquid exceptions. See [#53](https://github.com/jg-rp/liquid/issues/53).
1111
- Change comment tag parsing to better match Shopify/Liquid. See [#133](https://github.com/jg-rp/liquid/issues/133).
1212
- Remove `BoundTemplate.analyze_with_context()`. Shout if you need contextual analysis and we'll restore this feature.
1313
- Remove the `cache_size` argument to `liquid.Environment` and `liquid.Template`. Template caching is now handled by template loaders.
1414
- Remove the `expression_cache_size` argument to `liquid.Environment` and `liquid.Template`. Environment-level expression caching is no longer available as it does not play nicely with detailed error messages. If you need to cache parsing of Liquid expressions, it is now recommended to implement a cache per tag, where it makes sense to do so for your use case.
15-
- Make markupsafe>=3 a dependency. Previously markupsafe was an optional dependency. Version 3 of markupsafe brings some subtle changes to the `replace`, `replace_first` and `replace_last` filters when they receive a "safe" string wrapped in `Markup()`.
16-
- Add new filters `reject`, `has`, `find` and `find_index`.
17-
- Add the new `doc` tag.
15+
- Make [markupsafe](https://pypi.org/project/MarkupSafe/) a dependency. Previously markupsafe was an optional dependency. Version 3 of markupsafe brings some subtle changes to the `replace`, `replace_first` and `replace_last` filters when they receive a "safe" string wrapped in `Markup()`.
16+
- Add new filters `reject`, `has`, `find` and `find_index`. See [Shopify/liquid #1869](https://github.com/Shopify/liquid/pull/1869).
17+
- Add the new `doc` tag. See [Shopify/liquid #1895](https://github.com/Shopify/liquid/pull/1895).
1818

1919
### API changes
2020

21-
Also see the [migration guide].
21+
Also see the [migration guide](https://jg-rp.github.io/liquid/migration/).
2222

2323
#### Miscellaneous
2424

docs/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Python Liquid is a Python engine for the Liquid, the safe, customer-facing template language. We follow [Shopify/Liquid](https://github.com/Shopify/liquid) closely and test against the [Golden Liquid test suite](https://github.com/jg-rp/golden-liquid).
44

5-
This is the documentation for the latest version of Python Liquid ([GitHub](https://github.com/jg-rp/liquid)). Find archived documentation for Python Liquid version 1.x [here](https://jg-rp.github.io/python-liquid-docs-archive/).
5+
!!! note
6+
7+
This is the documentation for the latest version of Python Liquid ([GitHub](https://github.com/jg-rp/liquid)). Find archived documentation for Python Liquid version 1.x [here](https://jg-rp.github.io/python-liquid-docs-archive/).
68

79
## Install
810

@@ -34,7 +36,7 @@ conda install -c conda-forge python-liquid
3436

3537
### `render()`
3638

37-
Here's a very simple example that renders a template from a string of text with the package-level [`render()`](api/convenience.md#liquid.render) function. The template has just one placeholder variable `you`, which we've given the value `"World"`.
39+
This example renders a template from a string of text with the package-level [`render()`](api/convenience.md#liquid.render) function. The template has just one placeholder variable `you`, which we've given the value `"World"`.
3840

3941
```python
4042
from liquid import render

0 commit comments

Comments
 (0)