|
| 1 | +--- |
| 2 | +layout: news_post |
| 3 | +title: "È stato rilasciato Ruby 2.1.0-preview2" |
| 4 | +author: "nursh" |
| 5 | +translator: "alepore" |
| 6 | +date: 2013-11-22 22:00:00 UTC |
| 7 | +lang: it |
| 8 | +--- |
| 9 | + |
| 10 | +Siamo lieti di annunciare il rilascio di Ruby 2.1.0-preview2. |
| 11 | +Per favore provate le nuove feature di Ruby 2.1 prima del rilascio finale! |
| 12 | + |
| 13 | +## Modifiche rilevanti dalla preview 1 |
| 14 | + |
| 15 | +* risolto [Heap Overflow nel Parsing di numeri in Virgola Mobile (CVE-2013-4164)](https://www.ruby-lang.org/it/news/2013/11/22/heap-overflow-nel-parsing-di-numeri-in-virgola-mobile-cve-2013-4164/) |
| 16 | +* "literal".freeze è ora ottimizzato [#9042](https://bugs.ruby-lang.org/issues/9042) |
| 17 | +* il suffisso f delle String Literal è stato rimosso [#9042](https://bugs.ruby-lang.org/issues/9042) |
| 18 | +* risolto problema di consumo memoria sul RGenGC ([r43532](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43532) e [r43755](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43755)) |
| 19 | +* aggiunto Exception#cause [#8257](https://bugs.ruby-lang.org/issues/8257) |
| 20 | +* aggiornate librerie come json, nkf, rake, RubyGems, e RDoc. |
| 21 | + |
| 22 | +## Download |
| 23 | + |
| 24 | +* [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.bz2](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.bz2) |
| 25 | + |
| 26 | + SIZE: 11432454 bytes |
| 27 | + MD5: 9d566a9b2d2e7e35ad6125e2a14ce672 |
| 28 | + SHA256: 780fddf0e3c8a219057d578e83367ecfac5e945054b9f132b3b93ded4802d1ce |
| 29 | + |
| 30 | +* [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.gz](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.gz) |
| 31 | + |
| 32 | + SIZE: 14416029 bytes |
| 33 | + MD5: ba2b95d174e156b417a4d580a452eaf5 |
| 34 | + SHA256: a9b1dbc16090ddff8f6c6adbc1fd0473bcae8c69143cecabe65d55f95f6dbbfb |
| 35 | + |
| 36 | +* [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.zip](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.zip) |
| 37 | + |
| 38 | + SIZE: 16110720 bytes |
| 39 | + MD5: 2ad1aa3d89ae32607cf14fc73b192de1 |
| 40 | + SHA256: cc2f7f8e05daed716489e5480e6365a711a13ed7747dbc59e989a41fe2805076 |
| 41 | + |
| 42 | +## Modifiche dalla versione 2.0 |
| 43 | + |
| 44 | +Le modifiche rilevanti sono: |
| 45 | + |
| 46 | +* VM (method cache) |
| 47 | +* RGenGC (Vedi [la presentazione al RubyKaigi](http://rubykaigi.org/2013/talk/S73) e [la presentazione alla RubyConf2013](http://www.atdot.net/~ko1/activities/rubyconf2013-ko1_pub.pdf) di ko1) |
| 48 | +* refinements [#8481](https://bugs.ruby-lang.org/issues/8481) [#8571](https://bugs.ruby-lang.org/issues/8571) |
| 49 | +* modifiche di sintassi |
| 50 | + * Decimal/Complex Literal [#8430](https://bugs.ruby-lang.org/issues/8430) |
| 51 | + * valore di ritorno dei def [#3753](https://bugs.ruby-lang.org/issues/3753) |
| 52 | +* Bignum |
| 53 | + * usa 128bit integers [#8509](https://bugs.ruby-lang.org/issues/8509) |
| 54 | + * usa GMP [#8796](https://bugs.ruby-lang.org/issues/8796) |
| 55 | +* String#scrub [#8414](https://bugs.ruby-lang.org/issues/8414) |
| 56 | +* Socket.getifaddrs [#8368](https://bugs.ruby-lang.org/issues/8368) |
| 57 | +* RDoc 4.1.0.preview.2 e RubyGems 2.2.0.preview.2 |
| 58 | + |
| 59 | +Guarda più dettagli sulle modifiche: [NEWS su ruby repository(WIP)](https://github.com/ruby/ruby/blob/v2_1_0_preview2/NEWS). |
| 60 | + |
| 61 | +ko1 ha parlato a proposito delle nuove features di Ruby 2.1 al toruby: |
| 62 | +[All about Ruby 2.1](http://www.atdot.net/~ko1/activities/toruby05-ko1.pdf) |
| 63 | + |
| 64 | +Konstantin Haase (@konstantinhaase) ha scritto un buon riassunto nel suo blog |
| 65 | +post: [What's new in Ruby 2.1?](http://rkh.im/ruby-2.1). |
| 66 | + |
| 67 | +## Commenti al rilascio |
| 68 | + |
| 69 | +Problemi noti sono: |
| 70 | + |
| 71 | +[http://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102](http://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102) |
| 72 | + |
| 73 | +Vedere inoltre il release schedule e altre informazioni: |
| 74 | + |
| 75 | +[http://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering210](http://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering210) |
0 commit comments