Skip to content

Commit 32a5b21

Browse files
committed
add dates to past release entries
1 parent bce0974 commit 32a5b21

File tree

2 files changed

+72
-69
lines changed

2 files changed

+72
-69
lines changed

docs/source/about/changelog.rst

+66-66
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Changed:
2828
- :pull:`730` - Layout context management is not async
2929

3030

31-
0.38.0-a2
32-
---------
31+
0.38.0-a2 2022-04-14
32+
--------------------
3333

3434
Added:
3535

@@ -66,8 +66,8 @@ Removed:
6666
- ``redirect_root`` server option - :pull:`721`
6767

6868

69-
0.38.0-a1
70-
---------
69+
0.38.0-a1 2022-03-27
70+
--------------------
7171

7272
Changed:
7373

@@ -94,8 +94,8 @@ Fixed:
9494
- How we advertise ``idom.run`` - :issue:`657`
9595

9696

97-
0.37.2
98-
------
97+
0.37.2 2022-03-27
98+
-----------------
9999

100100
Changed:
101101

@@ -108,30 +108,30 @@ Fixed:
108108
``https`` instead of the secure ``wss`` protocol - :pull:`716`
109109

110110

111-
0.37.1
112-
------
111+
0.37.1 2022-03-05
112+
-----------------
113113

114114
No changes.
115115

116116

117-
0.37.1-a2
118-
---------
117+
0.37.1-a2 2022-03-02
118+
--------------------
119119

120120
Fixed:
121121

122122
- Revert :pull:`694` and by making ``value`` uncontrolled client-side - :issue:`684`
123123

124124

125-
0.37.1-a1
126-
---------
125+
0.37.1-a1 2022-02-28
126+
--------------------
127127

128128
Fixed:
129129

130130
- ``onChange`` event for inputs missing key strokes - :issue:`684`
131131

132132

133-
0.37.0
134-
------
133+
0.37.0 2022-02-27
134+
-----------------
135135

136136
Added:
137137

@@ -149,8 +149,8 @@ Releases below do not use the "Keep a Changelog" style guidelines.
149149

150150
----
151151

152-
0.36.3
153-
------
152+
0.36.3 2022-02-18
153+
-----------------
154154

155155
Misc bug fixes along with a minor improvement that allows components to return ``None``
156156
to render nothing.
@@ -166,16 +166,16 @@ to render nothing.
166166
- Fix 663 - :pull:`667`
167167

168168

169-
0.36.2
170-
------
169+
0.36.2 2022-02-02
170+
-----------------
171171

172172
Hot fix for newly introduced ``DeprecatedOption``:
173173

174174
- :commit:`c146dfb264cbc3d2256a62efdfe9ccf62c795b01`
175175

176176

177-
0.36.1
178-
------
177+
0.36.1 2022-02-02
178+
-----------------
179179

180180
Includes bug fixes and renames the configuration option ``IDOM_WED_MODULES_DIR`` to
181181
``IDOM_WEB_MODULES_DIR`` with a corresponding deprecation warning.
@@ -191,8 +191,8 @@ Includes bug fixes and renames the configuration option ``IDOM_WED_MODULES_DIR``
191191
- rename IDOM_WED_MODULES_DIR to IDOM_WEB_MODULES_DIR - :pull:`638`
192192

193193

194-
0.36.0
195-
------
194+
0.36.0 2022-01-30
195+
-----------------
196196

197197
This release includes an important fix for errors produced after :pull:`623` was merged.
198198
In addition there is not a new ``http.script`` element which can behave similarly to a
@@ -215,8 +215,8 @@ before the content of the script changes.
215215
- implement script element - :pull:`617`
216216

217217

218-
0.35.4
219-
------
218+
0.35.4 2022-01-27
219+
-----------------
220220

221221
Keys for elements at the root of a component were not being tracked. Thus key changes
222222
for elements at the root did not trigger unmounts.
@@ -230,8 +230,8 @@ for elements at the root did not trigger unmounts.
230230
- fix issue with key-based identity - :pull:`623`
231231

232232

233-
0.35.3
234-
------
233+
0.35.3 2022-01-27
234+
-----------------
235235

236236
As part of :pull:`614`, elements which changed type were not deeply unmounted. This
237237
behavior is probably undesirable though since the state for children of the element
@@ -242,8 +242,8 @@ in question would persist (probably unexpectedly).
242242
- Always deeply unmount - :pull:`620`
243243

