- BREAKING remove the
before
key fromadded
and moved modifiedevents
. The index can be used instead. - Add oldvalue to update events
- Speedup looking up the index when adding child nodes
- Fix block insertion into another block that has a
block
set - Cleanup some uncecesesary code
- Use etree.tostring instead of html.tostring to speed up render
- Add destroy methods
- Drop usage of atomref
- Include new index in added and moved modification events
- Fix bug where pattern nodes caused nodes to be inserted in the incorrect order
- Fix error when
Raw
node source is empty string. - Make ext optional
- Allow
Raw
node to accept an etree element for the it's source.
- Move to python 3 only syntax and add typing annotations
- Reformat with black
- Add
dragstart
anddragover
events toTag
- Slightly speed up init_widget and use lru cache for determining attributes
- Use lru cache for proxy resolve class
- Remove unused init functions
- Remove logger and database from WebApplication, if you want those add them in a subclass.
- Change id generator to use a shorter (but slightly slower) version
Make markdown source modified event return the rendered value
This is the last version that works on python 2.7
Fix bug where Block with replace mode did not replace all child nodes
Allow passing keyword arguments to proxy.render and change encoding to 'unicode' by default (tests show it's faster) and don't pretty print by default.
Remove ref
and just use id
instead
Add slot to support weakref on the Html tag
Change tag attribute to use set_default
instead of lower of class name.
Rename find
of ProxyTag to xpath
.
Add support for moved nodes
Indicate where an added element should be inserted.
Use dict instead of sortedmap for caching (deletion is slow)
Use atomref instead of weakref
- The refs are now hex formatted to make them shorter
- Fixed double ';' when using style dict
- Add draggable and support for drag/drop events
Added optgroup
DB API was moved to an external project named atom-db
DB API was changed to use a get_or_create
method that can work with caching
when restoring objets from the database. The serializer find_object
was
renamed to get_object_state
and takes the object created by get_or_create
instead of the object class.
Add option to define order when restoring state by tagging members with
a setstate_order=<number>
to used for sorting. The default is 1000
.
Replace Bool
fields with Coerced(bool)
to better support numpy bools.
The web.core.db
module refactored and made into a package and split to
support both nosql and sql.
Application wrappers have been dropped. Just use web.core.app.WebApplication
.
In order to handle websockets now, a modified
event was added to the root
Html
tag. This will be triggered with the change from every child node.
Simply have your websockets observe this event for changes and
handle it accordingly.
Added ipython notebook renderer.