Releases: kuralabs/ninjecto
Releases · kuralabs/ninjecto
1.1.0
1.0.0
Change
- Removes deprecated pkg_resources package.
- Updates build system to use uv.
0.8.0
New
- Adds
--values-in=[toml,yaml,json]to parse the standard input and allow to pass values as a pipe.
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
--parentsto create any parent directory of the output directory. -
New filters:
comment,quoteandread. -
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,
transliterateandunderscore.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.