Fetching contributors…
Cannot retrieve contributors at this time
257 lines (207 sloc) 10.5 KB
== 0.7.1 2018-09-03
* Fix
* Address incorrect versions in Gemfile
== 0.7.0 2018-09-03
* Improvements and fixes
* Support Rails 5.0, 5.1 and 5.2
* Drop Rails 4.1 and 4.2 support
* Drop JRuby 1.7 support
* Drop JRuby 9.0 support
* Drop CRuby 2.1 or lower support
* Allow calling procedures in INVALID status
* Bignum, Fixnum, Integer fixes for Ruby 2.4
* Replace deprecated with BigDecimal()
* Suppress warning `` is deprecated
* Avoid using `OCI8#describe_synonym`
* Allow ojdbc7.jar when Java version is 1.7 or higher
* Fix unguarded OCIError (breaks on JRuby)
* Suppress `warning: instance variable @dbms_output_stream not initialized`
* Suppress `warning: assigned but unused variable`
* Suppress `warning: shadowing outer local variable - column`
* Add license to gemspec
* Migrate from jeweler to juwelier
* CI against JRuby 9.1.8 and CRuby 2.4 and 2.5
* CI against jruby-head and ruby-head
* Enable RuboCop
* Set `disk_asynch_io` to `false`
* Skip XMLType specs if Oracle Database version is 12c or higher
== 0.6.0 2016-03-13
* Improvements
* Add support for records with boolean attributes - as input and output parameters and as return values of stored procedures
* Add support for VARCHAR, SIMPLE_INTEGER+subtypes
* Accessing to package objects via #[]
* Add XMLTYPE support for procedures and functions
* New procedure argument metadata option 'defaulted'
* Use current_schema in PLSQL::Schema#schema_name
* Add support for ruby-oci8 ~> 2.1 (was ~> 2.1.2) - as ruby-oci8 2.2.x is already available
* Add support for Oracle enhanced adapter 1.6.x
* Bug fixes
* Time-zone configuration support fixes and improvements. Support for Session timezone from ENV['TZ'] removed
* Fix thread safety problem in PLSQL::OCIConnection::Cursor
* Fix: JRuby PLS_INTEGER, BINARY_INTEGER NULL value becomes 0
* Internal (development) improvements
* Travis CI setup for the project
* Allow reporting of Unit Tests on Jenkins CI with "RspecJunitFormatter"
* Vagrant box CentOS version updated to v7.2
* Unit tests setup/teardown fixes for procedure_spec
* Documentation
* Add reference to ruby-plsql cheat sheet
== 0.5.3 2015-05-07
* Improvements
* Support for ActiveRecord 4.2
* Docs
* README formatting fixed (Usage with Rails section)
* Bug fixes
* Force to convert String type value as real string to avoid error when used JRuby and for VARCHAR2 parameter is assigned non String value
* Fix dbms_output functionality in case when database exception is raised
* Internal (development) improvements
* Vagrant box provisioning added
== 0.5.2 2014-10-23
* Bug fixes
* Use all_procedures.object_type only if Oracle versions < 11g (regression in 0.5.1, affecting Oracle < 11g)
== 0.5.1 2014-10-12
* Improvements
* Support for Oracle Ehnanced Adapter 1.5 and ActiveRecord 4.1, 4.2
* Oracle 12c support
* Better diagnostics output when ruby-oci8 initialization fails
* Bug fixes
* Support for ruby-oci8 2.1.2+ preventing segfaults
* Multi-thread support (applies to oci8 connections)
* Internal (development) improvements
* Tests database connection enhancements (eazy connect syntax, allow service name != db name)
* Tests migrated to rspec 3
* Tests coverage migrated from rcov to simplecov
* README update with how to run tests
== 0.5.0 2012-04-16
* Improvements
* Support for ruby-oci8 2.1.0 and ActiveRecord 3.2
* Tested with Ruby 1.9.3
* Tests migrated to RSpec 2
* Use ojdbc6.jar or ojdbc5.jar JDBC drivers when using JRuby
* Bug fixes
* Fixed clearing of global temp tables before procedure calls
* Fixed passing NULL value for CLOB type arguments
* Fixed procedure call that returns array of records
* Fixed support for NCHAR and NVARCHAR argument types
* Accept any ActiveRecord inherited model class for activerecord_class= method
== 0.4.4 2010-10-06
* Improvements
* When using plsql.connect! then set session time zone from ENV['TZ'] or from :time_zone option
* Bug fixes
* Bugfix for case when object is in invalid state but has no errors
* Support ref cursor return value with type defined inside package
== 0.4.3 2010-03-25
* Improvements
* plsql.connection.database_version will return also update and patch components of version number
* :column => :is_null and :column => :is_not_null conditions in table select operations
* Bug fixes
* Bugfix for calling procedure with table of records type (defined inside package) output parameter
* Use subprogram_id column in all_arguments view only if database version is >=
* Support partial list of named arguments for overloaded procedures (assuming that missing arguments will have default value)
== 0.4.2 2010-02-26
* New features
* Support default and custom constructors of object types, support member and static method calls on PL/SQL objects
* Support for PL/SQL record types defined inside packages
* Support for PL/SQL table and index-by table of records types defined inside packages
* plsql.savepoint and plsql.rollback_to methods
* plsql.connect! method for establishing new connection
* Improvements
* Better support for detecting matching overloaded implementation of procedure by sequential argument types
* Check if database object is valid and raise exception with compilation error if not valid
* Store :nullable and :data_default in table and view columns metadata
* Bug fixes
* accessing package variables with schema prefixed object types
* insert of TIMESTAMP values in table
* support package variables with VARCHAR2(n CHAR) and VARCHAR2(n BYTE) types
* table select :order_by option
== 0.4.1 2010-01-04
* New features
* Call procedures from SYS.STANDARD without schema and package prefix
* DBMS_OUTPUT logging to specified IO stream (e.g. plsql.dbms_output_stream = STDOUT)
* Support table operations also on views
* Specify plsql.connection.prefetch_rows= to reduce network round trips when selecting large number of rows
* Support for PLS_INTEGER and BINARY_INTEGER parameters and return values
* Access to package variables (basic types, object types, %TYPE and %ROWTYPE)
* Table insert_values method
* Insert partial list of table column values (and use default values for missing columns)
* Improvements
* Improved performance of table and synonyms metadata select
* Check required ruby-oci8 version
* Bug fixes
* limit object types when selecting from all_objects to avoid getting irrelevant records with the same name
* select where condition :column => nil is transformed to "column IS NULL"
* TIMESTAMP fractional seconds patch for ruby-oci8 2.0.3
== 0.4.0 2009-11-23
* New features
* Support for PL/SQL RECORD, BOOLEAN, TABLE, VARRAY, OBJECT and CURSOR parameters and return values
* Support for basic table and sequence operations
* A lot of refactoring
== 0.3.1 2009-06-05
* Bug fixes
* fixed usage of plsql.activerecord_class = ... (fixes OCIInvalidHandle exception in development mode with ActiveRecord 2.2+)
== 0.3.0 2009-04-21
* New features
* Added Ruby 1.9.1 and ruby-oci8 2.x support
* Use plsql.activerecord_class = ActiveRecord::Base to simplify usage with Rails
* Improvements
* DATE to Time and DateTime conversion according to plsql.default_timezone (:local or :utc)
Use ActiveRecord::Base.default_timezone if plsql.activerecord_class=... is used
* Added BLOB data type support for input and output parameters and function return values
* Added support for private and public synonyms to functions/procedures and packages
== 0.2.4 2009-03-06
* Bug fixes
* Fixed that procedures can be called with VARCHAR2 parameters with length up to 32767
== 0.2.3 2008-10-17
* Improvements
* Added CLOB data type support for input and output parameters and function return values
(both for MRI/OCI and JRuby/JDBC)
(ruby-oci8 version should be at least 1.0.3 as it contains CLOB handling bug fixes)
* Bug fixes
* Fixed calling of procedures without parameters
== 0.2.2 2008-08-20
* Bug fixes
* Workaround for strange Oracle data dictionary bug when procedure with no parameters has row with empty fields in all_arguments
== 0.2.1 2008-07-22
* Improvements
* Implemented plsql.commit and plsql.rollback methods which call corresponding Connection methods.
In addition plsql.connection.autocommit= and plsql.connection.autocommit? methods are added.
* Bug fixes
* Fixed loading of ojdbc14.jar from PATH directory
* Workaround for slow SELECT from all_arguments in Oracle 10gR2
== 0.2.0 2008-06-26
* New features
* Added JRuby and Oracle JDBC driver support with the same functionality as in case of MRI and ruby-oci8 driver
* All database driver specifics are extracted in separate Connection class with OCIConnection and JDBCConnection subclasses
* Improvements
* PL/SQL functions/procedures with DATE return values and output parameters returns Time values by default (previously DateTime values
were returned by default). If value is too old then DateTime value is returned. From Ruby Time, DateTime and Date values can be
passed as arguments to DATE parameters.
== 0.1.6 2008-06-16
* Improvements
* If PL/SQL functions with output parameters are called then the result will be array with the function return value as a first element
and a hash with output parameters values as a second element.
== 0.1.5 2008-06-13
* Bug fixes
* Fixed bug when ruby-plsql was not finding packages on Oracle 10.2 Enterprise Edition where all_procedures view
behaves differently than on Oracle XE and other previous versions
== 0.1.4 2008-04-18
* Bug fixes
* Fixed bug when nil numeric parameters where passed as 0, now nil numeric parameter is passed as NULL
== 0.1.3 2008-04-15
* Improvements
* Support for overloaded procedure definitions (named parameter calls compared by number of arguments and by argument names,
sequential parameters compared by number of arguments)
* Bug fixes
* Fixed BigDecimal support for procedure parameters (all number types except from Fixnum are converted to Float)
* Fixed Date parameters support (always will convert to DateTime)
== 0.1.2 2008-04-02
* Improvements
* When PL/SQL procedure is called with less arguments then missing arguments are filled with nil
== 0.1.1 2008-04-01
* Bug fixes
* Improved performance of PL/SQL procedure arguments selection in large databases
* Added schema and package names in generated PL/SQL block when calling procedures from packages
== 0.1.0 2008-03-15
* Initial release
* Known limitations
* Currently just NUMBER, VARCHAR2, DATE, TIMESTAMP argument types are supported for PL/SQL procedures