3
This document is a list of user visible feature changes made between
4
releases excluding bug fixes.
6
Note that each entry is kept so brief that no reason behind or
7
reference information is supplied with. For a full list of changes
8
with all sufficient information, see the ChangeLog file.
10
== Changes with Ruby 1.8.5
12
=== New platforms/build tools support
20
=== Library updates (outstanding ones only)
24
* Updated based on date2 4.0.3.
28
* New internal APIs for C and Ruby.
30
* Support for autoloading.
32
* See below for new features and compatibility issues.
36
* Updated based on nkf as of 2007-01-28.
40
* Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable
41
(YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available,
42
but it is an alias name.
44
* Updated Tile extension support based on Tile 0.7.8.
46
* Support --without-X11 configure option for non-X11 versions of
47
Tcl/Tk (e.g. Tcl/Tk Aqua).
49
* New sample script: irbtkw.rbw -- IRB on Ruby/Tk. It has no trouble
50
about STDIN blocking on Windows.
52
=== New methods and features
56
* New method: Kernel#instance_variable_defined?
58
* New method: Module#class_variable_defined?
60
* New feature: Dir::glob() can now take an array of glob patterns.
64
* New digest class methods: file
66
* New digest instance methods: clone, reset, new,
67
inspect, digest_length (alias size or length),
70
* New library: digest/bubblebabble
72
* New function: Digest(name)
76
* New option for FileUtils.cp_r(): :remove_destination
80
* Replaced with much faster mutex implementation in C.
81
The former implementation is available with a
82
configure option `--disable-fastthread'.
86
* New method: WEBrick::Cookie.parse_set_cookies()
88
=== Compatibility issues (excluding feature bug fixes)
92
* String#intern now raises SecurityError when $SAFE level is greater
97
* A minor implementation change breaks Rake <=0.7.1.
98
Updating Rake to 0.7.2 fixes the problem.
102
* The constructor does no longer take an initial
103
string to feed; digest() and hexdigest() now do,
104
instead. The following examples show how to
108
md = Digest::MD5.new("string")
109
# After (works with any version)
110
md = Digest::MD5.new.update("string")
113
hd = Digest::MD5.new("string").hexdigest
114
# After (works with any version)
115
hd = Digest::MD5.hexdigest("string")