Skip to content

Commit ee93a6d

Browse files
authored
Merge branch 'main' into feat/valkey-caching
2 parents 14ada06 + fcfd58b commit ee93a6d

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [1.5.0](https://github.com/typelets/typelets-api/compare/v1.4.0...v1.5.0) (2025-10-13)
2+
3+
4+
### Features
5+
6+
* add configurable database connection pooling ([18507b1](https://github.com/typelets/typelets-api/commit/18507b1632ee5ebf9e04acbc4a37a2453b97a5c2))
7+
8+
# [1.4.0](https://github.com/typelets/typelets-api/compare/v1.3.1...v1.4.0) (2025-10-12)
9+
10+
11+
### Features
12+
13+
* add attachment count to notes list and enhance monitoring ([136ad40](https://github.com/typelets/typelets-api/commit/136ad401e0552644ffac1c0e378805e3bbfb5833))
14+
115
## [1.3.1](https://github.com/typelets/typelets-api/compare/v1.3.0...v1.3.1) (2025-09-25)
216

317
### Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typelets-api",
3-
"version": "1.3.1",
3+
"version": "1.5.0",
44
"description": "A secure, encrypted notes management API with folder organization and file attachments",
55
"main": "dist/server.js",
66
"license": "MIT",

src/db/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if (!process.env.DATABASE_URL) {
99

1010
const client = postgres.default(process.env.DATABASE_URL, {
1111
ssl: process.env.NODE_ENV === "production" ? "require" : false,
12+
max: process.env.DB_POOL_MAX ? parseInt(process.env.DB_POOL_MAX) : 20,
13+
idle_timeout: process.env.DB_IDLE_TIMEOUT ? parseInt(process.env.DB_IDLE_TIMEOUT) : 20,
14+
connect_timeout: process.env.DB_CONNECT_TIMEOUT ? parseInt(process.env.DB_CONNECT_TIMEOUT) : 10,
1215
});
1316

1417
export const db = drizzle(client, { schema });

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This file is automatically updated by semantic-release
2-
export const VERSION = "1.3.1";
2+
export const VERSION = '1.5.0'

0 commit comments

Comments
 (0)