Skip to content

0.2.0

Compare
Choose a tag to compare
@GrayJack GrayJack released this 22 Feb 18:30
· 299 commits to dev since this release
c8d279c

Changes

  • BREAKING: Add Janet::unwrap that return TaggedJanet
  • BREAKING: Rename Janet::unwrap to Janet::try_unwrap
  • Add JanetEnvironment type
  • Add janet_version/cjvg attribute macros for conditional compilation of Janet versions
  • Add split iterator for JanetBuffer and JanetString
  • Add jcatch declarative macro
  • Refactor JanetClient in terms of JanetEnvironment
  • Implement TaggetJanet type
  • Implement JanetAbstract type
  • Implement JanetPointer type
  • Implement JanetTryState for Janet "exception" recovery
  • Implement PartialEq, Eq, PartialOrd and Ord for several Janet types
  • janet_fn now can accept a parameter check_mut_ref that checks if the function received more than one *mut pointer as parameter (not the default because Janet types are like interior mutability types)
  • More methods added for several types and improvements to the docs

Bug Fixes

  • Fix change in behavior in JanetBuffer since Janet 1.13.0 and also enforce that on earlier versions