Skip to content

2.0.0

Choose a tag to compare

@nkaaf nkaaf released this 18 Feb 18:26
· 35 commits to main since this release
bf5e04e

Breaking Changes

  • Change default mutability behavior to immutable list to be more intuitive (#7)
  • remove get() method from public api; it should be an internal implementation

Examples

  • update to new (im)mutable behavior
  • prefer using the getValue() method; remove usage of get()
  • prevent memory leaks

Migration

  • If you want to have a mutable list, set the parameter of the constructor to 'true' (boolean)
  • replace get() with getValue(), or getPointer() where needed. getValue() is the more often used method, and it doesn't need the unary indirection operator (*) which will make it more user-friendly. Experts can use getPointer() if they need the pointer.