Commit Graph

37 Commits

Author SHA1 Message Date
Andrei L 1dd851498a feat(admin): add documentation helper link in HeaderLayout (revival of #23328) (#26422)
* feat(admin): add documentation helper link in HeaderLayout

Revival of #23328 (by @Mcastres), rebased on develop with review feedback
addressed and additional improvements:

- Replace hand-rolled find with react-router matchRoutes for proper path
  matching and specificity ranking
- Update doc URLs to canonical docs.strapi.io paths (drop redirected
  /user-docs/* and /dev-docs/* entries)
- Restore section anchors that were lost during doc-site reorganization
  (#providers, #email-templates, #advanced-settings, profile, rbac)
- Align array path entries with actual registered admin routes (rename
  /plugins/content-type-builder, /plugins/content-releases, settings
  prefix for purchase-content-releases and list-plugins, drop dead
  /marketplace external link)
- Add opt-out flag admin.flags.docLinks for white-label deployments
  (requested by @derrickmehaffy)
- Memoize getMatchingDocLink result per pathname
- Place doc link button next to primary action via gap on parent Flex
  (per @remidej review)
- Drop async from getMatchingDocLink, derive docLink synchronously from
  pathname (per @remidej review)

Closes #23328

Co-authored-by: Maxime Castres <17828745+Mcastres@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(admin): move DocLink type to getMatchingDocLink module

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(admin): add docLinks flag to EE Window strapi type

The EE admin custom.d.ts redeclares window.strapi.flags and was missing
the docLinks property, causing test:ts:front to fail with TS2339 in
HeaderLayout.tsx.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: add getMachingDocLink tests

---------

Co-authored-by: Maxime Castres <17828745+Mcastres@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2026-05-26 09:59:00 +02:00
Ben Irvin 6ed22b5cfa security(deps): upgrade multiple dependencies (#26326)
* chore: upgrade simple-git

* chore: upgrade axios

* chore: upgrade docusaurus

* chore: upgrade docusaurus family

* chore: yarn.lock

* chore: upgrade styled-components

* chore: upgrade yaml

* chore: bump fast-uri in pinned deps

* chore: bump axios in cloud plugin

* chore: remove unnecessary ts error suppression

* chore: align docusaurus packages

* chore: yarn.lock

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Jamie Howard <jhoward1994@gmail.com>
2026-05-15 08:52:31 +01:00
Ben Irvin 353a86a60d security: package upgrades to remove deprecated versions of boolean, tar, and glob (#25776)
* chore: upgrade tar, global-agent, dedupe yarn.lock

This removes the deprecated packages: boolean, tar<7, node-gyp<12, and others

* chore: upgrade inquirer, file-type, jscodeshift, supertest

* chore: update better-sqlite3

* chore: upgrade pg and mysql2

* fix: use dynamic imports for inquirer esm only

* test(cli): add create-strapi-app test

* test(cli): add scaffold cases

* chore: upgrade to rimraf 6.1.3

* chore: dedupe yarn.lock

* security: update jwk-to-pem

* chore: dedupe yarn.lock

* chore: align inquirer version

* chore: yarn.lock

* test: fix inquirer imports

* test(cli): support zero apps

* test: fix back-end

* test(cli): fix inquirer and fs

* chore: remove accidental file

* chore: dedupe and upgrade pinned deps
2026-03-19 13:44:02 +01:00
Ben Irvin e2aec24015 chore: upgrade better-sqlite3 to 12.6.2 (#25611) 2026-03-05 12:13:37 +01:00
Ben Irvin bf72b0ec43 security: update react-router (#25391) 2026-02-11 16:30:17 +01:00
Andrei L 2102695c88 fix(ts): ignore generated .strapi folder (#25086) 2026-02-11 09:10:20 +00:00
Andrei L deacf1e97f feat(strapi/create): type strapi configs (#21859) 2026-02-03 15:50:11 +00:00
DMehaffy 15fc3ac01f chore: update multiple packages to resolve vuln warnings (#25137) 2026-01-12 16:58:41 +01:00
Bassel Kanso 19187c080b chore: add support for node 24 (#24586) 2025-11-10 14:35:56 +02:00
Ben Irvin 990cde977b chore: upgrade vite, axios, tar-fs (#23652)
* chore: upgrade vite, http-proxy-middleware, and axios

* chore: upgrade estree-util-value-to-estree
2025-06-03 14:26:41 +02:00
Marc Roig e58b6436d4 chore: bump vite version (#23330) 2025-04-08 09:30:09 +02:00
markkaylor 8c98bb4ad3 chore: bump vite from 5.4.13 to 5.4.15 (#23248) 2025-03-27 16:52:46 +01:00
Ben Irvin 1d7c499229 chore: upgrade vite to 5.4.13 (#23066) 2025-03-07 17:06:24 +01:00
Ben Irvin 324aea93bc security(deps): upgrade vite to 5.4.11 (#23023)
* chore: upgrade dompurify to 3.2.4
* chore: upgrade vite to 5.4.11
2025-03-03 09:43:09 +01:00
Ben Irvin 51d9cfeaec enhancement: add support for Node 22 (#21467) 2024-10-09 09:52:15 +02:00
Ben Irvin f91d91eef5 chore: upgrade deps and pinned subdeps for CVEs (#21425) 2024-09-27 15:43:24 +02:00
Ben Irvin 73e5bf69d8 chore: upgrade vite to 5.1.7 (#21325) 2024-09-19 10:00:36 +02:00
Rémi de Juvigny e3a1ff9d5b chore: use workspace:* version for all internal dependencies (#20929) 2024-08-02 11:25:32 -04:00
Rémi de Juvigny 07cc185117 chore: upgrade deps from example apps 2024-07-31 17:17:57 +02:00
Marc Roig 7e6f107daf v5.0.0-rc.7 (#20874)
* v5.0.0-rc.7

* chore: update missing released versions

* fix: update yarn lock
2024-07-25 09:19:02 +02:00
Convly b4ae6aa3c1 v5.0.0-rc.6 2024-07-23 15:50:21 +02:00
Convly cc58165688 v5.0.0-rc.5 2024-07-22 10:33:31 +02:00
Marc Roig 8f8324a880 v5.0.0-rc.4 (#20834)
* v5.0.0-rc.4

* chore: revert failed release

* v5.0.0-rc.4

* fix: update missing dependencies
2024-07-17 16:16:25 +02:00
Rémi de Juvigny 358dbeb3a8 v5.0.0-rc.3 2024-07-10 15:39:03 +02:00
Convly 5cd0e23bf5 v5.0.0-rc.2 2024-07-05 12:21:29 +02:00
Convly 61a76a7440 v5.0.0-rc.1 2024-07-02 14:20:33 +02:00
Convly 9cf19c7976 v5.0.0-rc.0 2024-06-26 15:16:06 +02:00
Convly 8acd6e1de4 v5.0.0-beta.17 2024-06-25 17:06:13 +02:00
Convly 4bc5b35e36 v5.0.0-beta.16 2024-06-24 23:02:36 +02:00
Convly ccb2b38bb4 v5.0.0-beta.15 2024-06-24 10:22:34 +02:00
Convly b8b91d16eb chore: v5.0.0-beta.14 2024-06-21 10:28:28 +02:00
Marc-Roig f283c6888d chore: beta-13 release 2024-06-20 09:33:41 +02:00
Convly a91fff3ff8 v5.0.0-beta.12 2024-06-19 15:22:14 +02:00
Convly cefa185d29 v5.0.0-beta.11 2024-06-18 15:12:41 +02:00
Marc-Roig 7a85133999 chore: release 2024-06-12 14:54:21 +02:00
Marc Roig 3b0cbc62e6 fix: update remaining monorepo dependencies after beta.9 update (#20454) 2024-06-06 16:31:44 +02:00
Josh 40f9762848 chore: make experimental-dev example app (#20327) 2024-06-04 12:56:50 +01:00