djhtmx 1.3.1__tar.gz → 1.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {djhtmx-1.3.1 → djhtmx-1.3.2}/CHANGELOG.md +5 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/PKG-INFO +1 -1
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/__init__.py +1 -1
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/introspection.py +2 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/.gitignore +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/LICENSE +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/MANIFEST.in +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/README.md +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/pyproject.toml +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/apps.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/command_queue.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/commands.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/component.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/consumer.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/context.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/exceptions.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/global_events.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/json.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/management/commands/htmx.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/middleware.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/query.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/repo.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/settings.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/ext/idiomorph-ext.min.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/ext/ws.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.amd.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.cjs.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.esm.d.ts +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.esm.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/2.0.4/htmx.min.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/static/htmx/django.js +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/templates/htmx/headers.html +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/templates/htmx/lazy.html +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/templatetags/__init__.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/templatetags/htmx.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/testing.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/tracing.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/urls.py +0 -0
- {djhtmx-1.3.1 → djhtmx-1.3.2}/src/djhtmx/utils.py +0 -0
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.2] - 2026-01-14
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Generic Type Handling**: Fixed `annotate_model()` to preserve non-Model generic types (like `defaultdict`, `list`, `dict`) when used with `Annotated` wrappers. Previously, these types would be incorrectly transformed to `None`, causing validation errors.
|
|
14
|
+
|
|
10
15
|
## [1.3.1] - 2026-01-14
|
|
11
16
|
|
|
12
17
|
### Fixed
|
|
@@ -293,6 +293,8 @@ def annotate_model(annotation, *, model_config: ModelConfig | None = None):
|
|
|
293
293
|
return type_[
|
|
294
294
|
*(annotate_model(p, model_config=model_annotation) for p in params)
|
|
295
295
|
] # type: ignore
|
|
296
|
+
# Other generic types (list, dict, defaultdict, etc.) - return as-is
|
|
297
|
+
return annotation
|
|
296
298
|
else:
|
|
297
299
|
return annotation
|
|
298
300
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|