Skip to content

Commit

Permalink
Merge pull request #2 from acivitillo/idom-team-main
Browse files Browse the repository at this point in the history
Idom team main
  • Loading branch information
acivitillo authored Mar 4, 2022
2 parents 5b1dbd2 + 842e0cc commit f589b03
Show file tree
Hide file tree
Showing 163 changed files with 10,683 additions and 671 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.36.3
0.37.1-a2
2 changes: 1 addition & 1 deletion docs/source/_custom_js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions docs/source/_static/css/furo-theme-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ body {
--admonition-title-font-size: 1rem !important;
--admonition-font-size: 1rem !important;
}

.sidebar-container {
width: 18em;
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,58 @@
Changelog
=========

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

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

All notable changes to this project will be recorded in this document. The style of
which is based on `Keep a Changelog <https://keepachangelog.com/>`__. The versioning
scheme for the project adheres to `Semantic Versioning <https://semver.org/>`__.


Unreleased
----------

Nothing yet...


0.37.1-a2
---------

Fixed:

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


0.37.1-a1
---------

Fixed:

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


0.37.0
------

Added:

- Support for keys in HTML fragments - :issue:`682`
- Use Context Hook - :pull:`585`

Fixed:

- React warning about set state in unmounted component - :issue:`690`
- Missing reset of schedule_render_later flag - :pull:`688`

----

Releases below do not use the "Keep a Changelog" style guidelines.

----

0.36.3
------
Expand Down Expand Up @@ -92,7 +139,7 @@ for elements at the root did not trigger unmounts.
------

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

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

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

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

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

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

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

**Highlighted Commits:**

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

Expand Down
Loading

0 comments on commit f589b03

Please sign in to comment.