[PECL-CVS] [pecl-database-oci8] main: Push updates for version 3.4.1

[email protected] (Sharad Chandran R)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Sharad Chandran R (sharadraju)
Date: 2025-12-23T17:26:39+05:30

Commit: https://github.com/php/pecl-database-oci8/commit/60869f4fb8f940ae273ef8375f92555ace87af8f
Raw diff: https://github.com/php/pecl-database-oci8/commit/60869f4fb8f940ae273ef8375f92555ace87af8f.diff

Push updates for version 3.4.1

Changed paths:
  M  package.xml
  M  php_oci8.h
  M  tests/driver_name.phpt


Diff:

diff --git a/package.xml b/package.xml
index f442db1..6dddf88 100644
--- a/package.xml
+++ b/package.xml
@@ -10,7 +10,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
  <description>
 The OCI8 extension lets you access Oracle Database.
 
-Use 'pecl install oci8' to install for PHP 8.2 and PHP 8.3.
+Use 'pecl install oci8' to install for PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
 
 Use 'pecl install oci8-3.2.1' to install for PHP 8.1.
 
@@ -59,12 +59,12 @@ Oracle's standard cross-version connectivity applies.  For example, PHP OCI8 lin
   <active>no</active>
  </lead>
 
- <date>2024-07-24</date>
+ <date>2024-12-23</date>
  <time>12:00:00</time>
 
   <version>
-   <release>3.4.0</release>
-   <api>3.4.0</api>
+   <release>3.4.1</release>
+   <api>3.4.1</api>
   </version>
   <stability>
    <release>stable</release>
@@ -72,11 +72,11 @@ Oracle's standard cross-version connectivity applies.  For example, PHP OCI8 lin
   </stability>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>
-    This version has been tested with PHP 8.2 and PHP 8.3.
+    This version has been tested with PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
 
     Requires Oracle Client libraries from 11.2 or later.
 
-    Added oci_pconnect() support for Oracle wallets 
+    Minor updates for package bug fix, PIE migration and upcoming PHP release.
   </notes>
  <contents>
   <dir name="/">
@@ -463,6 +463,25 @@ Oracle's standard cross-version connectivity applies.  For example, PHP OCI8 lin
  </extsrcrelease>
  <changelog>
 
+<release>
+  <version>
+   <release>3.4.0</release>
+   <api>3.4.0</api>
+  </version>
+  <stability>
+   <release>stable</release>
+   <api>stable</api>
+  </stability>
+  <license uri="http://www.php.net/license">PHP</license>
+  <notes>
+    This version has been tested with PHP 8.2 and PHP 8.3.
+
+    Requires Oracle Client libraries from 11.2 or later.
+
+    Added oci_pconnect() support for Oracle wallets.
+  </notes>
+</release>
+
 <release>
   <version>
    <release>3.3.0</release>
diff --git a/php_oci8.h b/php_oci8.h
index b409abb..729bf87 100644
--- a/php_oci8.h
+++ b/php_oci8.h
@@ -24,11 +24,11 @@
 */
 
 #ifdef HAVE_OCI8
-# ifndef PHP_OCI8_H
-#  define PHP_OCI8_H
+#ifndef PHP_OCI8_H
+#define PHP_OCI8_H
 
 #ifdef ZTS
-# include "TSRM.h"
+#include "TSRM.h"
 #endif
 
 /*
@@ -40,7 +40,7 @@
  */
 #undef PHP_OCI8_VERSION
 #endif
-#define PHP_OCI8_VERSION "3.4.0"
+#define PHP_OCI8_VERSION "3.4.1"
 
 extern zend_module_entry oci8_module_entry;
 #define phpext_oci8_ptr &oci8_module_entry
@@ -48,16 +48,15 @@ extern zend_module_entry oci8_module_entry;
 #define phpext_oci8_12c_ptr &oci8_module_entry
 #define phpext_oci8_19_ptr &oci8_module_entry
 
-
 PHP_MINIT_FUNCTION(oci);
 PHP_RINIT_FUNCTION(oci);
 PHP_MSHUTDOWN_FUNCTION(oci);
 PHP_RSHUTDOWN_FUNCTION(oci);
 PHP_MINFO_FUNCTION(oci);
 
-# endif /* !PHP_OCI8_H */
-#else /* !HAVE_OCI8 */
+#endif /* !PHP_OCI8_H */
+#else  /* !HAVE_OCI8 */
 
-# define oci8_module_ptr NULL
+#define oci8_module_ptr NULL
 
 #endif /* HAVE_OCI8 */
diff --git a/tests/driver_name.phpt b/tests/driver_name.phpt
index 5b677cd..8522a46 100644
--- a/tests/driver_name.phpt
+++ b/tests/driver_name.phpt
@@ -58,11 +58,11 @@ function get_attr($conn)
 ?>
 --EXPECT--
 **Test 1.1 - Default values for the attribute **************
-The value of DRIVER_NAME is PHP OCI8 : 3.4.0
+The value of DRIVER_NAME is PHP OCI8 : 3.4.1
 
 ***Test 1.2 - Get the values from different connections **************
 Testing with oci_pconnect()
-The value of DRIVER_NAME is PHP OCI8 : 3.4.0
+The value of DRIVER_NAME is PHP OCI8 : 3.4.1
 Testing with oci_new_connect()
-The value of DRIVER_NAME is PHP OCI8 : 3.4.0
+The value of DRIVER_NAME is PHP OCI8 : 3.4.1
 Done
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.