Skip to content

Commit 94331a4

Browse files
committed
Merge branch 'release/2.1.0'
2 parents 3eeba5e + af51635 commit 94331a4

File tree

116 files changed

+3707
-3059
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+3707
-3059
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"trailingComma": "none",
33
"tabWidth": 2,
4-
"printWidth": 80,
4+
"printWidth": 100,
55
"semi": true,
66
"singleQuote": true,
77
"endOfLine": "lf"

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ matrix:
4545
- node_js: "11"
4646
env: DB=build
4747
- node_js: "6"
48-
env: DB=mariadb:10.3 SKIP_LEAK=1
48+
env: DB=mariadb:10.4 SKIP_LEAK=1
4949
- node_js: "8"
50-
env: DB=mariadb:10.3
50+
env: DB=mariadb:10.4
5151
- node_js: "10"
52-
env: DB=mariadb:10.3
52+
env: DB=mariadb:10.4
5353
- node_js: "11"
54-
env: DB=mariadb:10.3
54+
env: DB=mariadb:10.4
5555
- node_js: "11"
56-
env: DB=mariadb:10.3 LINT=1
56+
env: DB=mariadb:10.4 LINT=1
5757
- node_js: "11"
58-
env: DB=mariadb:10.3 BENCH=1
58+
env: DB=mariadb:10.4 BENCH=1
5959
- node_js: "11"
60-
env: DB=mariadb:10.3 MAXSCALE_VERSION=2.2.9 TEST_PORT=4007 TEST_USER=bob TEXT_DATABASE=test2
60+
env: DB=mariadb:10.4 MAXSCALE_VERSION=2.2.9 TEST_PORT=4007 TEST_USER=bob TEXT_DATABASE=test2
6161
- node_js: "11"
6262
env: DB=mariadb:5.5
6363
- node_js: "11"
@@ -66,6 +66,8 @@ matrix:
6666
env: DB=mariadb:10.1
6767
- node_js: "11"
6868
env: DB=mariadb:10.2
69+
- node_js: "11"
70+
env: DB=mariadb:10.3
6971
- node_js: "11"
7072
env: DB=mysql:5.5
7173
- node_js: "11"

.travis/entrypoint/dbinit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CREATE USER 'bob'@'%';
22
GRANT ALL ON *.* TO 'bob'@'%' with grant option;
33

4-
CREATE USER 'boby'@'%' identified by 'hey';
4+
CREATE USER 'boby'@'%' identified by 'heyPassw0@rd';
55
GRANT ALL ON *.* TO 'boby'@'%' with grant option;
66

77
INSTALL PLUGIN pam SONAME 'auth_pam';

.travis/maxscale/maxscale.cnf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type=monitor
3838
module=mariadbmon
3939
servers=server1
4040
user=boby
41-
passwd=hey
41+
passwd=heyPassw0@rd
4242
monitor_interval=10000
4343

4444
# Service definitions
@@ -52,34 +52,34 @@ monitor_interval=10000
5252

5353
[Read-OnlyService]
5454
enable_root_user=1
55-
version_string=10.3.99-MariaDB-maxScale
55+
version_string=10.4.99-MariaDB-maxScale
5656
type=service
5757
router=readconnroute
5858
servers=server1
5959
user=boby
60-
passwd=hey
60+
passwd=heyPassw0@rd
6161
router_options=slave
6262
localhost_match_wildcard_host=1
6363

6464
[Read-WriteService]
6565
enable_root_user=1
66-
version_string=10.3.99-MariaDB-maxScale
66+
version_string=10.4.99-MariaDB-maxScale
6767
type=service
6868
router=readwritesplit
6969
servers=server1
7070
user=boby
71-
passwd=hey
71+
passwd=heyPassw0@rd
7272
localhost_match_wildcard_host=1
7373

7474
[WriteService]
7575
type=service
7676
router=readconnroute
7777
servers=server1
7878
user=boby
79-
passwd=hey
79+
passwd=heyPassw0@rd
8080
router_options=master
8181
localhost_match_wildcard_host=1
82-
version_string=10.3.99-MariaDB-maxScale
82+
version_string=10.4.99-MariaDB-maxScale
8383

8484

8585
# This service enables the use of the MaxAdmin interface
@@ -88,7 +88,7 @@ version_string=10.3.99-MariaDB-maxScale
8888

8989
[MaxAdminService]
9090
enable_root_user=1
91-
version_string=10.3.99-MariaDB-maxScale
91+
version_string=10.4.99-MariaDB-maxScale
9292
type=service
9393
router=cli
9494

.travis/sql/dbinit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CREATE USER 'bob'@'%';
22
GRANT ALL ON *.* TO 'bob'@'%' with grant option;
33

4-
CREATE USER 'boby'@'%' identified by 'hey';
4+
CREATE USER 'boby'@'%' identified by 'heyPassw0@rd';
55
GRANT ALL ON *.* TO 'boby'@'%' with grant option;
66

77
FLUSH PRIVILEGES;

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ MariaDB and MySQL client, 100% JavaScript, with TypeScript definition, compatibl
1717

1818
## Why a New Client?
1919

20-
While there are existing MySQL clients that work with MariaDB, (such as the [`mysql`](https://www.npmjs.com/package/mysql) and [`mysql2`](https://www.npmjs.com/package/mysql2) clients), the MariaDB Node.js Connector offers new functionality, like [Insert Streaming](#insert-streaming) and [Pipelining](#pipelining) while making no compromises on performance.
20+
While there are existing MySQL clients that work with MariaDB, (such as the [`mysql`](https://www.npmjs.com/package/mysql) and [`mysql2`](https://www.npmjs.com/package/mysql2) clients), the MariaDB Node.js Connector offers new functionality, like [Insert Streaming](#insert-streaming), [Pipelining](#pipelining), [ed25519 plugin authentication](https://mariadb.org/history-of-mysql-mariadb-authentication-protocols/) while making no compromises on performance.
21+
2122

2223
### Insert Streaming
2324

@@ -132,13 +133,6 @@ The default API is [Promise API](https://github.com/MariaDB/mariadb-connector-no
132133

133134
[Callback API](https://github.com/MariaDB/mariadb-connector-nodejs/blob/master/documentation/callback-api.md) is provided for compatibility with the `mysql` and `mysql2` APIs.
134135

135-
## Road Map
136-
137-
The Connector remains in development. Here's a list of features being developed for future releases:
138-
139-
* MariaDB `ed25519` plugin authentication
140-
* Query Timeouts
141-
142136

143137
## Contributing
144138

appveyor.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,46 +12,50 @@ environment:
1212
TEST_LOG_PACKETS: true
1313
matrix:
1414

15-
- DB: '10.3.14'
15+
- DB: '10.4.6'
1616
MEM: "21"
1717
nodejs_version: "6"
1818
SKIP_LEAK: "1"
1919

20-
- DB: '10.3.14'
20+
- DB: '10.4.6'
2121
MEM: "21"
2222
nodejs_version: "8"
2323

24-
- DB: '10.3.14'
24+
- DB: '10.4.6'
2525
MEM: "21"
2626
nodejs_version: "10"
2727

28-
- DB: '10.3.14'
28+
- DB: '10.4.6'
2929
MEM: "21"
3030
nodejs_version: "11"
3131

32-
- DB: '10.3.14'
32+
- DB: '10.4.6'
3333
nodejs_version: "10"
3434
MEM: "21"
3535
TEST_ZIP: 1
3636

37-
- DB: '10.3.14'
37+
- DB: '10.4.6'
3838
nodejs_version: "10"
3939
MEM: "21"
4040
BENCH: "1"
4141

42-
- DB: '10.2.23'
42+
- DB: '10.3.16'
4343
MEM: "21"
4444
nodejs_version: "10"
4545

46-
- DB: '10.1.38'
46+
- DB: '10.2.25'
47+
MEM: "21"
48+
nodejs_version: "10"
49+
50+
- DB: '10.1.40'
4751
MEM: "21"
4852
nodejs_version: "10"
4953

5054
- DB: '10.0.38'
5155
MEM: "21"
5256
nodejs_version: "10"
5357

54-
- DB: '5.5.63'
58+
- DB: '5.5.64'
5559
MEM: "5"
5660
nodejs_version: "10"
5761

0 commit comments

Comments
 (0)