Skip to content

Commit 23b2bbf

Browse files
authored
Merge branch 'main' into components-fixes
2 parents d8f08b5 + 6d187eb commit 23b2bbf

File tree

7 files changed

+156
-126
lines changed

7 files changed

+156
-126
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- "*.*.*"
7+
workflow_dispatch:
78

89
permissions:
910
contents: read

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
1. Update `docs/source/changelog.md`
4040
1. Update version in `pyproject.toml`
4141
1. Commit changes
42-
1. Tag the release: `git tag 0.65.0`
42+
1. Tag the release: `git tag #.##.#`
4343
1. Push the tag: `git push origin --tags`
4444
1. The GitHub Action will automatically:
4545
- Build the JavaScript assets with the correct version

docs/source/changelog.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## 0.66.0
4+
5+
**Features**
6+
- Implement `unicorn:dirty` targeting support.
7+
- Add signals for lifecycle hooks.
8+
- Implement script tag loading from newly added child components.
9+
- Implement popstate support for history navigation.
10+
- Implement a timestamp-based (epoch) tracking mechanism to identify and discard stale responses on the frontend.
11+
12+
**Fixes**
13+
- Surface broken import errors when loading components.
14+
- Handle nested method calls in `parse_call_method_name`.
15+
- Restore float values in nested `tuple[dict]` fields.
16+
- Fix: `u:loading` on child elements no longer disables parent `u:click`.
17+
- Fix: Trigger loading states for actions called via `Unicorn.call()`.
18+
- Fix: Include child component JavaScript calls in response.
19+
- Fix `ValueError` when deserializing `ForeignKey` fields on models loaded outside `mount`.
20+
21+
**Refactors**
22+
- Consolidate component metadata (checksum, hash, epoch) into 'meta' identifier.
23+
- Remove redundant per-component script tags and enable global DOM scanning.
24+
25+
**Documentation**
26+
- Add tutorial documentation covering inputs, actions, and polling.
27+
- Add guide on table structure limitations.
28+
- Clarify Unicorn can be adopted incrementally.
29+
- Add Context Processors and Component Re-rendering section.
30+
- Improve Installation Tutorial and Add Pagination Documentation.
31+
332
## 0.65.0
433

534
- Properly escape single quotes in Unicorn.call() arguments [#773](https://github.com/adamghill/django-unicorn/pull/773) by [JohananOppongAmoateng](https://github.com/JohananOppongAmoateng).

package-lock.json

Lines changed: 122 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"jsdom": "^24.0.0",
2525
"node-fetch": "^3.3.2",
2626
"prettier": "^3.2.5",
27-
"rollup": "^4.13.0",
27+
"rollup": "^4.59.0",
2828
"rollup-plugin-filesize": "^10.0.0",
2929
"rollup-plugin-version-injector": "^1.3.3"
3030
},

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-unicorn"
3-
version = "0.65.2"
3+
version = "0.66.1"
44
description = "A magical full-stack framework for Django."
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)