You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
# 0.13.0
2
+
-**BREAKING** Refactor Tag and implementation to significantly reduce memory usage
3
+
- The Tag's `tag` is now a ClassVar instead of an atom member. Use a subclass to change tags.
4
+
- The Tag's `clickable` and `draggable` are now removed. `clickable` is automatically inferred if a `clicked` handler is defined. `draggable` is inferred if `dragstart` is defined.
5
+
- Due to their minimal usage `onclick`, `ondragstart`, `ondragover`, `ondragend`, `ondragenter` and `ondragleave` are removed. Use
6
+
the `attrs` dict to define these instead.
7
+
- The `alt` attribute was moved from `Tag` to `A` and `Img`, for other nodes use the `attrs` dict.
8
+
- The `cls` attributes now only accept strings. These values are now internd to save memory
9
+
- Tags now have a `find_by_id` method to retrieve a node by it's `id` field
10
+
- Fix bug where an item removed attrs dict was not removed from the html
11
+
- Any proxy `set_{attr}` methods now take a second argument that includes the oldvalue.
0 commit comments