
1: = NEWS 2: 3: This document is a list of user visible feature changes made between 4: releases excluding bug fixes. 5: 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. 9: 10: == Changes with Ruby 1.8.5 11: 12: === New platforms/build tools support 13: 14: * IA64 HP-UX 15: 16: * Visual C++ 8 SP1 17: 18: * autoconf 2.6x 19: 20: === Library updates (outstanding ones only) 21: 22: * date 23: 24: * Updated based on date2 4.0.3. 25: 26: * digest 27: 28: * New internal APIs for C and Ruby. 29: 30: * Support for autoloading. 31: 32: * See below for new features and compatibility issues. 33: 34: * nkf 35: 36: * Updated based on nkf as of 2007-01-28. 37: 38: * tk 39: 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. 43: 44: * Updated Tile extension support based on Tile 0.7.8. 45: 46: * Support --without-X11 configure option for non-X11 versions of 47: Tcl/Tk (e.g. Tcl/Tk Aqua). 48: 49: * New sample script: irbtkw.rbw -- IRB on Ruby/Tk. It has no trouble 50: about STDIN blocking on Windows. 51: 52: === New methods and features 53: 54: * builtin classes 55: 56: * New method: Kernel#instance_variable_defined? 57: 58: * New method: Module#class_variable_defined? 59: 60: * New feature: Dir::glob() can now take an array of glob patterns. 61: 62: * digest 63: 64: * New digest class methods: file 65: 66: * New digest instance methods: clone, reset, new, 67: inspect, digest_length (alias size or length), 68: block_length() 69: 70: * New library: digest/bubblebabble 71: 72: * New function: Digest(name) 73: 74: * fileutils 75: 76: * New option for FileUtils.cp_r(): :remove_destination 77: 78: * thread 79: 80: * Replaced with much faster mutex implementation in C. 81: The former implementation is available with a 82: configure option `--disable-fastthread'. 83: 84: * webrick 85: 86: * New method: WEBrick::Cookie.parse_set_cookies() 87: 88: === Compatibility issues (excluding feature bug fixes) 89: 90: * builtin classes 91: 92: * String#intern now raises SecurityError when $SAFE level is greater 93: than zero. 94: 95: * fileutils 96: 97: * A minor implementation change breaks Rake <=0.7.1. 98: Updating Rake to 0.7.2 fixes the problem. 99: 100: * digest 101: 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 105: migrate: 106: 107: # Before 108: md = Digest::MD5.new("string") 109: # After (works with any version) 110: md = Digest::MD5.new.update("string") 111: 112: # Before 113: hd = Digest::MD5.new("string").hexdigest 114: # After (works with any version) 115: hd = Digest::MD5.hexdigest("string")