Fasthx

Latest version: v2.0.2

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

Scan your dependencies

Page 2 of 4

1.1.1

What's Changed

* More JinjaContext utilities by volfpeter in https://github.com/volfpeter/fasthx/pull/25

**Full Changelog**: https://github.com/volfpeter/fasthx/compare/v1.1.0...v1.1.1

1.1.0

What's Changed

* Added `JinjaContext.wrap_as()` utility and tests by volfpeter in https://github.com/volfpeter/fasthx/pull/24

1.0.0

What's Changed

* Added `TemplateHeader` (and some utility types) for multi-template support on a single route. By volfpeter in https://github.com/volfpeter/fasthx/pull/23
* Added a `prefix` argument to `Jinja.hx()` and `Jinja.page()`. By volfpeter in https://github.com/volfpeter/fasthx/pull/23
* Renamed most `template_name` arguments to `template` ("keyword or positional" arguments are affected, potentially breaking change). By volfpeter in https://github.com/volfpeter/fasthx/pull/23
* Added more tests. By volfpeter in https://github.com/volfpeter/fasthx/pull/23
* Refactored and extended the documentation. By volfpeter in https://github.com/volfpeter/fasthx/pull/23
* Bumped version to `1.0.0`, the project will be sem-ver from now. By volfpeter in https://github.com/volfpeter/fasthx/pull/23

Upgrade from older releases

The upgrade shouldn't require code changes unless you assigned Jinja template names as keyword arguments in `Jinja.hx()` and `Jinja.page()`. In that case, all you need to do is rename `template_name="..."` to `template="..."`.

0.2407.0

Removed deprecated code (breaking changes):

- `HTMXRenderer`: use `HTMLRenderer` instead.
- `Jinja.__call__()`: use `Jinja.hx` instead.
- `Jinja.template()`: use `Jinja.hx` instead.

Other changes:

- Tooling upgrade.

0.2403.1

Changes:

- Added Response header support to Jinja decorators as well by volfpeter in https://github.com/volfpeter/fasthx/pull/20
- Examples, docs, and tests for response headers for Jinja by volfpeter in https://github.com/volfpeter/fasthx/pull/20

0.2403.0

This is most likely the last release before the project goes sem-ver (1.0).

Changes:

- 18 - Response header support in core decorators by volfpeter in https://github.com/volfpeter/fasthx/pull/19
- 18 - Examples, docs, and tests for response header usage by volfpeter in https://github.com/volfpeter/fasthx/pull/19

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.