|
5 | 5 | This is a major release with several breaking changes. As well as API changes listed below, we: |
6 | 6 |
|
7 | 7 | - 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). |
10 | 10 | - 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). |
11 | 11 | - Change comment tag parsing to better match Shopify/Liquid. See [#133](https://github.com/jg-rp/liquid/issues/133). |
12 | 12 | - Remove `BoundTemplate.analyze_with_context()`. Shout if you need contextual analysis and we'll restore this feature. |
13 | 13 | - Remove the `cache_size` argument to `liquid.Environment` and `liquid.Template`. Template caching is now handled by template loaders. |
14 | 14 | - 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). |
18 | 18 |
|
19 | 19 | ### API changes |
20 | 20 |
|
21 | | -Also see the [migration guide]. |
| 21 | +Also see the [migration guide](https://jg-rp.github.io/liquid/migration/). |
22 | 22 |
|
23 | 23 | #### Miscellaneous |
24 | 24 |
|
|
0 commit comments