Skip to content

Commit b9b82ce

Browse files
committed
v8.0.11 - update README and package.xml
1 parent 9b38421 commit b9b82ce

File tree

2 files changed

+19
-41
lines changed

2 files changed

+19
-41
lines changed

README

Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MySQL X DevAPI for PHP
33

44
This PHP Extension provides MySQL's X DevAPI. The X DevAPI is a new CRUD-style
55
API for accessing MySQL as a Document Store. It is based on the X Protocol
6-
introduced with the X Plugin in MySQL 5.7.12 and unifies JSON document and
6+
introduced with the X Plugin in MySQL 8.0 and unifies JSON document and
77
table access, and it includes SQL support. The API features a popular fluent
88
interface style and aims to be particularly easy to use yet powerful. The
99
X DevAPI sees wide cross product support. Developers can use the same syntax
@@ -29,7 +29,7 @@ To learn more about the details of the X DevAPI refer to the documentation on
2929
http://dev.mysql.com/doc/x-devapi-userguide/en/
3030

3131
To learn more about MySQL as a Document Store efer to documentation on
32-
http://dev.mysql.com/doc/refman/5.7/en/document-store.html
32+
http://dev.mysql.com/doc/refman/8.0/en/document-store.html
3333

3434

3535
Installation
@@ -64,54 +64,27 @@ It is recommended to prepare environment and build mysql_xdevapi extension accor
6464
https://wiki.php.net/internals/windows/stepbystepbuild (older SDK, PHP-7.1 only)
6565
https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2 (PHP-7.1 or newer)
6666

67-
2) OpenSSL on Unix
68-
While building extension with phpize following issue may be met at ./configure stage:
69-
configure: error: Cannot find OpenSSL's <evp.h>
70-
See https://bugs.php.net/bug.php?id=72363
71-
72-
73-
Following packages in system may be needed:
74-
pkg-config
75-
libssl-dev
76-
libsslcommon2-dev
77-
openssl-devel
78-
79-
or following switch(es) for ./configure
80-
--with-openssl
81-
--with-openssl-dir
82-
e.g.
83-
--with-openssl --with-openssl-dir=/usr/local/bin
84-
85-
In case it doesn't help use
86-
PHP_OPENSSL=yes ./configure
87-
88-
so the whole sequence would look like:
89-
phpize
90-
PHP_OPENSSL=yes ./configure
91-
make
92-
sudo make install
93-
94-
3) Boost
67+
2) Boost
9568
Only headers are needed, no boost binaries required.
9669

97-
4) Google Protocol Buffers on Windows
70+
3) Google Protocol Buffers on Windows
9871
On Windows depending on used run-times the static library with Multi-Threaded DLL
9972
runtime may be needed. To prepare such library on your own following options should
10073
be applied:
10174
-Dprotobuf_MSVC_STATIC_RUNTIME=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF
10275

103-
5) Google Protocol Buffers / protocol compiler (protoc)
76+
4) Google Protocol Buffers / protocol compiler (protoc)
10477
In configuration of build there is no extra option to set additional dir with binaries,
10578
so ensure that proper 'protoc' is available on PATH while building. It is especially
10679
important in case of usage PHP SDK on Windows - its batch scripts may overwrite
10780
environment.
10881

109-
6) Bison
82+
5) Bison
11083
Ensure that proper version of Bison is on path while building.
11184

112-
If you build on Windows it is stronly recommended to use the one delivered with
113-
chosen PHP SDK, else (in case of improper bison.exe version) following error may
114-
be met:
85+
If you build on Windows (especially with older SDK - see point 1.) it is strongly
86+
recommended to use the one delivered with chosen PHP SDK, else (in case of improper
87+
bison.exe version) following error may be met:
11588

11689
c:\php-sdk\phpdev\vc14\x86\connector-php-7.1.0\zend\zend_globals_macros.h(39):
11790
error C2375: 'zendparse': redefinition; different linkage
@@ -125,9 +98,10 @@ Supported X DevAPI features
12598
---------------------------
12699
- collections API - add, find, modify, remove
127100
- collection single doc API - getOne, replaceOne, addOrReplaceOne, removeOne
128-
- authentication modes: MYSQL41, PLAIN, EXTERNAL
101+
- new document _id generation
102+
- authentication modes: MYSQL41, PLAIN, EXTERNAL, SHA256_MEM
129103
- table API - insert, select, update, delete
130-
- row locking for Collection.Find / Table.Select
104+
- row locking for Collection.Find / Table.Select, also modes NOWAIT and SKIP LOCKED
131105
- collection / table - getName, existsInDatabase, count
132106
- collection index - create, drop
133107
- resultsets / multi-resultsets

package.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ The X DevAPI introduces a new, modern and easy-to-learn way to work with your da
5656
<api>1.0.0</api>
5757
</version>
5858
<stability>
59-
<release>alpha</release>
60-
<api>alpha</api>
59+
<release>stable</release>
60+
<api>stable</api>
6161
</stability>
6262
<license uri="http://www.php.net/license">PHP</license>
6363
<notes>
@@ -261,6 +261,10 @@ The X DevAPI introduces a new, modern and easy-to-learn way to work with your da
261261
<file name="sha256_mem.phpt" role="test" />
262262
<file name="unsecure_native.phpt" role="test" />
263263
<file name="unsecure_sha256_mem.phpt" role="test" />
264+
<file name="warnings_secure_caching_sha2.phpt" role="test" />
265+
<file name="warnings_secure_native.phpt" role="test" />
266+
<file name="warnings_unsecure_caching_sha2.phpt" role="test" />
267+
<file name="warnings_unsecure_native.phpt" role="test" />
264268
</dir>
265269
<dir name="index">
266270
<file name="common.phpt" role="test" />
@@ -591,7 +595,7 @@ The X DevAPI introduces a new, modern and easy-to-learn way to work with your da
591595
<dependencies>
592596
<required>
593597
<php>
594-
<min>7.1.0-dev</min>
598+
<min>7.1.0</min>
595599
</php>
596600
<pearinstaller>
597601
<min>1.4.0b1</min>

0 commit comments

Comments
 (0)