Skip to content

Releases: kuralabs/ninjecto

0.8.0

06 Jun 21:51
Compare
Choose a tag to compare

New

  • Adds --values-in=[toml,yaml,json] to parse the standard input and allow to pass values as a pipe.

0.7.0

24 Mar 20:45
Compare
Choose a tag to compare

Changes

  • New version compatible with Jinja2 3.1.0.

0.6.1

24 Mar 20:18
Compare
Choose a tag to compare

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

22 Nov 20:12
Compare
Choose a tag to compare

New

  • New namespace "vault" that allows to fetch secrets from a HashiCorp's Vault instance.

0.5.0

21 Jul 06:43
Compare
Choose a tag to compare

Fix

  • Fixes namespaces. "env" and "git" namespaces are now available.

API is now stabilized until further notice 😄

0.4.0

21 Jul 06:42
Compare
Choose a tag to compare

Fix

  • Fix core on Python 3.8.

0.3.0

21 Jul 06:42
Compare
Choose a tag to compare

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 and read.

  • 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 and underscore.

    Also, the Cerberus dependency was dropped as it is unused (for now).

0.2.1

21 Jul 06:39
Compare
Choose a tag to compare

Fix

  • Default output mode will now be set before checking the input and output
    paths, offering a better error message.

0.2.0

21 Jul 06:39
Compare
Choose a tag to compare

Fix

  • Rendered files will now have the same permissions as the source files.

0.1.1

21 Jul 06:37
Compare
Choose a tag to compare

Fix

  • Fixes TypeError caused by invalid value of the levels parameter.