Skip to content

Commit 87d3861

Browse files
authored
Merge pull request #8 from conestack/memory
Avoid memory leaks (detached DOM elements)
2 parents 524e17e + ac0e632 commit 87d3861

31 files changed

+1886
-1484
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Install
14+
- name: Corepack
1515
run: |
16+
npm install --global corepack@latest
1617
corepack enable
18+
19+
- name: Install
20+
run: |
1721
make nodejs
1822
1923
- name: Run tests

CHANGES.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,29 @@ Changes
44
0.5.0 (unreleased)
55
------------------
66

7-
- No changes yet.
7+
- Split ``ajax.js`` into ``ssr`` js module.
8+
[lenadax]
9+
10+
- Rework ``Spinner`` class to prevent persisting detached elements.
11+
[lenadax]
12+
13+
- Unbind events on Motion ``reset_state`` method.
14+
[lenadax]
15+
16+
- Unbind events on ``destroy`` method in ``create_listener`` subclass factory.
17+
[lenadax]
18+
19+
- Move ``AjaxDestroy`` to ``ajaxdestroy`` module to prevent circular import dependency.
20+
[lenadax]
21+
22+
- Fix widgets not being fully destroyed if rendered within an ``Overlay`` inside body.
23+
[lenadax]
24+
25+
- Modify ``AjaxDestroy`` parse method to prevent DOM memory leaks.
26+
[lenadax]
27+
28+
- Replace svg spinner with Bootstrap5 spinner.
29+
[lenadax]
830

931

1032
0.4.0 (2024-02-12)

0 commit comments

Comments
 (0)