Skip to content

Commit 779a47f

Browse files
authored
Merge pull request #103 from datastax/1.3.0-release
v1.3.0
2 parents 4f246a6 + ffcf95f commit 779a47f

File tree

12 files changed

+222
-167
lines changed

12 files changed

+222
-167
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# 1.3.0
2+
3+
Features:
4+
5+
* Added support for the `duration` type
6+
* Added support to pass a query string directly to `Session::execute()` and
7+
`Session::executeAsync()`
8+
* `ExecutionOptions` has been deprecated in favor of using an array
9+
10+
Bug Fixes:
11+
* [PHP-86] Decimal __toString method
12+
* [PHP-109] Cassandra solr_query not working after upgrading to DSE 5
13+
* [PHP-114] pecl install compiler output is dominated by C90 warnings
14+
* [PHP-119] Driver crashes upon getting type of column
15+
* [PHP-143] Memory leak in `FutureSession`
16+
* [PHP-144] Fix persistent sessions reference counting issue
17+
* [PHP-147] Unable to create Bigint with PHP_INT_MIN
18+
119
# 1.2.2
220

321
Bug Fixes:

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ A modern, [feature-rich](features) and highly tunable PHP client library for [Ap
77

88
This is a wrapper around [the DataStax C/C++ Driver for Apache Cassandra and DataStax Enterprise](http://datastax.github.io/cpp-driver/).
99

10-
* Binaries: [http://downloads.datastax.com/php-driver/1.2.0](http://downloads.datastax.com/php-driver/1.2.0/)
10+
* Binaries: [http://downloads.datastax.com/php-driver/](http://downloads.datastax.com/php-driver/)
1111
* Docs: [http://datastax.github.io/php-driver/](http://datastax.github.io/php-driver/)
1212
* Code: [https://github.com/datastax/php-driver](https://github.com/datastax/php-driver)
1313
* Jira: [https://datastax-oss.atlassian.net/browse/PHP](https://datastax-oss.atlassian.net/browse/PHP)
1414
* Mailing List: [https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user](https://groups.google.com/a/lists.datastax.com/forum/#!forum/php-driver-user)
1515
* IRC: #datastax-drivers on [irc.freenode.net](http://freenode.net>)
16-
* Twitter: Follow the latest news about DataStax Drivers - [@avalanche123](http://twitter.com/avalanche123), [@al3xandru](https://twitter.com/al3xandru)
1716

18-
## What's new in v1.2.0:
17+
## What's new in v1.2.0/v1.3.0:
1918

19+
* Support for [`duration`](http://datastax.github.io/php-driver/api/Cassandra/class.Duration/)
20+
* `Session::execute()` and `Session::executeAsync()` now support a [simple string](http://datastax.github.io/php-driver/features/simple_string_queries/) for the query CQL and a simple array for the query execution option.
2021
* Full support for Apache Cassandra 2.2 and 3.0+
2122
* Support for [`tinyint` and `smallint`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-the-tinyint-and-smallint-types)
22-
* Support for [`date`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-date-type) and [`time`](http://datastax.github.io/php-driver/features/http://localhost:8000/features/datatypes/#using-cassandra-time-type)
23+
* Support for [`date`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-date-type) and [`time`](http://datastax.github.io/php-driver/features/datatypes/#using-cassandra-time-type)
2324
* Support for [user-defined function and aggregate](http://datastax.github.io/php-driver/features/function_and_aggregate_metadata) metadata
2425
* Support for [secondary index](http://datastax.github.io/php-driver/features/secondary_index_metadata) and [materialize view](http://datastax.github.io/php-driver/features/function_and_aggregate_metadata) metadata
2526

Rakefile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class Release
4848
def sources
4949
(
5050
Dir.glob(@dirname + '/ext/config.{m4,w32}') +
51-
Dir.glob(@dirname + '/ext/php_cassandra.{c,h}') +
52-
Dir.glob(@dirname + '/ext/{php_cassandra_types.h,version.h}') +
51+
Dir.glob(@dirname + '/ext/php_driver.{c,h}') +
52+
Dir.glob(@dirname + '/ext/{php_driver_types.h,php_driver_globals.h,version.h}') +
5353
Dir.glob(@dirname + '/ext/src/**/*.{c,h}') +
5454
Dir.glob(@dirname + '/ext/util/**/*.{c,h}')
5555
).map {|p| p.gsub(@dirname + '/ext/', '') }.sort
@@ -165,19 +165,19 @@ end
165165

166166
def version_h
167167
ERB.new(<<-ERB)
168-
#ifndef PHP_CASSANDRA_VERSION_H
169-
#define PHP_CASSANDRA_VERSION_H
168+
#ifndef PHP_DRIVER_VERSION_H
169+
#define PHP_DRIVER_VERSION_H
170170
171171
/* Define Extension and Version Properties */
172-
#define PHP_CASSANDRA_NAME "cassandra"
173-
#define PHP_CASSANDRA_MAJOR <%= major %>
174-
#define PHP_CASSANDRA_MINOR <%= minor %>
175-
#define PHP_CASSANDRA_RELEASE <%= release %>
176-
#define PHP_CASSANDRA_STABILITY "<%= stability %>"
177-
#define PHP_CASSANDRA_VERSION "<%= pecl_version %>"
178-
#define PHP_CASSANDRA_VERSION_FULL "<%= version %>"
179-
180-
#endif /* PHP_CASSANDRA_VERSION_H */
172+
#define PHP_DRIVER_NAME "cassandra"
173+
#define PHP_DRIVER_MAJOR <%= major %>
174+
#define PHP_DRIVER_MINOR <%= minor %>
175+
#define PHP_DRIVER_RELEASE <%= release %>
176+
#define PHP_DRIVER_STABILITY "<%= stability %>"
177+
#define PHP_DRIVER_VERSION "<%= pecl_version %>"
178+
#define PHP_DRIVER_VERSION_FULL "<%= version %>"
179+
180+
#endif /* PHP_DRIVER_VERSION_H */
181181
ERB
182182
end
183183

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ environment:
4545
CONFIGURATION_COMPLETE: False
4646
matrix:
4747
- PHP: 7.0
48-
PHP_VERSION: 7.0.15
48+
PHP_VERSION: 7.0.16
4949
THREAD_SAFE: True
5050
CMAKE_GENERATOR: Visual Studio 14 2015
5151
VISUAL_STUDIO_INTERNAL_VERSION: 140
5252
VISUAL_STUDIO_SHORTHAND_VERSION: 14
5353
- PHP: 7.0
54-
PHP_VERSION: 7.0.15
54+
PHP_VERSION: 7.0.16
5555
THREAD_SAFE: False
5656
CMAKE_GENERATOR: Visual Studio 14 2015
5757
VISUAL_STUDIO_INTERNAL_VERSION: 140

docs.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ sections:
1818
config: |
1919
RECURSIVE = YES
2020
FILE_PATTERNS = *.php
21+
EXCLUDE = ext/doc/generate_doc.php ext/doc/generate_doc_yaml.php
2122
INPUT_FILTER = ./doxygen.rb
2223
links:
2324
- title: Binaries
@@ -35,9 +36,11 @@ links:
3536
- title: Releases
3637
href: https://github.com/datastax/php-driver/releases
3738
versions:
38-
- name: v1.2
39-
ref: HEAD
40-
- name: v1.1
39+
- name: 1.3
40+
ref: 3f56dc79466362b70d24ec5ed928fbbe9ccf6f44
41+
- name: 1.2
42+
ref: v1.2.0
43+
- name: 1.1
4144
ref: v1.1.0
42-
- name: v1.0
45+
- name: 1.0
4346
ref: v1.0.1

0 commit comments

Comments
 (0)