Upgrade dotenv from v16 to v18 #556

Closed
opened 2026-10-04 18:21:47 +01:00 by Smithy-bot · 1 comment
Member

Parent: #531 (0.11.0 Dependency Updates)

Summary

Upgrade dotenv from ^16.5.0 / 16.6.1 to ^18.0.5.

Current / Target

  • Current: 16.6.1 (wanted within v16)
  • Latest: 18.0.5

Notes

  • Major version jump (16 → 18); review changelog for breaking API / default behaviour changes before upgrading.
  • Deferred from #531 which only applied non-breaking updates.

Acceptance Criteria

  • dotenv is on v18.x
  • App still loads env from .env / .env.example as expected
  • Tests and build pass
Parent: #531 (0.11.0 Dependency Updates) ## Summary Upgrade `dotenv` from `^16.5.0` / `16.6.1` to `^18.0.5`. ## Current / Target - Current: `16.6.1` (wanted within v16) - Latest: `18.0.5` ## Notes - Major version jump (16 → 18); review changelog for breaking API / default behaviour changes before upgrading. - Deferred from #531 which only applied non-breaking updates. ## Acceptance Criteria - [ ] `dotenv` is on v18.x - [ ] App still loads env from `.env` / `.env.example` as expected - [ ] Tests and build pass
Smithy-bot added this to the 0.12.0 milestone 2026-10-04 18:21:47 +01:00
Smithy-bot modified the milestone from 0.12.0 to 0.11.0 2026-10-04 18:22:02 +01:00
Vylpes self-assigned this 2026-10-30 14:44:36 +00:00
Vylpes stopped working 2026-10-30 14:49:49 +00:00
5 minutes 12 seconds
Vylpes added this to the 0.10 Sprint 4 project 2026-10-30 14:50:04 +00:00
Vylpes removed their assignment 2026-10-31 11:55:37 +00:00
Smithy-bot stopped working 2026-11-01 11:05:29 +00:00
1 minute 16 seconds
Author
Member

QA results — PASS

Tested on release/0.11.0 @ 2abbd87 (PR #570 merged).

Acceptance criteria

  • dotenv is on v18.x — package.json has ^18.0.5; resolved/installed 18.0.9 (hoisted). Nested typeorm#[email protected] remains as a transitive dep only.
  • App still loads env from .env / .env.example — call sites use dotenv.config({ quiet: true }) in src/bot.ts, src/client/client.ts, src/database/dataSources/appDataSource.ts. Smoke load of .env.example → .env returned 26 keys with no error.
  • Tests and build pass

Commands

Check Result
yarn install --frozen-lockfile PASS
yarn build (tsc) PASS
yarn lint (eslint .) PASS
yarn test (jest) PASS — 29 suites / 141 passed / 30 todo / 9 snapshots

Moving step/testing → step/uat and assigning to @Vylpes for human UAT (deployed bot env load smoke).

## QA results — PASS Tested on `release/0.11.0` @ `2abbd87` (PR #570 merged). ### Acceptance criteria - [x] `dotenv` is on v18.x — `package.json` has `^18.0.5`; resolved/installed `18.0.9` (hoisted). Nested `typeorm#[email protected]` remains as a transitive dep only. - [x] App still loads env from `.env` / `.env.example` — call sites use `dotenv.config({ quiet: true })` in `src/bot.ts`, `src/client/client.ts`, `src/database/dataSources/appDataSource.ts`. Smoke load of `.env.example` → `.env` returned 26 keys with no error. - [x] Tests and build pass ### Commands | Check | Result | | --- | --- | | `yarn install --frozen-lockfile` | PASS | | `yarn build` (tsc) | PASS | | `yarn lint` (eslint .) | PASS | | `yarn test` (jest) | PASS — 29 suites / 141 passed / 30 todo / 9 snapshots | Moving `step/testing` → `step/uat` and assigning to @Vylpes for human UAT (deployed bot env load smoke).
Smithy-bot removed their assignment 2026-11-01 11:05:29 +00:00
Vylpes 2026-11-01 12:52:13 +00:00
  • closed this issue
  • removed the
    step
    uat
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 6 minutes 28 seconds
Vylpes
5 minutes 12 seconds
Smithy-bot
1 minute 16 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
External/card-drop#556
No description provided.