Skip to content

Upgrade: dependency updates across phases 1-3 #8027

Open
dalibor31 wants to merge 4 commits into
requarks:mainfrom
dalibor31:upgrade/phase1-security
Open

Upgrade: dependency updates across phases 1-3 #8027
dalibor31 wants to merge 4 commits into
requarks:mainfrom
dalibor31:upgrade/phase1-security

Conversation

@dalibor31

Copy link
Copy Markdown
 Phase 1 - Security:                                                                                        
 - lodash 4.17.21 -> 4.18.1 (CVE fix)                                                                       
 - dompurify 3.3.1 -> 3.4.10 (XSS fixes)                                                                    
 - passport 0.4.1 -> 0.7.0 (security fixes)                                                                 
 - remove deprecated request/request-promise, use native fetch instead                                      
 - update semver, simple-git, winston, nodemailer                                                           

Phase 2 - Light upgrades:
- sass 1.27.0 -> 1.101.0
- chokidar 3.5.3 -> 4.0.3
- mysql2 3.16.0 -> 3.22.5
- pg 8.16.3 -> 8.21.0
- cors, cross-env updates

Phase 3 - Medium risk:
- js-yaml 3.14.0 -> 4.2.0 (safeLoad -> load across 11 files)
- markdown-it 11.0.1 -> 14.2.0 (+7 plugin updates)
- luxon 1.25.0 -> 3.7.2
- fs-extra 9.0.1 -> 11.3.5
- cheerio 1.0.0-rc.5 -> 1.2.0
- highlight.js 10.3.1 -> 11.11.1

Knex + Objection 3.x migration:
- knex 0.21.7 -> 3.2.10
- objection 2.2.18 -> 3.1.5
- connect-session-knex 2.0.0 -> 5.0.0
- replace jsonAttributes() with jsonSchema properties (12 models)

Phase 1 - Security:
  - lodash 4.17.21 -> 4.18.1 (CVE fix)
  - dompurify 3.3.1 -> 3.4.10 (XSS fixes)
  - passport 0.4.1 -> 0.7.0 (security fixes)
  - remove deprecated request/request-promise, use native fetch instead
  - update semver, simple-git, winston, nodemailer

Phase 2 - Light upgrades:
  - sass 1.27.0 -> 1.101.0
  - chokidar 3.5.3 -> 4.0.3
  - mysql2 3.16.0 -> 3.22.5
  - pg 8.16.3 -> 8.21.0
  - cors, cross-env updates

Phase 3 - Medium risk:
  - js-yaml 3.14.0 -> 4.2.0 (safeLoad -> load across 11 files)
  - markdown-it 11.0.1 -> 14.2.0 (+7 plugin updates)
  - luxon 1.25.0 -> 3.7.2
  - fs-extra 9.0.1 -> 11.3.5
  - cheerio 1.0.0-rc.5 -> 1.2.0
  - highlight.js 10.3.1 -> 11.11.1

18 files changed, 67 insertions, 79 deletions
- Replace jsonAttributes() with jsonSchema properties (12 models)
- Fix connect-session-knex v5 API (master.js)
- Fix ajv strict type errors (users.js, settings.js)
- Remove JSON.stringify for JSON columns (objection 3 auto-serializes)
- Add allowUnionTypes for settings value column
- Revert renderMermaidDiagrams to sync API (mermaid 8.x)
- Revert page.vue mermaidAPI.initialize change
- Revert webpack config back to webpack 4
- Clean up vuetify-loader patch and shim files
- Remove lingering JSON.stringify calls on 4 auto-serialized JSON columns
  (group create/import, page create/update) — Objection 3 handles this automatically
- Add response.ok checks and AbortSignal.timeout to all 4 fetch call sites
  (contribute, performUpgrade, azure autocomplete, html-image-prefetch)
- html-image-prefetch renderer now skips images without content-type header
  instead of encoding HTML error body as base64 PNG
@dalibor31 dalibor31 force-pushed the upgrade/phase1-security branch from 1aa7448 to 681a9f6 Compare June 14, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant