Jinjax

Latest version: v0.48

Safety actively analyzes 701442 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

0.21

What's Changed
* Improve exception message by jodal in https://github.com/jpsca/jinjax/pull/4
* Fix {cloded => closed} typo by jodal in https://github.com/jpsca/jinjax/pull/5
* Test mixing of contentless and contentful components by jodal in https://github.com/jpsca/jinjax/pull/6
* Fix bug with mixing of contentless and contentful components by jpsca in https://github.com/jpsca/jinjax/commit/11b9b2b2d121e3f7381a196e1c1f050bb01233a1)

New Contributors
* jodal made their first contribution in https://github.com/jpsca/jinjax/pull/4

**Full Changelog**: https://github.com/jpsca/jinjax/compare/0.20...0.21

0.20

What's Changed

* Improve adding components from modules by jpsca in https://github.com/jpsca/jinjax/pull/1
* [Do not escape & in html attributes](https://github.com/jpsca/jinjax/commit/5b15af78fe071cf6c397ef69c46bf0cba818c626)
This allows to use the full TailwindCSS syntax

**Full Changelog**: https://github.com/jpsca/jinjax/compare/0.19...0.20

0.19

**Full Changelog**: https://github.com/jpsca/jinjax/compare/0.18...0.19

0.18

**Full Changelog**: https://github.com/jpsca/jinjax/commits/0.18

0.4

BREAKING CHANGE

To pass values to components as attributes, do not use `name={value}` anymore. Instead:

1. For strings, keep using regular quotes: `name="string"`
2. For values, use regular quotes but **prefix the name with a colon**: `:name="value"`.

For example, before:

html+jinja
<Example columns={2} tabbed={False} panels={{'one': 'lorem', 'two': 'ipsum'}} />


is now:

html+jinja
<Example :columns="2" :tabbed="False" :panels="{'one': 'lorem', 'two': 'ipsum'}" />


How to update:

![image](https://github.com/jpsca/jinjax/assets/67524204/5120ce03-1f88-42f5-8298-0d9ebcd94bcd)

1. Open the search-and-replace of your text editor (VisualStudio Code in this image).
3. Activate using regular expressions
4. Toggle "replace"
5. Search for `(\w+)=\{(.*?)\}`
Replace for `:$1="$2"`
Only in `*.jinja` files


OTHER CHANGES

- Improved component metadata parsing.
- New documentation theme
- Jinjax UI first (public) release

I'm working on improving the content of the documentation and it will be released soon.


**Full Changelog**: https://github.com/jpsca/jinjax/compare/0.37...0.4

Page 5 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.