244244

245-
0.35.2
246-
------
245+
0.35.2 2022-01-26
246+
-----------------
247247

248248
This release includes several bug fixes. The most significant of which is the ability to
249249
change the type of an element in the try (i.e. to and from being a component) without
@@ -264,16 +264,16 @@ turns out to be quite common and useful.
264264
- fix double file extension - :pull:`606`
265265

266266

267-
0.35.1
268-
------
267+
0.35.1 2022-01-18
268+
-----------------
269269

270270
Re-add accidentally deleted ``py.typed`` file to distribution. See `PEP-561
271271
<https://www.python.org/dev/peps/pep-0561/#packaging-type-information>`__ for info on
272272
this marker file.
273273

274274

275-
0.35.0
276-
------
275+
0.35.0 2022-01-18
276+
-----------------
277277

278278
The highlight of this release is that the default :ref:`"key" <Organizing Items With
279279
Keys>` of all elements will be their index amongst their neighbors. Previously this
@@ -312,8 +312,8 @@ on :ref:`Organizing Items With Keys`.
312312
- add more standard html elements - :pull:`554`
313313

314314

315-
0.34.0
316-
------
315+
0.34.0 2021-12-16
316+
-----------------
317317

318318
This release contains a variety of minor fixes and improvements which came out of
319319
rewriting the documentation. The most significant of these changes is the remove of
@@ -339,8 +339,8 @@ event dictionary. As part of this change we also add ``event["currentTarget"]``
339339
- add option to replace existing when creating a module - :pull:`516`
340340

341341

342-
0.33.3
343-
------
342+
0.33.3 2021-10-08
343+
-----------------
344344

345345
Contains a small number of bug fixes and improvements. The most significant change is
346346
the addition of a warning stating that `IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1` will become
@@ -362,8 +362,8 @@ specifying `exports_default=True` as a parameter. A
362362
- Fix 502 - :pull:`503`
363363

364364

365-
0.33.2
366-
------
365+
0.33.2 2021-09-05
366+
-----------------
367367

368368
A release to fix a memory leak caused by event handlers that were not being removed
369369
when components updated.
@@ -373,8 +373,8 @@ when components updated.
373373
- Non-root component event handlers cause memory leaks - :issue:`510`
374374

375375

376-
0.33.1
377-
------
376+
0.33.1 2021-09-02
377+
-----------------
378378

379379
A hot fix for a regression introduced in ``0.33.0`` where the root element of the layout
380380
could not be updated. See :issue:`498` for more info. A regression test for this will
@@ -385,8 +385,8 @@ be introduced in a future release.
385385
- Fix 498 pt1 - :pull:`501`
386386

387387

388-
0.33.0
389-
------
388+
0.33.0 2021-09-02
389+
-----------------
390390

391391
The most significant fix in this release is for a regression which manifested in
392392
:issue:`480`, :issue:`489`, and :issue:`451` which resulted from an issue in the way
@@ -428,8 +428,8 @@ yet.
428428
- Update issue form - :pull:`471`
429429

430430

431-
0.32.0
432-
------
431+
0.32.0 2021-08-20
432+
-----------------
433433

434434
In addition to a variety of bug fixes and other minor improvements, there's a breaking
435435
change to the custom component interface - instead of exporting multiple functions that
@@ -464,8 +464,8 @@ See :ref:`Custom JavaScript Components` for details on the new interface.
464464
- fix #429 - move client JS to top of src/ dir - :pull:`430`
465465

466466

467-
0.31.0
468-
------
467+
0.31.0 2021-07-14
468+
-----------------
469469

470470
The :class:`~idom.core.layout.Layout` is now a prototype, and ``Layout.update`` is no
471471
longer a public API. This is combined with a much more significant refactor of the
@@ -500,8 +500,8 @@ Instead, a unique ID is generated internally which is associated with the
500500
- fix #419 and #412 - :pull:`422`
501501

502502

503-
0.30.1
504-
------
503+
0.30.1 2021-07-13
504+
-----------------
505505

506506
Removes the usage of the :func:`id` function for generating unique ideas because there
507507
were situations where the IDs bound to the lifetime of an object are problematic. Also
@@ -516,8 +516,8 @@ lead to confusing bugs.
516516
- add changelog entry for :ref:`0.30.0` - :pull:`415`
517517

