Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@

## Latest Changes

## Version 5.4.0

### Features

* Allow None values through and skip them.
* Allow primitives through without having to cast them to str first.
* Add Decimal as an allowed primitive.


### Internal

* Run tests on python 3.14
Expand Down
2 changes: 1 addition & 1 deletion hypermedia/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _load_attribute_aliases() -> Mapping[str, str]: # noqa: C901
Taken from Ludic:
https://github.com/getludic/ludic/blob/main/ludic/format.py
"""
from hypermedia.types import attributes
from hypermedia.types import attributes # noqa: PLC0415

result = {}
for name, cls in inspect.getmembers(attributes, inspect.isclass):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hypermedia"
version = "5.3.4"
version = "5.4.0"
description = "An opinionated way to work with html in pure python with htmx support."
readme = {file = "README.md", content-type = "text/markdown"}
license = {"text" = "MIT"}
Expand Down
Loading
Loading