# PDO-VIA-OCI8 Changelog

## v2.4.0 - 2022-02-09

- Add method to set client identifier. #101
- Fix yajra/laravel-oci8#453
- Fix #99

## v2.3.0 - 2022-01-31

- Fix #96, add method to get db resource. #97

## v2.2.0 - 2020-12-11

- Added support for oci_set_call_timeout function [#85](https://github.com/yajra/pdo-via-oci8/pull/85), credits to @ognjenVlad.
- Fix [yajra/laravel-oci8#621](https://github.com/yajra/laravel-oci8/issues/621).

## v2.1.3 - 2020-10-20

- Return ora code on failed connection. [#78](https://github.com/yajra/pdo-via-oci8/pull/78), credits to @bendzaminas.

## v2.1.2 - 2020-10-20

- Fix PDO::ATTR_PERSISTENT when is set to false [#80](https://github.com/yajra/pdo-via-oci8/pull/80), credits to @cvillegaslobos.

## v2.1.1 - 2019-12-05

- Fix SQLT_NTY collection binding. [#74](https://github.com/yajra/pdo-via-oci8/pull/74), credits to @barrigapicante.
- Fix PDO::FETCH_CLASS without PDO::FETCH_PROPS_LATE. [#75](https://github.com/yajra/pdo-via-oci8/pull/75), credits to @vlaaadislav.

## v2.1.0 - 2019-11-16

- Added support for PDO-style connection strings [#72](https://github.com/yajra/pdo-via-oci8/pull/72), credits to @wernerm.

## v2.0.0 - 2019-09-04

- Fix [#64](https://github.com/yajra/pdo-via-oci8/issues/64) for single bind params [#67](https://github.com/yajra/pdo-via-oci8/pull/67), credits to @istaveren.

## v1.4.0 - 2019-05-09

- Fix [#63](https://github.com/yajra/pdo-via-oci8/issues/63) query params [#62](https://github.com/yajra/pdo-via-oci8/pull/62). Credits to @istaveren.
- Add call to oci_close on destruct of the object. [#7f10323](https://github.com/yajra/pdo-via-oci8/commit/7f103234e3b47402588010838e181aa5dcd08add)
- Update docker container to use for TravisCI [#65](https://github.com/yajra/pdo-via-oci8/pull/65).
- Add tests.


## v1.3.8 - 2019-04-24

- Added support for oci session_mode (wallet) [#61](https://github.com/yajra/pdo-via-oci8/pull/61), credits to @Blizzke.

## v1.3.7 - 2017-11-28

- Fix for large param for blob and clob. [#56](https://github.com/yajra/pdo-via-oci8/pull/56)
- Fix fetch mode usage and use `PDO::FETCH_BOTH` as default. [#59](https://github.com/yajra/pdo-via-oci8/pull/59)
- Init ci testing. [#58](https://github.com/yajra/pdo-via-oci8/pull/58)

## v1.3.6 - 2017-11-28

- Revert "Changed to LONG type because number type can not be registered normally" [#55](https://github.com/yajra/pdo-via-oci8/pull/55)
- Fix [yajra/laravel-oci8#386](https://github.com/yajra/laravel-oci8/issues/386).
- Fix failing unit tests Failed asserting that '40' is identical to 40.

## v1.3.5 - 2017-11-28

- Do not quote numeric values. [#51](https://github.com/yajra/pdo-via-oci8/pull/51)
- Fix changelog markdown lint.

## v1.3.4 - 2017-11-16

- Changed to LONG type because number type can not be registered normally [#42](https://github.com/yajra/pdo-via-oci8/pull/49) credits to @reo0306.

## v1.3.3 - 2017-11-16

- Handle ROWID output exception. [#49](https://github.com/yajra/pdo-via-oci8/pull/49)

## v1.3.2 - 2017-06-24

- Fixes for Array bindings.
- PR [#43](https://github.com/yajra/pdo-via-oci8/pull/43) credits to @shannonfairchild.

## v1.3.1 - 2017-02-02

- Fix fetchAll fetchMode parameter and set to null by default.
- Fix [#246](https://github.com/yajra/laravel-oci8/issues/246).

## v1.3.0 - 2017-01-05

- Add .gitattributes and config files.
- Add code of conduct.
- Add change log.
- Update license to 2017.
- Add github templates.

## v1.2.1

- Change regex replacement pattern in prepare. PR #38, credits to @jjware.
- Fix #37.
- Refactor regex replacement using preg_replace_callback.

## v1.2.0

- Implement closeCursor.
- Add oci8 connection options getter.

## v1.1.1

- 3rd argument in Statement::fetchAll(), $ctorArgs, should allow null.
- PR #34, credits to @nhowell.

## v1.1.0

- Add support for CLOB data types.
- PR #31, credits to @Tylerian.

## v1.0.5

- fetchAll also checks if fetch() returning object.
- PR #30, credits to @apit

## v1.0.4

- Fix non-FETCH_COLUMN queries.
- PR #29, credits to @snelg

## v1.0.3

- Function fetchAll() bug fix. Fix #27
- PR #28, credits to @dkochnov.

## v1.0.2

- Parse DSN - check charset option in connection string and clean "PDO style".
- PR #26, credits to @eisberg.

## v1.0.1

- PHP 7 fix for bindValue. PR #23 by @snelg.

## v1.0.0

- Change of namespace from yajra to Yajra (capital Y).
- Enhance error dump with proper bindings.
- Convert to PSR-2 & PSR-4 standard.
- Safe refactoring of variable names.
- Auto-saving of BLOB objects.

## v0.15.0

- Account for PDO::PARAM_INPUT_OUTPUT in bindParam.

## v0.14.0

- Add bindArray special non-pdo function for extensive support for oci_bind_array_by_name.

## v0.13.0

- Add support for oci_bind_array_by_name.

## v0.12.0

- Add support for procedure returning a cursor.

## v0.11.0

- Rename github package name to pdo-via-oci8 from laravel-pdo-via-oci8 making the package not specific to Laravel.
- Sequence name can now be passed in the `lastInsertId` function. Table name that will be used by default will be based on the last table used on insert query.

```php
$pdo->lastInsertId(); // will use TABLE_ID_SEQ
$pdo->lastInsertId('TABLE_SEQ'); // will use TABLE_SEQ
```