518518

519-
0.30.0
520-
------
519+
0.30.0 2021-06-28
520+
-----------------
521521

522522
With recent changes to the custom component interface, it's now possible to remove all
523523
runtime reliance on NPM. Doing so has many virtuous knock-on effects:
@@ -560,8 +560,8 @@ desired library from a CDN.
560560
- Remove all runtime reliance on NPM - :pull:`398`
561561

562562

563-
0.29.0
564-
------
563+
0.29.0 2021-06-20
564+
-----------------
565565

566566
Contains breaking changes, the most significant of which are:
567567

@@ -591,8 +591,8 @@ Contains breaking changes, the most significant of which are:
591591
- correctly serialize File object - :commit:`a2398dc`
592592

593593

594-
0.28.0
595-
------
594+
0.28.0 2021-06-01
595+
-----------------
596596

597597
Includes a wide variety of improvements:
598598

@@ -645,8 +645,8 @@ and breaking changes, the most significant of which are:
645645
- pass children as props to mount() - :commit:`9494bc0`
646646

647647

648-
0.27.0
649-
------
648+
0.27.0 2021-05-14
649+
-----------------
650650

651651
Introduces changes to the interface for custom Javascript components. This now allows
652652
JS modules to export a ``mount(element, component, props)`` function which can be used
@@ -662,8 +662,8 @@ variety of component implementations.
662662
- federate modules with mount function - :commit:`bf63a62`
663663

664664

665-
0.26.0
666-
------
665+
0.26.0 2021-05-07
666+
-----------------
667667

668668
A collection of minor fixes and changes that, as a whole, add up to something requiring
669669
a minor release. The most significant addition is a fix for situations where a
@@ -681,8 +681,8 @@ update deletes the original button.
681681
- rename daemon to run_in_thread + misc - :commit:`417b687`
682682

683683

684-
0.25.0
685-
------
684+
0.25.0 2021-04-30
685+
-----------------
686686

687687
Completely refactors layout dispatcher by switching from a class-based approach to one
688688
that leverages pure functions. While the logic itself isn't any simpler, it was easier
@@ -701,8 +701,8 @@ several bugs that had cropped up related to improper usage of ``anyio``.
701701
- refactor dispatchers - :commit:`ce8e060`
702702

703703

704-
0.24.0
705-
------
704+
0.24.0 2021-04-18
705+
-----------------
706706

707707
This release contains an update that allows components and elements to have "identity".
708708
That is, their state can be preserved across updates. Before this point, only the state
@@ -732,16 +732,16 @@ to allow users to enable this behavior early.
732732
- fixes: #331 - add roadmap to docs - :commit:`4226c12`
733733

734734

735-
0.23.1
736-
------
735+
0.23.1 2021-04-02
736+
-----------------
737737

738738
**Highlighted Commits:**
739739

740740
- fix non-deterministic return order in install() - :commit:`494d5c2`
741741

742742

743-
0.23.0
744-
------
743+
0.23.0 2021-04-01
744+
-----------------
745745

746746
**Highlighted Commits:**
747747

scripts/update_versions.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
from datetime import datetime
23
from pathlib import Path
34

45
import semver
@@ -42,6 +43,8 @@ def update_js_versions(new_version: str) -> None:
4243

4344

4445
def update_changelog_version(new_version: str) -> None:
46+
now = datetime.now().strftime("%Y-%m-%d")
47+
new_version_section_title = f"{new_version} {now}"
4548
old_content = CHANGELOG_FILE.read_text().split("\n")
4649

4750
new_content = []
@@ -53,8 +56,8 @@ def update_changelog_version(new_version: str) -> None:
5356
this_line, next_line = old_content[index : index + 2]
5457
if this_line == "Unreleased" and next_line == ("-" * len(this_line)):
5558
new_content.append(_UNRELEASED_SECTION)
56-
new_content.append(new_version)
57-
new_content.append("-" * len(new_version))
59+
new_content.append(new_version_section_title)
60+
new_content.append("-" * len(new_version_section_title))
5861
new_content.extend(old_content[index + 2 :])
5962
break
6063
else:
@@ -69,7 +72,7 @@ def update_changelog_version(new_version: str) -> None:
6972
Unreleased
7073
----------
7174
72-
Nothing yet...
75+
No changes.
7376
7477
"""
7578

0 commit comments

Comments
 (0)