Skip to content

Commit 3b3d117

Browse files
committed
v1.3.0
* Updated changelog. * Fixed release generator for "php_cassandra" --> "php_driver" * Update README for release * Fix broken URLs * Updated README to include v1.2.0 stuff too
1 parent 4f246a6 commit 3b3d117

File tree

6 files changed

+190
-156
lines changed

6 files changed

+190
-156
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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ 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)
2223
* 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)

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

0 commit comments

Comments
 (0)