angel3_jinja 10.0.0
angel3_jinja: ^10.0.0 copied to clipboard
A service that renders Jinja2 template into HTML view for Angel3. Ported from Python to Dart.
Change Log #
10.0.0 #
Breaking changes in 10.0.0 #
- Breaking: A view or included template that resolves outside the views directory (
../secret.html, an absolute path, a symbolic link out of it), or has none of the extensions inext, is not found, instead of being read. A view that is not found throws a 404AngelHttpExceptioninstead ofTemplateNotFound, also with a customcreateLoader - Breaking: With
followLinks: false, a symbolic link within the views directory is not followed; it was only used when listing templates - Breaking: In production, templates are kept parsed, so changes to them are not seen until the app restarts
- Breaking: Requires
angel3_framework10
Fixes in 10.0.0 #
- Options:
defaultValueis what an undefined variable renders as, where it was ignored - Views: The templates a view names with string literals in
extends,include,importandfromtags are read without blocking - Docs: The README tells how to install and use the package, and how to migrate from 9.x, its example imports
angel3_frameworkandangel3_jinja, and the README and example escape values from the request with| e
9.1.0 #
- Require Dart >= 3.13
9.0.0 #
- Require Dart >= 3.12
8.5.0 #
- Require Dart >= 3.8
- Updated
lintsto 6.0.0 - Updated dependencies to the latest release
8.4.0 #
- Require Dart >= 3.6
- Updated
lintsto 5.0.0 - Updated dependencies to the latest release
8.3.1 #
- Updated dependencies
8.3.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
8.2.1 #
- Updated repository link
8.2.0 #
- Updated
lintsto 3.0.0 - Fixed linter warnings
8.1.0 #
- Update
jinjato 0.5.0
8.0.0 #
- Require Dart >= 3.0
- Update
jinjato 0.4.2
7.0.0 #
- Require Dart >= 2.17
6.0.0 #
- Require Dart >= 2.16
5.0.0 #
- Skipped release
4.0.0 #
- Skipped release
3.0.0 #
- Skipped release
2.0.1 #
- Fixed Jinja view rendering issue
- Upgraded to
lintslinter
2.0.0 #
- Migrated to support Dart >= 2.12 NNBD
1.0.0 #
- Initial version, created by Stagehand