|
| 1 | +--- |
| 2 | +layout: news_post |
| 3 | +title: "Ruby 2.3.0-preview1 Released" |
| 4 | +author: "naruse" |
| 5 | +translator: |
| 6 | +date: 2015-11-11 14:00:00 +0000 |
| 7 | +lang: en |
| 8 | +--- |
| 9 | + |
| 10 | +We are pleased to announce the release of Ruby 2.3.0-preview1. |
| 11 | + |
| 12 | +Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0. |
| 13 | +Many new features and improvements are included. |
| 14 | + |
| 15 | +[Frozen String Literal |
| 16 | +Pragma](https://bugs.ruby-lang.org/issues/11473) is introduced. On |
| 17 | +Ruby 2.1, "str".freeze is optimized to reduce object allocation. Ruby |
| 18 | +2.3 introduces new magic comment and command line option to specify |
| 19 | +all the string literals in the source files. |
| 20 | +Additionally for debugging, you can get where the object is created on |
| 21 | +"can't modify frozen String" error by |
| 22 | +--enable-frozen-string-literal-debug. |
| 23 | + |
| 24 | +[Safe navigation operator](https://bugs.ruby-lang.org/issues/11537), |
| 25 | +which already exists in C#, Groovy, and Swift, is introduced to ease |
| 26 | +nil handling as `obj&.foo`. Array#dig and Hash#dig are also added. |
| 27 | + |
| 28 | +[did_you_mean.gem is |
| 29 | +bundled](https://bugs.ruby-lang.org/issues/11252). did_you_mean.gem |
| 30 | +show the candidates on the NameError and NoMethodError to ease |
| 31 | +debbugging. |
| 32 | + |
| 33 | +Try and enjoy programming with Ruby 2.3.0-preview1, and report us your |
| 34 | +knowledge! |
| 35 | + |
| 36 | +## Notable Changes since 2.2 |
| 37 | +* TBD |
| 38 | + |
| 39 | +See [NEWS](https://github.com/ruby/ruby/blob/v2_3_0_preview1/NEWS) and |
| 40 | +[ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0_preview1/ChangeLog) |
| 41 | +for detail. |
| 42 | + |
| 43 | +With those changes, 1036 files changed, 81312 insertions(+), 51322 |
| 44 | +deletions(-) since Ruby 2.2.0. |
| 45 | + |
| 46 | +## Download |
| 47 | + |
| 48 | +* <http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.tar.bz2> |
| 49 | + * SIZE: 14174035 bytes |
| 50 | + * SHA1: 55ad4f04d7a33ab780458ee0999de9f6124217ea |
| 51 | + * SHA256: 42b9c9e1740a5abe2855d11803524370bd95744c8dcb0068572ed5c969ac7f0f |
| 52 | + * SHA512: ae6d46c87f59e1fd3703b76dfc45bfcf208625f95ab9f4559f0b9f7050e8681f1a6e419f5fa06b704c83e56879c3a9ff1337dba443bcfca76fadb49c97d97a93 |
| 53 | +* <http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.tar.gz> |
| 54 | + * SIZE: 17560800 bytes |
| 55 | + * SHA1: 6249572e5dca27d8c73a0cbf036e24e5d88fe82f |
| 56 | + * SHA256: dc8f9d48392a2bb226df5f4b4fd2074d81af155cdf3f3799139a6e31e012aefe |
| 57 | + * SHA512: 58384ef6e743dde20ea263692dab86ce9d6d22d722ef4c02a84396aa3128ce06d933d9b69078a3cd666d72320a8a6ffdc93296bc0d5338595b2a44c29d4db383 |
| 58 | +* <http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.tar.xz> |
| 59 | + * SIZE: 11225228 bytes |
| 60 | + * SHA1: 85b4f631efa4b6435b2b41df6ce6c46da294c4d4 |
| 61 | + * SHA256: a88e19d9dc001db8f49ca3986a8a4e69980affff876854585725e40de0eedcd8 |
| 62 | + * SHA512: 3be0f3ed4de73509b2f6975fe3fbe28bb4d51df87db6e2c0019e8a107edf49be60b2127ba5b18bca91f9f5964b07f1adde3042dac6327017359eeb130760672b |
| 63 | +* <http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.zip> |
| 64 | + * SIZE: 19777010 bytes |
| 65 | + * SHA1: 3458666c250dd333ac4b537be25f1913dd311ea1 |
| 66 | + * SHA256: 0fc1d4450e9141f541038a4433f8fb49fb929e43c7bf5985685a4fa7b213a811 |
| 67 | + * SHA512: f53653cf11d8dce1d627f7db3a15acca29c74c78735406a5d64bbbdc39fac232ef63110eb4d83521bef40c6f3006d55bbeaf54d1ddab1d4b6e5a13cee9247e85 |
| 68 | + |
| 69 | +## Release Comment |
| 70 | + |
| 71 | +See also the release schedule and other information: |
| 72 | + |
| 73 | +[ReleaseEngineering23](http://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering23) |
0 commit comments