Neat-html

Latest version: v0.6.0

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

Scan your dependencies

0.6.0

What's Changed
* Improve README by SamDudley in https://github.com/SamDudley/neat-html/pull/28
* Improve type hints by SamDudley in https://github.com/SamDudley/neat-html/pull/29
- `h` now raises `TypeError` when an invalid number of arguments are passed (previously raised `ValueError`)
- upgrade all dev dependencies
- remove all use of `Any`
- change `h` type hints to be superset of overloads
- add `HtmlChild` type alias
- add `HtmlChildren` type alias
- remove `ElementOrString` type alias
- remove `Children` type alias
- replace `SupportsStr` with `object`
- remove `SupportsStr` protocol
- remove `HtmlAttributeValue` type alias
* Increment project version to 0.6.0 by SamDudley in https://github.com/SamDudley/neat-html/pull/30


**Full Changelog**: https://github.com/SamDudley/neat-html/compare/v0.5.0...v0.6.0

0.5.0

What's Changed
* Fix multiple root elements being reversed by SamDudley in https://github.com/SamDudley/neat-html/pull/27


**Full Changelog**: https://github.com/SamDudley/neat-html/compare/v0.4.0...v0.5.0

0.4.0

What's Changed
* Remove pypy from CI python versions by SamDudley in https://github.com/SamDudley/neat-html/pull/21
* Add support for rendering multiple root elements by SamDudley in https://github.com/SamDudley/neat-html/pull/22
* Increment project version to 0.4.0 by SamDudley in https://github.com/SamDudley/neat-html/pull/26


**Full Changelog**: https://github.com/SamDudley/neat-html/compare/v0.3.0...v0.4.0

0.3.0

What's Changed
* Fix formatting issue after self-closing element by SamDudley in https://github.com/SamDudley/neat-html/pull/18
* Refactor and rename types by SamDudley in https://github.com/SamDudley/neat-html/pull/19
* Increment project version to 0.3.0 by SamDudley in https://github.com/SamDudley/neat-html/pull/20


API Changes
* rename `Node` to `Element`
* replace `TextNode` with `SafeString`
* remove `NodeType`
* `safe` now returns a `SafeString`


**Full Changelog**: https://github.com/SamDudley/neat-html/compare/v0.2.0...v0.3.0

0.2.0

What's Changed
* Add project metadata for PyPI by SamDudley in https://github.com/SamDudley/neat-html/pull/14
* Add support for True/False boolean attributes by SamDudley in https://github.com/SamDudley/neat-html/pull/15
* Increment project version to 0.2.0 by SamDudley in https://github.com/SamDudley/neat-html/pull/17


**Full Changelog**: https://github.com/SamDudley/neat-html/compare/v0.1.0...v0.2.0

0.1.0

Initial release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.