Skip to content

Commit b3e883e

Browse files
committed
Tidy up the changelog
PullRequest: truffleruby/679
2 parents 0c4cad3 + 5c69afa commit b3e883e

File tree

1 file changed

+42
-24
lines changed

1 file changed

+42
-24
lines changed

CHANGELOG.md

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Updated to Ruby 2.6.1.
55
Bug fixes:
66

77
* Implement `rb_io_wait_writable` (#1586).
8-
* Fixed error when using arrows keys first within `irb` or `pry` (#1478, #1486).
8+
* Fixed error when using arrows keys first within `irb` or `pry`
9+
(#1478, #1486).
910
* Coerce the right hand side for all `BigDecimal` operations (#1598).
1011
* Combining multiple `**` arguments containing duplicate keys produced
1112
an incorrect hash. This has now been fixed (#1469).
@@ -21,12 +22,14 @@ Changes:
2122

2223
* `-Xoptions` has been removed - use `--help:languages` instead.
2324
* `-Xlog=` has been removed - use `--log.level=` instead.
24-
* `-J` has been removed - use `--jvm.` instead.
25-
* `-J-cp lib.jar` and so on have removed - use `--jvm.cp=lib.jar` or `--jvm.classpath=lib.jar` instead.
25+
* `-J` has been removed - use `--vm.` instead.
26+
* `-J-cp lib.jar` and so on have removed - use `--vm.cp=lib.jar` or
27+
`--vm.classpath=lib.jar` instead.
28+
* `--jvm.` and `--native.` have been deprecated, use `--vm.` instead to pass
29+
VM options.
2630
* `-Xoption=value` has been removed - use `--option=value` instead.
2731
* The `-X` option now works as in MRI.
2832
* `--help:debug` is now `--help:internal`.
29-
* `--jvm.` and `--native.` have been deprecated, use `--vm.` instead to pass VM options.
3033
* `ripper` is still not implemented, but the module now exists and has some
3134
methods that are implemented as no-ops.
3235

@@ -41,22 +44,28 @@ New features:
4144

4245
Bug fixes:
4346

44-
* Fixed Enumerator::Lazy which wrongly rescued StandardError (#1557).
47+
* Fixed `Enumerator::Lazy` which wrongly rescued `StandardError` (#1557).
4548
* Fixed several problems with `Numeric#step` related to default arguments,
4649
infinite sequences, and bad argument types (#1520).
4750
* Fixed incorrect raising of `ArgumentError` with `Range#step` when at
4851
least one component of the `Range` is `Float::INFINITY` (#1503).
49-
* Fixed the wrong encoding being associated with certain forms of heredoc strings (#1563).
50-
* Call `#coerce` on right hand operator if `BigDecimal` is the left hand operator (#1533).
51-
* Fixed return type of division of `Integer.MIN_VALUE` and `Long.MIN_VALUE` by -1 (#1581).
52+
* Fixed the wrong encoding being associated with certain forms of heredoc
53+
strings (#1563).
54+
* Call `#coerce` on right hand operator if `BigDecimal` is the left hand
55+
operator (#1533).
56+
* Fixed return type of division of `Integer.MIN_VALUE` and `Long.MIN_VALUE`
57+
by -1 (#1581).
5258
* `Exception#cause` is now correctly set for internal exceptions (#1560).
53-
* `rb_num2ull` is now implemented as well as being declared in the ruby.h header (#1573).
59+
* `rb_num2ull` is now implemented as well as being declared in the `ruby.h`
60+
header (#1573).
5461
* `rb_sym_to_s` is now implemented (#1575).
55-
* `R_TYPE_P` now returns the type number for a wider set of Ruby objects #(1574).
62+
* `R_TYPE_P` now returns the type number for a wider set of Ruby
63+
objects (#1574).
5664
* `rb_fix2str` has now been implemented.
5765
* `rb_protect` will now work even if `NilClass#==` has been redefined.
5866
* `BigDecimal` has been moved out of the `Truffle` module to match MRI.
59-
* `StringIO#puts` now correctly handles `to_s` methods which do not return strings (#1577).
67+
* `StringIO#puts` now correctly handles `to_s` methods which do not return
68+
strings (#1577).
6069
* `Array#each` now behaves like MRI when the array is modified (#1580).
6170
* Clarified that `$SAFE` can never be set to a non-zero value.
6271
* Fix compatibility with RubyGems 3 (#1558).
@@ -70,28 +79,32 @@ Changes:
7079
* Getting a substring of a string created by a C extension now uses
7180
less memory as only the requested portion will be copied to a
7281
managed string.
73-
* `-Xoptions` has been deprecated and will be removed - use `--help:languages` instead.
82+
* `-Xoptions` has been deprecated and will be removed - use `--help:languages`
83+
instead.
7484
* `-Xlog=` has been deprecated and will be removed - use `--log.level=` instead.
7585
* `-J` has been deprecated and will be removed - use `--jvm.` instead.
7686
* `-J-cp lib.jar` and so on have been deprecated and will be removed - use
7787
`--jvm.cp=lib.jar` or `--jvm.classpath=lib.jar` instead.
78-
* `-J-cmd`, `--jvm.cmd`, `JAVA_HOME`, `JAVACMD`, and `JAVA_OPTS` do not work in any released
88+
* `-J-cmd`, `--jvm.cmd`, `JAVA_HOME`, `JAVACMD`, and `JAVA_OPTS` do not work
89+
in any released
7990
configuration of TruffleRuby, so have been removed.
80-
* `-Xoption=value` has been deprecated and will be removed - use `--option=value` instead.
91+
* `-Xoption=value` has been deprecated and will be removed - use
92+
`--option=value` instead.
8193
* `TracePoint` now raises an `ArgumentError` for unsupported events.
8294
* `TracePoint.trace` and `TracePoint#inspect` have been implemented.
8395

8496
Compatibility:
8597

8698
* Improved the exception when an `-S` file isn't found.
87-
* Removed the message from exceptions raised by bare `raise` to better match MRI (#1487).
99+
* Removed the message from exceptions raised by bare `raise` to better match
100+
MRI (#1487).
88101
* `TracePoint` now handles the `:class` event.
89102

90103
Performance:
91104

92-
* Sped up `String` handling in native extensions, quite substantially in some cases,
93-
by reducing conversions between native and managed strings and allowing for mutable
94-
metadata in native strings.
105+
* Sped up `String` handling in native extensions, quite substantially in some
106+
cases, by reducing conversions between native and managed strings and allowing
107+
for mutable metadata in native strings.
95108

96109
# 1.0 RC 12, 4 Februrary 2019
97110

@@ -120,7 +133,8 @@ New features:
120133
* macOS clocks `CLOCK_MONOTONIC_RAW`, `_MONOTONIC_RAW_APPROX`, `_UPTIME_RAW`,
121134
`_UPTIME_RAW_APPROX`, and `_PROCESS_CPUTIME_ID` have been implemented (#1480).
122135
* TruffleRuby now automatically detects native access and threading permissions
123-
from the `Context` API, and can run code with no permissions given (`Context.create()`).
136+
from the `Context` API, and can run code with no permissions
137+
given (`Context.create()`).
124138

125139
Bug fixes:
126140

@@ -130,7 +144,8 @@ Bug fixes:
130144
* `IO#reopen` now properly resets the receiver to be close-on-exec.
131145
* `StringIO#set_encoding` no longer raises an exception if the underlying
132146
`String` is frozen (#1473).
133-
* Fix handling of `Symbol` encodings in `Marshal#dump` and `Marshal#load` (#1530).
147+
* Fix handling of `Symbol` encodings in `Marshal#dump` and
148+
`Marshal#load` (#1530).
134149

135150
Compatibility:
136151

@@ -257,15 +272,18 @@ Bug fixes:
257272
* `readline` can now be interrupted by the interrupt signal (Ctrl+C). This fixes
258273
Ctrl+C to work in IRB.
259274
* Better compatibility with C extensions due to a new "managed struct" type.
260-
* Fixed compilation warnings which produced confusing messages for end users (#1422).
275+
* Fixed compilation warnings which produced confusing messages for end
276+
users (#1422).
261277
* Improved compatibility with Truffle polyglot STDIO.
262278
* Fixed version check preventing TruffleRuby from working with Bundler 2.0 and
263279
later (#1413).
264-
* Fixed problem with `Kernel.public_send` not tracking its caller properly (#1425).
280+
* Fixed problem with `Kernel.public_send` not tracking its caller
281+
properly (#1425).
265282
* `rb_thread_call_without_gvl()` no longer holds the C-extensions lock.
266283
* Fixed `caller_locations` when called inside `method_added`.
267284
* Fixed `mon_initialize` when called inside `initialize_copy` (#1428).
268-
* `Mutex` correctly raises a `TypeError` when trying to serialize with `Marshal.dump`.
285+
* `Mutex` correctly raises a `TypeError` when trying to serialize
286+
with `Marshal.dump`.
269287

270288
Performance:
271289

@@ -614,7 +632,7 @@ Performance:
614632

615633
* Conversion of ASCII-only Ruby strings to Java strings is now faster.
616634
* Several operations on multi-byte character strings are now faster.
617-
* Native I/O reads are ~22% faster.
635+
* Native I/O reads are about 22% faster.
618636

619637
Bug fixes:
620638

0 commit comments

Comments
 (0)