-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,70 @@ | ||
# changelog | ||
|
||
## 0.9.4 | ||
|
||
- Add support for raw blocks | ||
|
||
## 0.9.3 | ||
- Add support for dynamic partials | ||
- Add travis integration (flake8 and coverage) | ||
|
||
- Add support for dynamic partials | ||
- Add travis integration (flake8 and coverage) | ||
|
||
## 0.9.2 | ||
|
||
- Make dictionary calls take precedence over attributes and .get (issue #16) | ||
- Add else support in inverted if blocks (issue #17) | ||
- Improve error parsing and reporting (issue #23) | ||
- Port over a few more tests from handlebars.js | ||
- Make dictionary calls take precedence over attributes and .get (issue #16) | ||
- Add else support in inverted if blocks (issue #17) | ||
- Improve error parsing and reporting (issue #23) | ||
- Port over a few more tests from handlebars.js | ||
|
||
## 0.9.1 | ||
|
||
- Changed `pybars.__version__` tuple to `pybars.__version_info__`, | ||
`pybars.__version__` is now a string | ||
- Added `Compiler().precompile(source)` that will return Python source code | ||
to allow for caching of compiled templates and easier debugging | ||
- Template code now checks to ensure it is being run with the same version of | ||
pybars that is was generated with | ||
- Changed `pybars.__version__` tuple to `pybars.__version_info__`, | ||
`pybars.__version__` is now a string | ||
- Added `Compiler().precompile(source)` that will return Python source code | ||
to allow for caching of compiled templates and easier debugging | ||
- Template code now checks to ensure it is being run with the same version of | ||
pybars that is was generated with | ||
|
||
## 0.8.0 | ||
|
||
- The library now always throws `pybars.PybarsError` on errors | ||
- Added support for nested subexpressions | ||
- Block helpers by themselves on lines no longer introduce any whitespace | ||
- Added `tests.py` test runner and `--debug` flag | ||
- Moved tests out of `pybars` namespace | ||
- The library now always throws `pybars.PybarsError` on errors | ||
- Added support for nested subexpressions | ||
- Block helpers by themselves on lines no longer introduce any whitespace | ||
- Added `tests.py` test runner and `--debug` flag | ||
- Moved tests out of `pybars` namespace | ||
|
||
## 0.7.2 | ||
|
||
- Fixed a bug with nested scopes and parent paths (`../`) | ||
- Fixed a bug with nested scopes and parent paths (`../`) | ||
|
||
## 0.7.1 | ||
|
||
- Expose `pybars.Scope()` so helpers can properly scope data so `../` will work | ||
- Expose `pybars.Scope()` so helpers can properly scope data so `../` will work | ||
|
||
## 0.7.0 | ||
|
||
- Added subexpression support | ||
- Added subexpression support | ||
|
||
## 0.6.0 | ||
|
||
- Changed `False` to print `false` and `True` to print `true` | ||
- Added support for `null` and `undefined` literals | ||
- Changed `False` to print `false` and `True` to print `true` | ||
- Added support for `null` and `undefined` literals | ||
|
||
## 0.5.1 | ||
|
||
- Added support for segment literals (`[foo bar]`) | ||
- Fixed a bug related to newlines in the middle of tags | ||
- Added support for single-quoted string literals | ||
- Added the `lookup` helper | ||
- Added support for quoted partial names | ||
- Added support for segment literals (`[foo bar]`) | ||
- Fixed a bug related to newlines in the middle of tags | ||
- Added support for single-quoted string literals | ||
- Added the `lookup` helper | ||
- Added support for quoted partial names | ||
|
||
## 0.5.0 | ||
|
||
- Added support for negative integers | ||
- Added support for parent acccess to data elements (`@../`) | ||
- Added support for keyword args being passed to partials | ||
- Added explicit `@_parent` data access | ||
- Added `@root` data support | ||
- Added `@index`, `@key`, `@first` and `@last` data access | ||
- Added support for object attributes within the `#each` helper | ||
- Added Python 3 support | ||
- Added support for negative integers | ||
- Added support for parent acccess to data elements (`@../`) | ||
- Added support for keyword args being passed to partials | ||
- Added explicit `@_parent` data access | ||
- Added `@root` data support | ||
- Added `@index`, `@key`, `@first` and `@last` data access | ||
- Added support for object attributes within the `#each` helper | ||
- Added Python 3 support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters