Skip to content

Commit 7f6ee8a

Browse files
author
Alessio Civitillo
committed
2 parents e0fb5e0 + 1527290 commit 7f6ee8a

File tree

28 files changed

+702
-473
lines changed

28 files changed

+702
-473
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
recursive-include src/idom/client *
22
recursive-include src/idom/web/templates *
3+
include src/idom/py.typed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.34.0
1+
0.35.1

docs/source/creating-interfaces/rendering-data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ see the server log a bunch of errors that look something like:
116116

117117
.. code-block:: text
118118
119-
Key not specified for dynamic child {'tagName': 'li', 'children': ['Do some coding']}
119+
Key not specified for child in list {'tagName': 'li', 'children': ...}
120120
121-
What this is telling you is that we haven't specified a unique ``key`` for each of the
121+
What this is telling us is that we haven't specified a unique ``key`` for each of the
122122
items in our todo list. In order to silence this warning we need to expand our data
123123
structure even further to include a unique ID for each item in our todo list:
124124

docs/source/developing-idom/changelog.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,59 @@
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>`.
8+
9+
10+
0.35.1
11+
------
12+
13+
Re-add accidentally deleted ``py.typed`` file to distribution. See `PEP-561
14+
<https://www.python.org/dev/peps/pep-0561/#packaging-type-information>`__ for info on
15+
this marker file.
16+
17+
18+
0.35.0
19+
------
20+
21+
The highlight of this release is that the default :ref:`"key" <Organizing Items With
22+
Keys>` of all elements will be their index amongst their neighbors. Previously this
23+
behavior could be engaged by setting ``IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1`` when
24+
running IDOM. In this release though, you will need to explicitely turn off this feature
25+
(i.e. ``=0``) to return to the old behavior. With this change, some may notice
26+
additional error logs which warn that:
27+
28+
.. code-block:: text
29+
30+
Key not specified for child in list ...
31+
32+
This is saying is that an element or component which was created in a list does not have
33+
a unique ``key``. For more information on how to mitigate this warning refer to the docs
34+
on :ref:`Organizing Items With Keys`.
35+
36+
**Closed Issues**
37+
38+
- Support Starlette Server - :issue:`588`
39+
- Fix unhandled case in module_from_template - :issue:`584`
40+
- Hide "Children" within IDOM_DEBUG_MODE key warnings - :issue:`562`
41+
- Bug in Element Key Identity - :issue:`556`
42+
- Add iFrame to idom.html - :issue:`542`
43+
- Create a use_linked_inputs widget instead of Input - :issue:`475`
44+
- React warning from module_from_template - :issue:`440`
45+
- Use Index as Default Key - :issue:`351`
46+
47+
**Pull Requests**
48+
49+
- add ``use_linked_inputs`` - :pull:`593`
50+
- add starlette server implementation - :pull:`590`
51+
- Log on web module replacement instead of error - :pull:`586`
52+
- Make Index Default Key - :pull:`579`
53+
- reduce log spam from missing keys in children - :pull:`564`
54+
- fix bug in element key identity - :pull:`563`
55+
- add more standard html elements - :pull:`554`
56+
457

558
0.34.0
659
------

docs/source/developing-idom/index.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Developing IDOM
66

77
contributor-guide
88
changelog
9-
roadmap
109

1110
.. note::
1211

@@ -42,8 +41,8 @@ you can help move this project and community forward!
4241
Discover the features and fixes included in each release
4342

4443
.. grid-item-card:: :octicon:`milestone` Roadmap
45-
:link: roadmap
46-
:link-type: doc
44+
:link: https://github.com/orgs/idom-team/projects/1
45+
:link-type: url
4746

4847
See the long term goals of the IDOM team
4948

docs/source/developing-idom/roadmap.rst

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/source/escape-hatches/_examples/super_simple_chart/app.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44

55

66
file = Path(__file__).parent / "super-simple-chart.js"
7-
ssc = web.module_from_file(
8-
"super-simple-chart",
9-
file,
10-
fallback="⌛",
11-
# normally this option is not required
12-
replace_existing=True,
13-
)
7+
ssc = web.module_from_file("super-simple-chart", file, fallback="⌛")
148
SuperSimpleChart = web.export(ssc, "SuperSimpleChart")
159

1610

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def tag(session: Session) -> None:
299299
external=True,
300300
)
301301
except Exception:
302-
session.error("Cannot create a tag - tROOT are uncommited changes")
302+
session.error("Cannot create a tag - there are uncommited changes")
303303

304304
version = get_version()
305305
install_requirements_file(session, "make-release")
@@ -308,6 +308,7 @@ def tag(session: Session) -> None:
308308
changelog_file = ROOT / "docs" / "source" / "developing-idom" / "changelog.rst"
309309
for line in changelog_file.read_text().splitlines():
310310
if line == version:
311+
session.log(f"Found changelog section for version {version}")
311312
break
312313
else:
313314
session.error(

package-lock.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)