449 Commits

Author SHA1 Message Date
Bassel Kanso e666ee26ae Merge branch 'main' into develop 2026-06-02 17:08:25 +03:00
Andrei L 1138f7c6ad chore(admin): remove punycode dependency (#26189)
* chore(admin): remove punycode dependency

WHATWG URL handles IDN natively on Node >=20, so the punycode call
before `new URL()` is redundant.

Per Node docs (https://nodejs.org/api/url.html#new-urlinput-base):

  Unicode characters appearing within the host name of input will be
  automatically converted to ASCII using the Punycode algorithm.

  const myURL = new URL('https://測試');
  // https://xn--g6w251d/

Drops `punycode` and `@types/punycode` from packages/core/admin.

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

* fix(typescript): guard pathExistsSync against undefined config path

`getConfigPath` may return `undefined` when no tsconfig matches; passing
that into `fse.pathExistsSync` triggers DEP0187 on Node >=22:

  [DEP0187] DeprecationWarning: Passing invalid argument types to
  fs.existsSync is deprecated

Short-circuit to `false` when the path is not resolved.

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

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2026-05-28 15:09:31 +00:00
jhoward1994 42509493bf release: 5.47.0 2026-05-28 11:22:14 +00:00
Bassel17 04ac8c3e90 release: 5.46.1 2026-05-20 09:09:00 +00:00
Mark Kaylor 83fec11da9 Merge remote-tracking branch 'origin/main' into develop 2026-05-13 19:12:11 +02:00
markkaylor 7f34c4b7d9 release: 5.46.0 2026-05-13 13:39:32 +00:00
Andrei L b5452ab89f chore(eslint): migrate .eslintrc + .eslintignore to .eslintrc.cjs (#26216)
* chore(eslint): migrate .eslintrc + .eslintignore to .eslintrc.cjs

Consolidates the per-package ESLint setup into a single typed
`.eslintrc.cjs` file across the monorepo (177 files touched).

Why
- `.eslintignore` is removed in ESLint v9/v10. Folding ignore patterns
  into `ignorePatterns` inside the rc file is the supported migration
  path and unblocks future ESLint upgrades (which will likely be needed
  alongside the in-flight TypeScript 6 migration).
- `.cjs` extension is explicit about module format, so the configs keep
  working if any package later adopts `"type": "module"` (no CJS/ESM
  surprises).
- Wrapping each config in `// @ts-check` + a `Linter.Config`-typed
  `const config` block gives editor autocomplete and catches typos.
  Surfaced two real duplicates in
  `eslint-config-custom/back/typescript.js`
  (`node/no-unsupported-features/es-syntax`,
  `node/no-missing-import`), now deduplicated.
- `extends` references switched from the `custom/*` shorthand to the
  explicit `eslint-config-custom/*` package name. ESLint resolves both,
  but the explicit form makes the source unambiguous.
- Added `coverage/` to `ignorePatterns` so coverage output produced
  inside a workspace is not linted.

Misc
- `examples/kitchensink` had ESLint configured but no `lint` script;
  added one so the config actually runs.
- `nx.json` hash inputs updated:
  - removed `.eslintignore` (no longer exists)
  - replaced `{projectRoot}/.eslintrc.js` with
    `{projectRoot}/**/.eslintrc.cjs` so nested package configs are also
    part of the cache key (the previous glob missed them).
- `packages/utils/upgrade/tsconfig.eslint.json` include path updated
  from `.eslintrc.js` to `.eslintrc.cjs`.

Verification
- `eslint --print-config` resolves cleanly on sampled back/front
  packages (admin, users-permissions, upload).
- Full `pnpm -r lint` is clean.

* chore(eslint): set tsconfigRootDir for vscode-eslint typed linting

CLI lint resolved tsconfig paths via cwd, but vscode-eslint runs from
the workspace root and could not locate per-package tsconfigs. Set
parserOptions.tsconfigRootDir to __dirname in each package's
.eslintrc.cjs so the editor resolves typed-lint configs correctly.

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

* chore(eslint): self-ignore configs, scope coverage to jest packages

- Replace `env: { es6: true }` workaround with `.eslintrc.cjs` in
  ignorePatterns so eslint never lints the config file itself
  (root cause of the "const is not a keyword" parse error in es5)
- Add `.eslintrc.cjs` to ignorePatterns across all configs that
  were missing it
- Restrict `coverage/` ignorePatterns to workspace roots that
  actually run jest; drop from non-test packages and admin/server
  subdir configs (tests run from the workspace root)
2026-05-12 07:32:12 +00:00
jhoward1994 9300041094 release: 5.45.1 2026-05-11 10:41:36 +00:00
Bassel17 c5bc749fee release: 5.45.0 2026-05-06 10:06:46 +00:00
Adzouz 11554fe43e release: 5.44.0 2026-04-29 13:06:31 +00:00
nclsndr 765bd19a3a Merge branch 'develop' of github.com:strapi/strapi 2026-04-24 15:40:44 +02:00
Ben Irvin ac6cd0063c chore(deps): bump multiple dependencies (#26103)
dotenv: 16.4.5 → 16.6.1
fs-extra: 11.2.0 → 11.3.4
semver: 7.5.4 → 7.7.4
typescript: 5.4.4 → 5.4.5
esbuild-loader: 4.3.0 → 4.4.3
esbuild-register: 3.5.0 → 3.6.0
grant: ^5.4.8 → 5.4.24 (pinned)
markdown-it: ^13.0.2 → 14.1.1
2026-04-24 13:11:54 +01:00
nclsndr 14628987b5 release: 5.43.0 2026-04-22 14:30:40 +00:00
Jamie Howard 399f2a89f2 Merge pull request #26041 from strapi/main
chore: release v5.42.1 update develop
2026-04-16 14:26:11 +01:00
Bellian 7c5332546b enhancement: strapi dev continue watching on build error (#25514)
* feat: strapi dev continue watching on error

* fix(strapi): await TS compile in build and harden develop watcher

Await tsUtils.compile during strapi build so failures are caught and
process still exits with 1. Add ensureWatcher guard to avoid duplicate
chokidar handlers when strapiInstance.start() throws after the watcher
is registered. Wrap cluster reload compile in try/catch with exit on
failure; fail loadStrapi spinner and normalize non-Error throws in the
develop catch path.

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2026-04-15 15:42:16 +00:00
jhoward1994 4709832272 release: 5.42.1 2026-04-15 11:13:30 +00:00
dependabot[bot] 68e20493cc chore(deps): bump lodash from 4.17.23 to 4.18.1 (#25919)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 10:50:59 +02:00
markkaylor e86a5190a5 release: 5.42.0 2026-04-08 12:14:52 +00:00
Bassel17 5ae36e382d release: 5.41.1 2026-04-01 09:48:47 +00:00
Bassel17 967175a13b release: 5.41.0 2026-04-01 09:10:30 +00:00
Adzouz e1cdebd2a5 release: 5.40.0 2026-03-18 13:25:35 +00:00
Bassel Kanso ea3b700d6d Merge branch 'main' into develop 2026-03-11 16:37:26 +02:00
Bassel17 243c96ff4a release: 5.39.0 2026-03-11 10:13:31 +00:00
Bassel17 cd12da721d release: 5.38.1 2026-03-11 09:56:28 +00:00
Nikolas Rimikis a0a18654b2 chore: use https instead of git url in package.repository.url (#25698)
Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
Co-authored-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
2026-03-10 12:42:42 +00:00
Nikolas Rimikis f2a8048761 chore: update package metadata (#25599)
Add homepage, bugs and repository information to every public package

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
Co-authored-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
2026-03-09 15:34:48 +01:00
markkaylor 29f5741e96 release: 5.38.0 2026-03-04 13:09:53 +00:00
Bassel17 e7bb15d0fd release: 5.37.1 2026-02-26 14:50:27 +00:00
innerdvations c18dbf7892 release: 5.37.0 2026-02-26 08:27:53 +00:00
innerdvations 6187e8a9d7 release: 5.36.1 2026-02-18 14:16:09 +00:00
markkaylor 23a521fab4 release: 5.36.0 2026-02-11 14:05:28 +00:00
innerdvations ec17c9e1ed release: 5.35.0 2026-02-04 12:48:11 +00:00
markkaylor 47cff8e767 release: 5.34.0 2026-01-28 14:54:52 +00:00
Ben Irvin 168539f2ee chore: update lodash to 4.17.23 (#25244) 2026-01-23 17:30:28 +01:00
Bassel17 2437d69089 release: 5.33.4 2026-01-21 11:43:11 +00:00
innerdvations 8cf09da6cf release: 5.33.3 2026-01-14 11:05:34 +00:00
markkaylor 4a8a5c9c88 release: 5.33.2 2026-01-08 08:47:12 +00:00
Bassel17 78aac892c9 release: 5.33.1 2025-12-29 09:43:19 +00:00
markkaylor 7bf3fdf9d5 release: 5.33.0 2025-12-17 13:10:40 +00:00
innerdvations a54a83b36a release: 5.32.0 2025-12-10 15:12:24 +00:00
remidej a7b581af10 release: 5.31.3 2025-12-03 14:17:15 +00:00
innerdvations ddafab886c release: 5.31.2 2025-11-20 13:19:46 +00:00
markkaylor cb353c3cde release: 5.31.1 2025-11-19 13:34:00 +00:00
Maxime Robert d452c8b1eb fix: contentTypes generation fails on negative number (#24056) 2025-11-14 13:50:32 +01:00
Bassel17 c48808e805 release: 5.31.0 2025-11-12 10:15:59 +00:00
Bassel Kanso 19187c080b chore: add support for node 24 (#24586) 2025-11-10 14:35:56 +02:00
remidej 7c6ac08a67 release: 5.30.1 2025-11-05 15:35:27 +00:00
Bassel17 9cb2f23261 release: 5.30.0 2025-10-30 10:10:06 +00:00
markkaylor 1b6df4d123 release: 5.29.0 2025-10-22 12:37:58 +00:00
innerdvations 7e1c015617 release: 5.28.0 2025-10-15 13:43:43 +00:00