|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "mruby 1.2.0 released" |
| 4 | +date: 2015-11-18 12:13:55 |
| 5 | +categories: releases |
| 6 | +--- |
| 7 | + |
| 8 | +mruby 1.2.0 released |
| 9 | +==================== |
| 10 | + |
| 11 | +mruby 1.2.0 is released. Download [mruby 1.2.0][mruby-1.2.0-dl] now. |
| 12 | + |
| 13 | +[mruby-1.2.0-dl]: https://github.com/mruby/mruby/archive/1.2.0.zip |
| 14 | + |
| 15 | +## mruby 1.2.0 by the numbers |
| 16 | + |
| 17 | +* 24 [contributors](contributors) |
| 18 | +* 202 changed files |
| 19 | +* 3,947 additions(+) |
| 20 | +* 3,903 deletions(-) |
| 21 | + |
| 22 | +[See the full diff](https://github.com/mruby/mruby/compare/1.1.0...1.2.0). |
| 23 | + |
| 24 | +## What's new in MRuby 1.2.0 |
| 25 | + |
| 26 | +From here, you can see the outstanding changes that made this release. |
| 27 | + |
| 28 | +Each entry is kept brief with a link to reference the associated ticket for |
| 29 | +more information. |
| 30 | + |
| 31 | + |
| 32 | +### Language changes |
| 33 | + |
| 34 | +* Module#prepend added |
| 35 | + * [#2885](https://github.com/mruby/mruby/pull/2885) by [@archSeer](archSeer) |
| 36 | + |
| 37 | +* String#freeze added |
| 38 | + * [1a45447b](https://github.com/mruby/mruby/commit/1a45447b) by [@matz](matz) |
| 39 | + |
| 40 | +* Array#index now with block form |
| 41 | + * [fafe86d](https://github.com/mruby/mruby/commit/fafe86d) by [@matz](matz) |
| 42 | + |
| 43 | + |
| 44 | +### Core classes changes |
| 45 | + |
| 46 | +* UTF-8 String support |
| 47 | + * [798ec3a](https://github.com/mruby/mruby/commit/798ec3a) by [@matz](matz) |
| 48 | + * Windows support in [#1822](https://github.com/mruby/mruby/pull/1822) by [@mattn](mattn) |
| 49 | + |
| 50 | + |
| 51 | +### Stdlib updates |
| 52 | + |
| 53 | +* Add `mruby-error` mrbgem for exception handling library |
| 54 | + * [#2845](https://github.com/mruby/mruby/pull/2845) by [@take-cheeze](take-cheeze) |
| 55 | + |
| 56 | +* `mrbtest` binary extracted to `mruby-test` mrbgem |
| 57 | + * [#2924](https://github.com/mruby/mruby/pull/2924) by [@zzak](zzak) |
| 58 | + * Use `conf.enable_test` in `build_config.rb` to run tests |
| 59 | + |
| 60 | +* `Fiber.yield` is now public under `mruby-fiber` mrbgem |
| 61 | + * [28e735e](https://github.com/mruby/mruby/commit/28e735e) by [@matz](matz) |
| 62 | + |
| 63 | +* `mrbc` extracted as `mruby-bin-mrbc` mrbgem |
| 64 | + * [#2760](https://github.com/mruby/mruby/pull/2760) by [@take-cheeze](take-cheeze) |
| 65 | + * Includes `mruby-compiler` mrbgem extraction |
| 66 | + |
| 67 | +* Add Hash comparison methods |
| 68 | + * [#3010](https://github.com/mruby/mruby/pull/3010) by [@nobu](nobu) |
| 69 | + * Moved to `mruby-hash-ext` mrbgem in [fa86026](https://github.com/mruby/mruby/commit/fa86026) by [@matz](matz) |
| 70 | + |
| 71 | +* Add String#prepend to `mruby-string-ext` mrbgem |
| 72 | + * [#2674](https://github.com/mruby/mruby/pull/2674) by [@suzukaze](suzukaze) |
| 73 | + |
| 74 | +* Add String#insert to `mruby-string-ext` mrbgem |
| 75 | + * [#2669](https://github.com/mruby/mruby/pull/2669) by [@suzukaze](suzukaze) |
| 76 | + |
| 77 | +* Add String#ljust to `mruby-string-ext` mrbgem |
| 78 | + * [#2700](https://github.com/mruby/mruby/pull/2700) by [@takahashim](takahashim) |
| 79 | + |
| 80 | +* Add String#upto to `mruby-string-ext` mrbgem |
| 81 | + * [#2701](https://github.com/mruby/mruby/pull/2701) by [@suzukaze](suzukaze) |
| 82 | + |
| 83 | +* Add String#setbyte and String#byteslice to `mruby-string-ext` mrbgem |
| 84 | + * [4fdf492](https://github.com/mruby/mruby/commit/4fdf492) by [@matz](matz) |
| 85 | + |
| 86 | + |
| 87 | +### C API updates |
| 88 | + |
| 89 | +* Rename `DISABLE_STDIO` -> `MRB_DISABLE_STDIO` |
| 90 | + * Also renamed `ENABLE_DEBUG` -> `MRB_ENABLE_DEBUG_HOOK` |
| 91 | + * [#3014](https://github.com/mruby/mruby/pull/3014) by [@cremno](cremno) |
| 92 | + |
| 93 | +* Allow specify endian in big/little and native when dumping and loading mrbc |
| 94 | + * [bc9c47d](https://github.com/mruby/mruby/commit/bc9c47d) by [@matz](matz) |
| 95 | + |
| 96 | + |
| 97 | +### Build system updates |
| 98 | + |
| 99 | +* Add `:mgem` option for loading gems from `mgem-list` |
| 100 | + * [#2846](https://github.com/mruby/mruby/pull/2846) by [@take-cheeze](take-cheeze) |
| 101 | + |
| 102 | +* Allow `mrblib` and `test` directories to have subdirs. |
| 103 | + * [#2943](https://github.com/mruby/mruby/pull/2943) by [@zzak](zzak) |
| 104 | + |
| 105 | +* Allow `bintest` to have subdirs |
| 106 | + * [#2927](https://github.com/mruby/mruby/pull/2927) by [@hone](hone) |
| 107 | + |
| 108 | +* Able to source mrbgems using `:path` option |
| 109 | + * [#2907](https://github.com/mruby/mruby/pull/2907) by [@hone](hone) |
| 110 | + |
| 111 | +* Add `host_target` and `build_target` param to `MRuby::CrossBuild` instance |
| 112 | + * Useful for cross-compiling native extension |
| 113 | + * [#2857](https://github.com/mruby/mruby/pull/2857) by [@hone](hone) |
| 114 | + |
| 115 | +* Allow customize bin install path using `INSTALL_DIR` environment variable |
| 116 | + * [#2949](https://github.com/mruby/mruby/pull/2949) by [@tatsuhiro-t](tatsuhiro-t) |
| 117 | + |
| 118 | +* Docs changed to yard-mruby and extracted to website |
| 119 | + * [#2984](https://github.com/mruby/mruby/pull/2984) by [@sagmor](sagmor) |
| 120 | + |
| 121 | +* Distribute MRuby's source as a Ruby gem |
| 122 | + * [#2937](https://github.com/mruby/mruby/pull/2937) by [@sagmor](sagmor) |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | +[matz]: https://github.com/matz |
| 127 | +[zzak]: https://github.com/zzak |
| 128 | +[hone]: https://github.com/hone |
| 129 | +[mattn]: https://github.com/mattn |
| 130 | +[cremno]: https://github.com/cremno |
| 131 | +[nobu]: https://github.com/nobu |
| 132 | +[takahashim]: https://github.com/takahashim |
| 133 | +[sagmor]: https://github.com/sagmor |
| 134 | +[archSeer]: https://github.com/archSeer |
| 135 | +[take-cheeze]: https://github.com/take-cheeze |
| 136 | +[suzukaze]: https://github.com/suzukaze |
| 137 | + |
| 138 | +[contributors]: https://github.com/mruby/mruby/graphs/contributors |
0 commit comments