Python-fasthtml

Latest version: v0.6.9

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

Scan your dependencies

Page 4 of 9

0.4.0

Breaking changes

- `__init.py__` now only contains `fasthtml.core`

New Features

- Fastcore 1.7 compatibility ([307](https://github.com/AnswerDotAI/fasthtml/issues/307))
- Add `fasthtml.basics` for importing the main fasthtml modules

0.3.7

New Features

- Add `reload_includes` and `reload_excludes` options to serve ([291](https://github.com/AnswerDotAI/fasthtml/pull/291)), thanks to [pydanny](https://github.com/pydanny)

Bugs Squashed

- katex.js missing ([305](https://github.com/AnswerDotAI/fasthtml/issues/305))

0.3.6

Bugs Squashed

- postrelease fix markdown js ([290](https://github.com/AnswerDotAI/fasthtml/issues/290))

0.3.5

New Features

- Support `dict` value in `hx_vals` ([288](https://github.com/AnswerDotAI/fasthtml/issues/288))
- Add `sess_cls` param to `FastHTML` ([284](https://github.com/AnswerDotAI/fasthtml/issues/284))
- Make `index` a special handler name for path "/" get request ([274](https://github.com/AnswerDotAI/fasthtml/issues/274))
- Use `run_in_threadpool` for non-async handlers ([270](https://github.com/AnswerDotAI/fasthtml/issues/270))
- Enhance LaTeX rendering in Markdown with support for environments ([269](https://github.com/AnswerDotAI/fasthtml/pull/269)), thanks to [rian-dolphin](https://github.com/rian-dolphin)

Bugs Squashed

- Duplicate parameters in components.pyi ([255](https://github.com/AnswerDotAI/fasthtml/issues/255))

0.3.4

New Features

- Experimental new named-based HTMX routing system ([267](https://github.com/AnswerDotAI/fasthtml/issues/267))
- `uri` function to construct `url_for` path params
- patch `HTTPConnection.url_path_for`
- replace HTTP verb FT attr names with `hx-` prefixed versions, and look up values in route names (with `link` used for `href` attrs)
- Default route paths to `/{func.__name__}`
- Default route method to `post` if func name isn't an http verb
- Support skipping `()` in route decorators

0.3.3

New Features

- Default route name to function name if method provided ([263](https://github.com/AnswerDotAI/fasthtml/issues/263))
- `surreal` and `htmx` bool params for `FastHTML` and `fast_app` ([258](https://github.com/AnswerDotAI/fasthtml/issues/258))

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.