Skip to content

Version 0.10

Compare
Choose a tag to compare
@trizen trizen released this 16 Sep 22:55
· 3138 commits to master since this release

What's new

  • Added the Block.all and Block.any methods (6a39c5b)
  • Added the Array.index and Array.rindex methods (6da2ce7)
  • Added the following String methods: bin, oct, num (98e7a11)
  • Added the Match.join method to join the captured matches (087c773)
  • Added support to assign a value to a reference without dereferencing (d475f33)
  • Added the ClassInit.method and ClassInit.invoke methods (7fd6816)
  • Added the Number.atan and Number.atan2 methods (fba18cc)
  • Added the Sys.wait, Sys.fork and Socket.socketpair methods (6617f38)
  • Added the Range.map method for number ranges (00fc434)

Improvements

  • Improved the -O3 optimization level (376d7bf, 72ca7d9)
  • Hash.copy and Array.copy are now much faster and safer (86d9350)
  • Extended the Hash.default method to accept a block of code. (4522d5b)
  • Extended the Hash.delete method to delete more than one key (8a17915)
  • Extended the Number.range method to accept a third parameter (fa009ac)
  • Extended the »op« hyper-operator to work with arrays of different sizes (3b8612a)
  • Extended the smartmatch operator (~~) to work with Range ~~ Obj (f45a4c7)
  • Extended the MultiArr object to work with arrays of different sizes (0f4f985)
  • Added auto-stringification for Match and Complex objects. (1428ebc 6dae437)

Changes

  • The output of backticks is no longer UTF-8 decoded (f369175)
  • Removed the camelCase method-aliases, along with other core changes (19ab31b)
  • Changed the given/when construct to use the smartmatch operator (ceecf82)

Bug-fixes

  • Fixed a critical bug related to the initialization of Math::BigFloat (9ee37d0)
  • Returned objects from module calls are now objectified correctly (43e1f00)
  • Fixed the Hash.flip method -- it works correctly now (86d9350)
  • %w(...) arrays are now created dynamically at run-time (8f6e9e7)
  • The unary operators ? and ! will now work correctly with overloaded objects (41f9013)

More changes: 0.09...0.10