Releases: kuralabs/ninjecto
Releases · kuralabs/ninjecto
0.8.0
0.7.0
Changes
- New version compatible with Jinja2 3.1.0.
0.6.1
Changes
- New version pinning Jinja2 to an older version to avoid breakage caused by API changes. Use this version if you need to use Jinja2 < 3.1.0.
0.6.0
New
- New namespace "vault" that allows to fetch secrets from a HashiCorp's Vault instance.
0.5.0
Fix
- Fixes namespaces. "env" and "git" namespaces are now available.
API is now stabilized until further notice 😄
0.4.0
Fix
- Fix core on Python 3.8.
0.3.0
New
-
Allows to define the behavior when encountering undefined values in the template.
-
Allows conditional creation of files, so depending of a value a file can be created or not.
-
Rendering is now faster when rendering empty files.
-
Ninjecto's CLI now supports passing
--parents
to create any parent directory of the output directory. -
New filters:
comment
,quote
andread
. -
New filters from awesome Inflection package.
Inflection is now a third party dependency, which includes the new filters:
camelize
,dasherize
,humanize
,ordinal
,ordinalize
,
parameterize
,pluralize
,singularize
,tableize
,titleize
,
transliterate
andunderscore
.Also, the Cerberus dependency was dropped as it is unused (for now).
0.2.1
Fix
- Default output mode will now be set before checking the input and output
paths, offering a better error message.
0.2.0
Fix
- Rendered files will now have the same permissions as the source files.
0.1.1
Fix
- Fixes TypeError caused by invalid value of the levels parameter.