Skip to content

Commit f589b03

Browse files
authored
Merge pull request #2 from acivitillo/idom-team-main
Idom team main
2 parents 5b1dbd2 + 842e0cc commit f589b03

File tree

163 files changed

+10683
-671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+10683
-671
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.36.3
1+
0.37.1-a2

docs/source/_custom_js/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/source/_static/css/furo-theme-overrides.css

+4
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ body {
22
--admonition-title-font-size: 1rem !important;
33
--admonition-font-size: 1rem !important;
44
}
5+
6+
.sidebar-container {
7+
width: 18em;
8+
}

docs/source/developing-idom/changelog.rst docs/source/about/changelog.rst

+60-13
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,58 @@
11
Changelog
22
=========
33

4-
The IDOM team manages their short and long term plans with `GitHub Projects
5-
<https://github.com/orgs/idom-team/projects/1>`__. If you have questions about what the
6-
team are working on, or have feedback on how issues should be prioritized, feel free to
7-
:discussion-type:`open up a discussion <question>`.
4+
.. note::
85

6+
The IDOM team manages their short and long term plans with `GitHub Projects
7+
<https://github.com/orgs/idom-team/projects/1>`__. If you have questions about what
8+
the team are working on, or have feedback on how issues should be prioritized, feel
9+
free to :discussion-type:`open up a discussion <question>`.
10+
11+
All notable changes to this project will be recorded in this document. The style of
12+
which is based on `Keep a Changelog <https://keepachangelog.com/>`__. The versioning
13+
scheme for the project adheres to `Semantic Versioning <https://semver.org/>`__.
14+
15+
16+
Unreleased
17+
----------
18+
19+
Nothing yet...
20+
21+
22+
0.37.1-a2
23+
---------
24+
25+
Fixed:
26+
27+
- Revert :pull:`694` and by making ``value`` uncontrolled client-side - :issue:`684`
28+
29+
30+
0.37.1-a1
31+
---------
32+
33+
Fixed:
34+
35+
- ``onChange`` event for inputs missing key strokes - :issue:`684`
36+
37+
38+
0.37.0
39+
------
40+
41+
Added:
42+
43+
- Support for keys in HTML fragments - :issue:`682`
44+
- Use Context Hook - :pull:`585`
45+
46+
Fixed:
47+
48+
- React warning about set state in unmounted component - :issue:`690`
49+
- Missing reset of schedule_render_later flag - :pull:`688`
50+
51+
----
52+
53+
Releases below do not use the "Keep a Changelog" style guidelines.
54+
55+
----
956

1057
0.36.3
1158
------
@@ -92,7 +139,7 @@ for elements at the root did not trigger unmounts.
92139
------
93140

94141
As part of :pull:`614`, elements which changed type were not deeply unmounted. This
95-
behavior is probably undesireable though since the state for children of the element
142+
behavior is probably undesirable though since the state for children of the element
96143
in question would persist (probably unexpectedly).
97144

98145
**Pull Requests**
@@ -136,7 +183,7 @@ this marker file.
136183
The highlight of this release is that the default :ref:`"key" <Organizing Items With
137184
Keys>` of all elements will be their index amongst their neighbors. Previously this
138185
behavior could be engaged by setting ``IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1`` when
139-
running IDOM. In this release though, you will need to explicitely turn off this feature
186+
running IDOM. In this release though, you will need to explicitly turn off this feature
140187
(i.e. ``=0``) to return to the old behavior. With this change, some may notice
141188
additional error logs which warn that:
142189

@@ -200,7 +247,7 @@ event dictionary. As part of this change we also add ``event["currentTarget"]``
200247
0.33.3
201248
------
202249

203-
Contains a small number of bug fixes and improvements. The most signicifact change is
250+
Contains a small number of bug fixes and improvements. The most significant change is
204251
the addition of a warning stating that `IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1` will become
205252
the default in a future release. Beyond that, a lesser improvement makes it possible to
206253
use the default export from a Javascript module when calling `module_from_template` by
@@ -277,7 +324,7 @@ yet.
277324

278325
- move VdomDict and VdomJson to proto - :pull:`492`
279326
- only send error info in debug mode - :pull:`491`
280-
- correcly apply client-side JSON patch - :pull:`490`
327+
- correctly apply client-side JSON patch - :pull:`490`
281328
- add script to set version of all packages in IDOM - :pull:`483`
282329
- Pass import source to bind - :pull:`482`
283330
- Do not mutate client-side model - :pull:`481`
@@ -339,12 +386,12 @@ The latter behavior is the most egregious design issue since there's absolutely
339386
indication that the component instance can be swapped out (not even a comment).
340387

341388
The new refactor no longer binds component or layout instances to a ``LifeCycleHook``.
342-
Instead, the hook simply receives an unparametrized callback that can be triggered to
389+
Instead, the hook simply receives an un-parametrized callback that can be triggered to
343390
schedule a render. While some error logs lose clarity (since we can't say what component
344391
caused them). This change precludes a need for the layout to ever mutate the hook.
345392

346-
To accomodate this change, the internal representation of the layout's state had to
347-
change. Previsouly, a class-based approach was take, where methods of the state-holding
393+
To accommodate this change, the internal representation of the layout's state had to
394+
change. Previously, a class-based approach was take, where methods of the state-holding
348395
classes were meant to handle all use cases. Now we rely much more heavily on very simple
349396
(and mostly static) data structures that have purpose built constructor functions that
350397
much more narrowly address each use case.
@@ -497,7 +544,7 @@ and breaking changes, the most significant of which are:
497544
- refactor flask - :commit:`94681b6`
498545
- refactor tornado + misc fixes to sanic/fastapi - :commit:`16c9209`
499546
- refactor fastapi using server protocol - :commit:`0cc03ba`
500-
- recactor sanic server - :commit:`43d4b4f`
547+
- refactor sanic server - :commit:`43d4b4f`
501548
- use server protocol instead of inheritance - :commit:`abe0fde`
502549
- support currentTime attr of audio/video elements - :commit:`975b54a`
503550
- pass children as props to mount() - :commit:`9494bc0`
@@ -554,7 +601,7 @@ several bugs that had cropped up related to improper usage of ``anyio``.
554601

555602
**Highlighted Commits:**
556603

557-
- improve docs + simplify multiview - :commit:`4129b60`
604+
- improve docs + simplify multi-view - :commit:`4129b60`
558605
- require anyio>=3.0 - :commit:`24aed28`
559606
- refactor dispatchers - :commit:`ce8e060`
560607

0 commit comments

Comments
 (0)