Skip to main content

angel3_jinja 10.0.0 copy "angel3_jinja: ^10.0.0" to clipboard
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 in ext, is not found, instead of being read. A view that is not found throws a 404 AngelHttpException instead of TemplateNotFound, also with a custom createLoader
  • 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_framework 10

Fixes in 10.0.0 #

  • Options: defaultValue is what an undefined variable renders as, where it was ignored
  • Views: The templates a view names with string literals in extends, include, import and from tags 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_framework and angel3_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 lints to 6.0.0
  • Updated dependencies to the latest release

8.4.0 #

  • Require Dart >= 3.6
  • Updated lints to 5.0.0
  • Updated dependencies to the latest release

8.3.1 #

  • Updated dependencies

8.3.0 #

  • Require Dart >= 3.3
  • Updated lints to 4.0.0

8.2.1 #

  • Updated repository link

8.2.0 #

  • Updated lints to 3.0.0
  • Fixed linter warnings

8.1.0 #

  • Update jinja to 0.5.0

8.0.0 #

  • Require Dart >= 3.0
  • Update jinja to 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 lints linter

2.0.0 #

  • Migrated to support Dart >= 2.12 NNBD

1.0.0 #

  • Initial version, created by Stagehand
1
likes
160
points
285
downloads

Documentation

API reference

Publisher

verified publisherdukefirehawk.com

Weekly Downloads

A service that renders Jinja2 template into HTML view for Angel3. Ported from Python to Dart.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

angel3_framework, jinja, path

More

Packages that depend on angel3_jinja