Releases: Anyolite/anyolite
Releases · Anyolite/anyolite
Anyolite version 0.6.1
Version 0.6.1
Bugfixes
- Non-public constructor methods could not be wrapped
Anyolite version 0.6.0
Version 0.6.0
Features
- Wrappers for unions
- Wrappers for nilable objects
Breaking changes
- Wrapping of specific functions has a more consistent syntax using Arrays instead of Hashes
Safety
- More useful compiletime errors for macros
- More information when encountering type casting errors
- Use Array(TypeDeclaration) instead of Hash for keywords in internal methods
Usability
- Cleaned up some code fragments
Bugfixes
- Wrapped struct objects were immutable
Anyolite version 0.5.0
Version 0.5.0
Features
- Support for enums
- Ability to rename classes and modules
Usability
- Empty argument list for specialization can be specified with nil
- Exclusion message for mruby methods, finalize and to_unsafe
- Exclusion of non-public methods
- Exclusion of to_unsafe
- Non-fatal runtime errors are triggered in mruby instead of Crystal
Bugfixes
- Proper resolution of class and module hierarchies
Anyolite version 0.4.1
Version 0.4.1
Usability
- Method names in annotations can be given as strings
- More and better verbose information for wrapping
Bugfixes
- Setters can be excluded correctly
- Manually wrapped properties work correctly now
- Correct handling of generic function arguments like Int, Number or Float
Anyolite version 0.4.0
Version 0.4.0
Major features
- Easier wrapping of classes and all of their methods and constants
- Annotation to exclude functions from wrapping
- Annotation to specialize functions for wrapping
- Annotation to rename wrapped functions
- Full wrapping of module and class hierarchies
Breaking changes
- Function names with operators do not include the operator into the ruby name anymore
- Unified module and class cache
Usability
- Documentation updates for the new wrapping routines
- Functions with only an operator in their name can now be wrapped using
MrbWrap::Empty
Bugfixes
- Nested classes and modules can now be wrapped reliably
Anyolite version 0.4.0-pre
Version 0.4.0
Major features
- Easier wrapping of classes and all of their methods and constants
- Annotation to exclude functions from wrapping
- Annotation to specialize functions for wrapping
- Annotation to rename wrapped functions
- Full wrapping of module and class hierarchies
Breaking changes
- Function names with operators do not include the operator into the ruby name anymore
- Unified module and class cache
Usability
- Documentation updates for the new wrapping routines
- Functions with only an operator in their name can now be wrapped using
MrbWrap::Empty
Bugfixes
- Nested classes and modules can now be wrapped reliably
Anyolite version 0.3.0
Version 0.3.0
Features
- Crystal structs are wrapped using wrapper objects
Breaking changes
- Struct hash values as object ID replacements are obsolete
- Option hash for reference table instead of flags
- Consistent naming for mruby hooks
Safety
- Structs with equal hash values do not interfere anymore
Usability
- MrbModule instances and Crystal modules can both be used in wrapper methods
Anyolite version 0.2.3
Usability
- More options for adjusting reference table
Bugfixes
- Fixed reference counter not increasing
Anyolite version 0.2.2
Usability
- Added more debugging methods
- Allowed for custom object IDs by defining
mruby_object_id
for a class
Bugfixes
- Fixed problems with struct wrapping
Anyolite version 0.2.1
Usability
- Operator suffixes as general optional argument for MrbWrap functions
- Option to inspect reference table
- Reference counting in reference table
- Reference table can be cleared
Bugfixes
- Fixed structs not being able to be wrapped
- Fixed example in documentation
- Fixed memory leak when returning nontrivial objects in mruby
- Removed constructor limitations for types being able to be used as return values