mruby 1.2.0
mruby 1.2.0 is released. Download mruby 1.2.0 now.
mruby 1.2.0 by the numbers
- 778 commits
- 24 contributors
- 202 changed files
- 3,947 additions(+)
- 3,903 deletions(-)
What’s new in MRuby 1.2.0
From here, you can see the outstanding changes that made this release.
Each entry is kept brief with a link to reference the associated ticket for more information.
Language changes
- Module#prepend added
- String#freeze added
- Array#index now with block form
Core classes changes
Stdlib updates
- Add
mruby-errormrbgem for exception handling library mrbtestbinary extracted tomruby-testmrbgemFiber.yieldis now public undermruby-fibermrbgemmrbcextracted asmruby-bin-mrbcmrbgem- #2760 by @take-cheeze
- Includes
mruby-compilermrbgem extraction
- Add Hash comparison methods
- Add String#prepend to
mruby-string-extmrbgem - Add String#insert to
mruby-string-extmrbgem - Add String#ljust to
mruby-string-extmrbgem- #2700 by @takahashim
- Add String#upto to
mruby-string-extmrbgem - Add String#setbyte and String#byteslice to
mruby-string-extmrbgem
C API updates
- Rename
DISABLE_STDIO->MRB_DISABLE_STDIO - Allow specify endian in big/little and native when dumping and loading mrbc
Build system updates
- Add
:mgemoption for loading gems frommgem-list - Allow
mrblibandtestdirectories to have subdirs. - Allow
bintestto have subdirs - Able to source mrbgems using
:pathoption - Add
host_targetandbuild_targetparam toMRuby::CrossBuildinstance - Allow customize bin install path using
INSTALL_DIRenvironment variable - Docs changed to yard-mruby and extracted to website
- Distribute MRuby’s source as a Ruby gem