Skip to content

0.1.5

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 02 May 14:13
· 7 commits to main since this release
a09332e

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 called Connection
  • 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