Fixes
- net.serve no longer crashes wry.run
API Changes
- all the types that had a
stop
method are now merged into a single type calledConnection
- the connection type has an is_running method that returns a boolean
- event enums are strings instead of userdata types
example: msg == wry.events.CloseRequested
would now be msg.event_type == "CloseRequested"
this let's us have better typechecking, for example in an if statement where we know event_type is CursorMoved, the type system would know the event only carries the position
property
Documentation
- added a section called Examples, currently it has one example for creating a simple UI element with basic error handling
Full Changelog: v0.1.4...v0.1.5