Skip to content

v1.1.0

Compare
Choose a tag to compare
@jerbob92 jerbob92 released this 24 Sep 20:01
· 98 commits to main since this release
dbd7fcd

What's Changed

A bunch of things were fixed that were discovered during the implementation of tests:

  • Expose the undefined value so it can be compared against
  • Allow string in bool ToWireType, empty string is false, everything else true
  • Engine was not correctly added to the class instances
  • Overloads now work correctly for everything that can have overloads, since Go doesn't have overloads we append the number of args to the name of the function
  • Overloads now properly end up in the generator
  • Check for read-only in class setters
  • Sort overloads for consistent order
  • Support for latest Emscripten because of changes to the bool registration
  • Array/objects getter/setter issues because of loop issues
  • Memory views not working correctly due to misunderstanding of implementation
  • Wrong type mapping in memory views
  • Extra checks to prevent panics/nil pointers
  • Wide string ToWireType
  • Issues with the registration of static methods and overloads
  • Deletion of classes now works properly
  • Destructor logic now works properly

The following methods were missed and have been added and implemented now:

  • _embind_register_class_class_property (static class properties)
  • _embind_register_smart_ptr
  • _emval_call
  • _emval_as_int64
  • _emval_as_uint64
  • _emval_new_array
  • _emval_new_object
  • _emval_typeof

The following methods were missed and have been added now, but not implemented yet:

  • _embind_create_inheriting_constructor
  • _emval_await
  • _emval_delete
  • _emval_equals
  • _emval_get_module_property
  • _emval_greater_than
  • _emval_in
  • _emval_instanceof
  • _emval_is_number
  • _emval_is_string
  • _emval_less_than
  • _emval_new_array_from_memory_view
  • _emval_new_u16string
  • _emval_new_u8string
  • _emval_not
  • _emval_strictly_equals
  • _emval_throw

New Contributors

Full Changelog: v1.0.0...v1.1.0