#94 F28 Change: Ruby 2.5
Closed 5 years ago Opened 6 years ago by jkurik.

This issue tracks the release note for the following Fedora Change:

Ruby 2.5
owned by @vondruch

If you own this change, please add additional information here that we should communicate to Fedora users. Specifically, please consider:

  • New features available because of this change - pick 2 or 3 that are important
  • Considerations for users of previous releases of Fedora (upgrade issues, format changes, etc.)
  • Links to any upstream Release Notes
  • If this helps Fedora be a superior environment for our target audiences, please explain how so that we can emphasize this.

Your notes to us do not need to be formally written. We will edit them and add details as needed. This is a way for you to ensure that we know what is critical about your change.

If you want to write this release note, then:

  • Assign this issue to yourself
  • Check the wiki page linked above, find out what the change is about
  • Determine whether the change actually made it into the release or not[0]
  • Write a draft release note using that information against the correct branch here, in Pagure. (or see below)
  • Get in touch with the contact person/people listed on the wiki page, either through IRC or e-mail, and ask them to check your draft for technical accuracy
  • Submit your Release Note as a PR to this repository.

Once you're done with the above, make sure to either commit the relnote to an appropriate section of the Release Notes book, or, if you're not familiar with Git, AsciiDoc, or whatever else, just add it to this issue as a comment and let pbokoc[1] and Brian ( @bex ) know that you're done with this one and you'd like the note included. Also make sure to do this even for relnotes that haven't been checked by the change owner.

[0] You can do that by asking the change owner listed on the wiki page; alternatively you can infer it by checking the tracker bug (linked in Wiki) in Bugzilla and looking at its status; see bug comments for details. Ask someone on the mailing list or on IRC if you're not sure.
[1] In #fedora-docs on FreeNode (UTC+1 timezone, online mostly during the day on weekdays), or pbokoc @redhat.com if you can't get a hold of me on IRC.


New Features

  • rescue/else/ensure are now allowed to be used directly with do/end blocks.
  • Add yield_self to yield given block in its context. Unlike tap, it returns the result of the block.
  • Support branch coverage and method coverage measurement. The branch coverage indicates which branches are executed and which are not. The method coverage indicates which methods are invoked and which are not. By running a test suite with these new features, you will know which branches and methods are executed, and evaluate total coverage of the test suite more strictly.
  • Hash#slice and Hash#transform_keys.
  • Struct.new can create classes that accept keyword arguments.
  • Enumerable#any?, all?, none?, and one? accept a pattern argument.
  • Top-level constant look-up is no longer available.
  • One of our most loved libraries, pp.rb, is now automatically loaded. You no longer have to write require "pp".
  • Print backtrace and error message in reverse order (oldest call first, most recent call last). When a long backtrace appears on your terminal (TTY), you can easily find the cause line at the bottom of the backtrace. Note that the order is reversed only when the backtrace is printed out to the terminal directly.

Upgrade/compatibility impact

The source level compatibility with previous versions of Ruby should be preserved. Nevertheless, user specific Ruby binary extensions need to be rebuild.

Links to any upstream Release Notes

https://github.com/ruby/ruby/blob/v2_5_0/NEWS

If this helps Fedora be a superior environment for our target audiences, please explain how so that we can emphasize this.

Ruby 2.5 is the latest stable version of Ruby. Many new features and improvements are included for the increasingly diverse and expanding demands for Ruby. With this major update from Ruby 2.4 in Fedora 26 to Ruby 2.5 in Fedora 28, Fedora becomes the superior Ruby development platform.

Metadata Update from @pbokoc:
- Issue assigned to pbokoc

6 years ago

Metadata Update from @pbokoc:
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata