dae96fc9f2
[misc] adding documentation for connection release #211
2022-10-05 16:17:20 +02:00
cb0b7c4a34
[misc] merging #214
2022-10-03 10:34:00 +02:00
68896eafd4
Merge branch 'patch-1' into develop
...
# Conflicts:
# package.json
2022-10-03 10:31:59 +02:00
a9228510a2
[misc] adding missing documentation about debugLen
and logParam
options
2022-10-03 10:19:05 +02:00
0c766d6d9a
Update connection-options.md
...
Add debugLen to ## Other Options in documentation.
2022-09-23 18:50:38 -04:00
ba6d4b88af
[misc] correcting benchmark description
2022-08-17 12:25:35 +02:00
8bdbdd585b
[misc] correcting benchmark description
2022-07-27 09:09:25 +02:00
74fc5eaefa
[CONJS-210] benchmark result update with recent driver version
2022-07-12 19:03:10 +02:00
a55ce22a56
[misc] benchmark improvement
2022-07-05 18:45:15 +02:00
a862d8dbf7
[CONJS-209] trace option complete implementation
...
when enabled, and error occurs, error stack will now always include caller method
2022-06-30 14:32:37 +02:00
a484ccffaf
[misc] various micro enhancement
...
* pool: connection validation check isValid, correcting cases when a connection wasn't valid returning no response.
* cluster:
** ensure that when option `canRetry` is enable to not loop eternally if pool doesn't have connection anymore
** cluster end promise really returns Promise when pools are closed
* add test for cluster with one node only / or one node working only
2022-06-16 12:25:00 +02:00
72d2681bd9
[CONJS-204] handle password array with server pam_use_cleartext_plugin
2022-06-07 15:12:24 +02:00
6a4e879512
[CONJS-198] new option addition checkNumberRange
to works with insertIdAsNumber/decimalAsNumber/bigIntAsNumber #201
2022-06-02 16:11:33 +02:00
268111d78f
[CONJS-200] Improve pool connection error messaging
2022-06-01 11:48:18 +02:00
e20e08b713
correct documentation link
2022-04-04 14:14:22 +02:00
d6863347ed
[misc] update streaming configuration emphasis closing queryStream
2022-01-25 15:59:26 +01:00
c7e12e1b80
Merge branch 'develop' into maintenance/3.x
...
# Conflicts:
# documentation/promise-api.md
# lib/cmd/parser.js
# lib/io/packet.js
# test/integration/test-batch.js
# test/integration/test-call.js
# test/integration/test-local-infile.js
# test/integration/test-pool-callback.js
2022-01-24 13:36:05 +01:00
61598b3fe4
misc - update documentation with for-await-of use #189
2022-01-24 11:38:35 +01:00
d7d48444e2
CONJS-185 - consider BIT(1) as boolean
...
option bitOneIsBoolean permit to disable that behavior for compatibility
2022-01-05 11:13:02 +01:00
77c01fdb2e
misc - documentation improvement indicating that connection.release() is async
2021-12-20 11:55:13 +01:00
16d45cd7b3
CONJS-183 - change default connection timeout value to 1000ms
2021-12-09 15:31:34 +01:00
9f9b2f6fd0
Merge branch 'develop' into maintenance/3.x
...
# Conflicts:
# CHANGELOG.md
# documentation/promise-api.md
# lib/misc/errors.js
# lib/pool-base.js
# package.json
# test/integration/test-pool.js
# types/mariadb-tests.ts
2021-12-07 11:15:36 +01:00
0ec7eeaa9e
Updating documentation and README examples using mostly async/await
2021-11-22 14:46:40 +01:00
d78ba3babe
[CONJS-180] compatibility: support mysql2 stream
option #173
2021-10-18 17:36:25 +02:00
8d11d51d7b
Merge branch 'features/CONJS-178' into maintenance/3.x
...
# Conflicts:
# lib/config/pool-options.js
2021-10-13 10:41:29 +02:00
d4d32b80d2
[CONJS-179] better pool option resetAfterUse
default value
2021-10-01 17:37:53 +02:00
9425d86d70
[CONJS-178] Update code to recent node.js version
2021-09-23 16:49:14 +02:00
edafd376e6
[misc] promise documentation improvement
...
Examples are now using await/async
2021-09-15 16:48:42 +02:00
19a326fb4b
[CONJS-177] document retrieving stored procedure's output parameters #90
2021-09-15 15:03:03 +02:00
146584a688
[CONJS-176] Change Pool cluster default option removeNodeErrorCount value to Infinity
...
This default value has been set for compatibility with mysql/mysql2 drivers.
3.0 is the time to have sane default configuration.
2021-09-14 16:56:30 +02:00
6c0b8b2d24
[misc] documentation link correction
2021-09-14 15:17:29 +02:00
aed4694722
fix minor typo "JSON.stringfy" in promise-api.md
2021-09-07 10:21:41 +00:00
7f581dec54
bump 3.0.1-rc version
2021-07-29 15:57:14 +02:00
cd8af36e88
[misc] benchmark commenting graph command
2021-07-26 15:29:15 +02:00
5f6889806f
[misc] benchmark improvement and update to recent version of mysql compatible drivers
2021-07-23 15:18:34 +02:00
3374cbb3a8
[misc] documentation addition for non supported experimental ??
syntax
2021-07-06 10:17:15 +02:00
7eb26bf54a
[misc] documentation addition for non supported experimental ??
syntax
2021-07-06 10:12:42 +02:00
594592a3d0
[CONJS-168] correct stream backpressure
...
add a stream.close() method to permits closing stream, not having connection hanging when using pipeline.
2021-06-11 14:16:46 +02:00
66f82b1693
[misc] exact number implementation compatibility correction
2021-06-09 15:31:39 +02:00
86e58a4e25
[misc] documentation change
2021-06-08 16:46:16 +02:00
a8d9e7e4dd
[CONJS-167] Custom logging implementation
2021-06-08 14:32:44 +02:00
d176b01d9e
[CONJS-166] Restrict authentication plugin list by option
...
new option `restrictedAuth` permit to restrict authentication plugin used to indicated list.
2021-06-04 17:39:56 +02:00
2d0486e6f3
[CONJS-153] binary protocol support
...
new methods connection.prepare, connection.execute, connection.unprepare like mysql2 API.
Implementation differ compared to mysql2 :
* support binary batching
* support streaming parameters
* cache is not infinite: using a LRU cache (option `cacheLen`, default to 256, 0 meaning no cache).
* Implement MariaDB 10.6 new feature permitting to skip metadata if cached, server sending only the raw data for faster results
2021-06-04 11:35:56 +02:00
0685ec2ca7
CONJS-164 - new API that list options default value
...
new function `defaultOptions(option)` permit to list default option value.
> option JSON/String is not mandatory, corresponding to connection options.
example:
```
const mariadb = require('mariadb');
console.log(mariadb.defaultOptions({ timezone: '+00:00' }));
/*
{
host: 'localhost',
port: 3306,
user: 'root',
password: undefined,
database: undefined,
collation: Collations.fromName('UTF8MB4_UNICODE_CI'),
timezone: '+00:00',
...
}
*/
```
2021-03-12 11:16:35 +01:00
b6938b0550
Merge branch 'pr/141' into develop
...
# Conflicts:
# test/integration/test-socket.js
2020-12-04 10:38:41 +01:00
41c981dcc2
Update developer guide
2020-11-25 18:59:23 +01:00
f311a13a02
[CONJS-154] Timezone support correction and clarification
...
Actual timezone support has 2 issues,
* use of moment.setDefault that can be changed by the environment.
* when using timezone, connection default timezone is not set, possibly causing issue with function sensible to timezone, like NOW()
connection timezone is now set by default. If server doesn't recognized timezone format,
a warning will be issued. This setting can be disabled using option `skipSetTimezone`
2020-11-13 17:57:12 +01:00
70356875b7
[misc] Improve documentation for removeNodeErrorCount (PoolCluster options)
2020-11-10 13:54:42 +01:00
25c173e3e1
[misc] improve supportBigInt
option documentation
2020-10-23 15:29:14 +02:00
5c0643ed64
[misc] documentation update for supportBigInt
2020-10-19 14:06:18 +02:00