Skip to content

Commit

Permalink
0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ykmnkmi committed Feb 20, 2025
1 parent 6580823 commit 3464f33
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 0.6.1-dev.5 ([diff](https://github.com/ykmnkmi/jinja.dart/compare/88996f8..main))
## 0.6.1 ([diff](https://github.com/ykmnkmi/jinja.dart/compare/88996f8..main))
- Added:
- List slices `list[start:stop]`.
- `UndefinedError` exception
- `UndefinedFactory` typedef
- `Environment`:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _work in progress_.
Use `attribute` and `item` filters for `object.attribute` and `object[item]` expressions.
- If `Environment({getAttribute})` is not passed, the `getItem` method will be used.
This allows you to use `{{ map.key }}` as an expression equivalent to `{{ map['key'] }}`.
- Slices and negative indexes are not supported.
- String slices and negative indexes are not supported.
- Macro arguments without default values are required.
- Not supported:
- Template module.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: jinja
version: 0.6.1-dev.5
version: 0.6.1
description: >-
Jinja2 template engine for Dart.
Variables, expressions, control structures and template inheritance.
Expand Down
2 changes: 1 addition & 1 deletion test/slices_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:jinja/jinja.dart';
import 'package:test/test.dart';

void main() {
group('Slices test', () {
group('Slices', () {
test('sitems from the beginning through stop-1', () {
var environment = Environment();
var tmpl = environment
Expand Down

0 comments on commit 3464f33

Please sign in to comment.