[ruby-oci8-commit] [430] trunk/ruby-oci8: * NEWS: add changes between 2.0.4 and 2.0.5.

nobody at rubyforge.org nobody at rubyforge.org
Sun Jun 12 09:09:42 EDT 2011


Revision: 430
Author:   kubo
Date:     2011-06-12 09:09:42 -0400 (Sun, 12 Jun 2011)

Log Message:
-----------
* NEWS: add changes between 2.0.4 and 2.0.5.

Modified Paths:
--------------
    trunk/ruby-oci8/ChangeLog
    trunk/ruby-oci8/NEWS

Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog	2011-06-12 13:07:27 UTC (rev 429)
+++ trunk/ruby-oci8/ChangeLog	2011-06-12 13:09:42 UTC (rev 430)
@@ -1,4 +1,7 @@
 2011-06-12  KUBO Takehiro  <kubo at jiubao.org>
+	* NEWS: add changes between 2.0.4 and 2.0.5.
+
+2011-06-12  KUBO Takehiro  <kubo at jiubao.org>
 	* ext/oci8/oci8lib.c: add __declspec(dllexport) to Init_oci8lib(). The mingw32
 	    gcc compiler doesn't export functions without it if more than one function
 	    is declared with it.

Modified: trunk/ruby-oci8/NEWS
===================================================================
--- trunk/ruby-oci8/NEWS	2011-06-12 13:07:27 UTC (rev 429)
+++ trunk/ruby-oci8/NEWS	2011-06-12 13:09:42 UTC (rev 430)
@@ -1,3 +1,73 @@
+2.0.5:
+
+* New Features
+
+  - Support Rubinius.
+
+  - OraNumber#has_decimal_part? -> boolean
+
+      OraNumber(10).has_decimal_part?   # => false
+      OraNumber(10.1).has_decimal_part? # => true
+
+  - Limitted support for OraNumber's positive and negative infinity.
+
+    They are converted to '~' and '-~' respectively as described in
+    <URL:http://www.ixora.com.au/notes/infinity.htm>.
+
+  - OCI8.properties is added to control ruby-oci8 behaviour.
+    It supports :bind_string_as_nchar only for now.
+
+  - OCI8.properties[:bind_string_as_nchar] is added.
+
+    You need to set "OCI8.properties[:bind_string_as_nchar] = true"
+    if the database character set is not UTF-8 and NCHAR/NVARCHAR2 columns
+    contain characters which cannot be converted to the database character set.
+    See: http://rubyforge.org/forum/forum.php?thread_id=48838&forum_id=1078
+
+* Fixed issues
+
+  - Fix InvalidHandle errors on Rails.
+    (reported by Jordan Curzon and Aaron Qian)
+    See: http://rubyforge.org/forum/forum.php?thread_id=49751&forum_id=1078
+
+  - Raise "OCIError: ORA-01805: possible error in date/time operation"
+    when Oracle 11gR2's client and server timezone versions are not same
+    instead of raising a exception "undefined method `*' for nil:NilClass."
+    See: http://rubyforge.org/forum/forum.php?thread_id=49102&forum_id=1078
+
+  - Fix unexpectedly disconnect when failed-logon connections is GC'ed
+    and the connection object's address is accidentally same with
+    an alive connection.
+
+  - Fix segmentation fault when calling OCI8::Cursor#[] for
+    closed statement object's (reported by Hugo L. Borges)
+
+  - Fix a bug that a string is bound to RAW.
+    Its encoding had been convertd to OCI.encoding incorrectly.
+
+  - Fix memory leaks when temporary lobs are used.
+
+  - Fix a problem to assign NULL bind value to object type bind variables.
+    (reported by Raimonds Simanovskis)
+
+  - Support LOB datatypes in object type.
+    (reported by Michael Sexton)
+
+  - Fix to compile on cygwin. The declaration of 'boolean' in Oracle
+    conflicts with that of latest cygwin.
+    (reported by Don Hill).
+
+  - Fix to complie for the 32-bit ruby which was compiled on x86_64 linux
+    and configured without '--build', '--host' nor '--target'.
+    The RUBY_PLATFORM is 'x86_64-linux' even though the ruby is 32-bit.
+    (reported by Jason Renschler)
+
+  - Fix wrong dependencies in Makefile when running 'make -jNNN (where NNN >= 2)'
+    (contributed by Alyano Alyanos. See bug #28129 on rubyforge.)
+
+  - Fix to compile on HP-UX. Duplicated const qualifiers prevented HP-UX cc
+    from compiling. (reported by Sebastian YEPES)
+
 2.0.4:
 
 * New Features




More information about the ruby-oci8-commit mailing list