@cap-js/sqlite 2.0.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/lib/SQLiteService.js +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,29 @@
|
|
|
4
4
|
- The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
5
|
- This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [2.1.1](https://github.com/cap-js/cds-dbs/compare/sqlite-v2.1.0...sqlite-v2.1.1) (2025-12-15)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Dependencies
|
|
11
|
+
|
|
12
|
+
* The following workspace dependencies were updated
|
|
13
|
+
* dependencies
|
|
14
|
+
* @cap-js/db-service bumped from ^2.7.0 to ^2.8.0
|
|
15
|
+
|
|
16
|
+
## [2.1.0](https://github.com/cap-js/cds-dbs/compare/sqlite-v2.0.4...sqlite-v2.1.0) (2025-11-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
* show default pool configuration in `env` ([#1422](https://github.com/cap-js/cds-dbs/issues/1422)) ([89b397a](https://github.com/cap-js/cds-dbs/commit/89b397ade2a15be8ce81ed3e8d717fc98f1a8107))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Dependencies
|
|
25
|
+
|
|
26
|
+
* The following workspace dependencies were updated
|
|
27
|
+
* dependencies
|
|
28
|
+
* @cap-js/db-service bumped from ^2.6.0 to ^2.7.0
|
|
29
|
+
|
|
7
30
|
## [2.0.4](https://github.com/cap-js/cds-dbs/compare/sqlite-v2.0.3...sqlite-v2.0.4) (2025-10-23)
|
|
8
31
|
|
|
9
32
|
|
package/lib/SQLiteService.js
CHANGED
|
@@ -27,7 +27,7 @@ class SQLiteService extends SQLService {
|
|
|
27
27
|
|
|
28
28
|
get factory() {
|
|
29
29
|
return {
|
|
30
|
-
options:
|
|
30
|
+
options: this.options.pool || {},
|
|
31
31
|
create: tenant => {
|
|
32
32
|
const database = this.url4(tenant)
|
|
33
33
|
const dbc = new sqlite(database, this.options.client)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js/sqlite",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "CDS database service for SQLite",
|
|
5
5
|
"homepage": "https://github.com/cap-js/cds-dbs/tree/main/sqlite#cds-database-service-for-sqlite",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "cds-test"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@cap-js/db-service": "^2.
|
|
29
|
+
"@cap-js/db-service": "^2.8.0",
|
|
30
30
|
"better-sqlite3": "^12.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -44,7 +44,10 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"sqlite": {
|
|
47
|
-
"impl": "@cap-js/sqlite"
|
|
47
|
+
"impl": "@cap-js/sqlite",
|
|
48
|
+
"pool": {
|
|
49
|
+
"max": 1
|
|
50
|
+
}
|
|
48
51
|
}
|
|
49
52
|
},
|
|
50
53
|
"db": "sql"
|