diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e4b3dc5..6c4c0607 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,9 +93,9 @@ jobs: # with apt run: | sudo apt -y install \ - php-mbstring \ - php-xml \ - php-dev \ + php${{ matrix.php-version }}-mbstring \ + php${{ matrix.php-version }}-xml \ + php${{ matrix.php-version }}-dev \ phpunit \ build-essential \ protobuf-compiler \ diff --git a/CHANGELOG.md b/CHANGELOG.md index b67fa239..a7ea60a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. +## [1.4.0] - 2025-10-01 + +- **Fixes** + - [CLIENT-3777] Fix anomalous getTtl() behavior. + +- **Improvements** + - [CLIENT-3777] Introduce getters on Expiration class objects. + ## [1.3.0] - 2025-02-23 - **New Features**: diff --git a/Cargo.toml b/Cargo.toml index 67e3c003..ebcb110f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aerospike_php" -version = "1.3.0" +version = "1.4.0" edition = "2021" authors = ["Khosrow Afroozeh ", "Sachin Venkatesha Murthy "] diff --git a/README.md b/README.md index 97decf23..d61cb6fe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![PHP version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://github.com/aerospike/php-client) -# Aerospike PHP 8 Client (v1.3.0) +# Aerospike PHP 8 Client (v1.4.0) An [Aerospike](https://www.aerospike.com/) client library for PHP 8 @@ -123,7 +123,7 @@ In case the installation script fails to build the `PHP-Client`, or if you just $writePolicy->setRecordExistsAction(RecordExistsAction::Update); $writePolicy->setGenerationPolicy(GenerationPolicy::ExpectGenEqual); - $writePolicy->setExpiration(Expiration::seconds(3600)); // Expiring in 1 hour + $writePolicy->setExpiration(Expiration::Seconds(3600)); // Expiring in 1 hour $writePolicy->setMaxRetries(3); $writePolicy->setSocketTimeout(5000); ``` @@ -145,11 +145,12 @@ If there are any bugs, feature requests or feedback -> please create an issue on socket); -}catch(AerospikeException $e){ +} +catch(AerospikeException $e) { var_dump($e); } diff --git a/aerospike-connection-manager/README.md b/aerospike-connection-manager/README.md index 2dc1b560..4b915798 100644 --- a/aerospike-connection-manager/README.md +++ b/aerospike-connection-manager/README.md @@ -37,12 +37,14 @@ Aerospike's client policy allows for flexible control over read and write operat cd php-client/aerospike-connection-manager ``` -2. **Run Makefile**: Execute the default target of the Makefile to build & runthe aerospike-connection-manager: +2. **Configure the connection manager.** At a minimum, edit the `asld.toml` file to reflect your Aerospike server's current connection information. + +3. **Run Makefile**: Use the `run` target to run the aerospike-connection-manager: ```shell - make + make run ``` -3. **Verify Build**: Successful build output should resemble the following: +4. **Verify Build**: Successful build output should resemble the following: ```shell rm -f asld rm -f memprofile.out profile.out @@ -55,7 +57,7 @@ Aerospike's client policy allows for flexible control over read and write operat 2024/02/13 10:41:30 grpc ran on unix socket protocol /tmp/asld_grpc.sock ``` -4. **Install Service**: Once the build is verified, linux users who want to install the ACM as a service can execute this command: +5. **Install Service**: Once the build is verified, linux users who want to install the ACM as a service can execute this command: ```shell sudo make daemonize ``` diff --git a/aerospike-connection-manager/version.txt b/aerospike-connection-manager/version.txt index f0bb29e7..88c5fb89 100644 --- a/aerospike-connection-manager/version.txt +++ b/aerospike-connection-manager/version.txt @@ -1 +1 @@ -1.3.0 +1.4.0 diff --git a/docs/classes/Aerospike-AdminPolicy.html b/docs/classes/Aerospike-AdminPolicy.html index fd7f9773..7c4bd057 100644 --- a/docs/classes/Aerospike-AdminPolicy.html +++ b/docs/classes/Aerospike-AdminPolicy.html @@ -54,14 +54,14 @@

Doc Menu