36290 Commits

Author SHA1 Message Date
markkaylor
9ee35b96a1
chore: revert uuid (#24067) 2025-08-11 10:23:13 +02:00
Adrien L
f5d21551ed
fix: reordering newly created components in dz cause error on save (#24114) 2025-08-07 16:23:24 +02:00
Rémi de Juvigny
76b5b40aa1
future: set up preview injected script (#24111)
* chore: set up preview injected script

* fix: previewReady useEffect

* chore: unused var
2025-08-07 07:42:03 -04:00
Marion Kamoike-Bouguet
3116274aab
chore: change query to include parameters instead of filtering response in github action (#24116)
* chore: change query to include parameters instead of filtering response

* fix: prettier
2025-08-06 17:50:26 +02:00
Adrien L
a6aba9268c
fix: homepage widgets adjustments (#24071) 2025-08-06 16:57:09 +02:00
Adrien L
d9637048d9
feat: last activity homepage widget (#24068) 2025-08-06 15:42:00 +02:00
Bassel Kanso
095a2c6000 Merge branch 'develop' of https://github.com/strapi/strapi into develop 2025-08-06 16:24:49 +03:00
Bassel Kanso
847cd14f06
Merge pull request #24100 from strapi/releases/5.21.0
Releases: 5.21.0
2025-08-06 16:23:39 +03:00
Marion Kamoike-Bouguet
660026a706
chore: new workflow to tag issues before 2021 to prepare for cleanup - github issues management (#24098)
* new workflow to tag issues before 2021 to prepare for cleanup

* add argument to curl

* isolate labeling action + add closing action

* chore: fix prettier errors

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>
2025-08-06 11:39:00 +02:00
Bassel17
ac9adc3ccf release: 5.21.0 v5.21.0 2025-08-06 09:36:40 +00:00
Bassel Kanso
f5ce6e72b2
fix: update openapi package with correct configuration (#24099) 2025-08-05 16:25:35 +03:00
Ziyi
56f4f610f1
fix(core): handle time to dateTime and dateTime to time conversion with postgres (#24073)
* fix(core): handle time to dateTime and dateTime to time conversion with default value

* fix(core): add conversion utility function, fix linting

* fix: add eorror handling for getCurrentColumnType

* use transaction connection

* fix: escape set default placeholder

* fix(database): linting issue
2025-08-05 13:12:47 +03:00
Rémi de Juvigny
2a9b9b61cf
chore: improve getstarted dummy preview page (#24091)
* chore: improve getstarted dummy preview page

* chore: adrien feedback
2025-08-04 10:42:46 -04:00
Ankit
7c3db6de02
feat: Added firstPublishedAt field which sets the datetime when a content is first published. (#22512) (#23160)
* feat: Added firstPublishedAt field which sets the datetime when the article was first published. (#22512)
This field can be updated by the user.

* fix: Fixed linting and test errors

* fix: Fixed prettier error

* feat: Added firstPublishedAt field during publishing or updating

* feat: Added migration for firstPublishedAt

* fix: fixed test

* test: Added tests

* fix: Added fixes according to review

* fix: removed unused variable

* feat: Added first published at (#22512)

* fix: updated code according to review comments

* enhancement: config name, warning log, and refactoring

* chore: add comment for v6

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2025-08-04 13:25:22 +03:00
DMehaffy
85be04850a
fix: include encryption key in javascript template (#24076) 2025-08-04 12:24:17 +03:00
DMehaffy
20c174685c
fix: allow audit logs to be increased up to the license maximum (#24061) 2025-07-31 07:58:50 -07:00
Adrien L
f34003be2c
fix: color of release status icon (#23842) 2025-07-31 11:51:40 +02:00
Ben Irvin
8058daf82c
test(api): add test for viewable api tokens (#24064) 2025-07-31 11:38:34 +02:00
markkaylor
bb2ec9354d
fix: incorrect config won't run example app (#24063) 2025-07-31 11:25:58 +02:00
Adrien L
f116d21c09
feat: homepage upcoming releases widget (#23998) 2025-07-31 10:29:14 +02:00
markkaylor
2aa8dc580e
chore: add empty project to examples (#24049) 2025-07-31 09:54:42 +02:00
Adrien L
6d264f56ba
feat: key statistics homepage widget (#23938) 2025-07-31 09:36:25 +02:00
markkaylor
8f0cdd4f9e
Merge pull request #24004 from jorrit/fixtypo 2025-07-30 17:33:35 +02:00
Mark Kaylor
3ba656efd7 Merge branch 'main' of github.com:strapi/strapi into develop 2025-07-30 17:07:09 +02:00
markkaylor
e0f75b5ab9
Merge pull request #24058 from strapi/releases/5.20.0 2025-07-30 17:06:20 +02:00
markkaylor
12dd42c95b
Merge pull request #24059 from strapi/fix/openapi-dev-dep 2025-07-30 16:31:44 +02:00
Jamie Howard
7a83ebacc4 chore(openapi): update dependencies to version 5.20.0 2025-07-30 14:52:11 +01:00
markkaylor
7d7b44aa7c release: 5.20.0 v5.20.0 2025-07-30 12:40:47 +00:00
Ben Irvin
be03ffa02a
fix: do not overwrite modified names in create ct modal 2025-07-30 12:13:18 +02:00
markkaylor
df0d99415f
chore: update guided tour documentation (#24046) 2025-07-29 15:11:15 +02:00
Simone
13183936e7
fix: create relation and save flaky test (#24041) 2025-07-29 14:34:15 +02:00
Ben Irvin
687c4fd496 chore: overwrite names if displayName actually changes 2025-07-29 11:05:51 +02:00
Ben Irvin
06dce79903 fix: do not overwrite modified names in create ct modal 2025-07-29 09:41:16 +02:00
akash-dabhi-qed
ffc36acb30
Resolved error thrown when trying to filter users by email (#23977)
* fix(admin): Resolved error thrown when trying to filter users by email

* fix(admin): add isActive to allowed fields

---------

Co-authored-by: Ziyi Yuan <daydreamnation@live.com>
2025-07-28 16:54:35 +02:00
Dhruv Chheda
7f43c80009
fix: prevent validation error when updating user without password change (#23898)
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2025-07-28 16:42:18 +02:00
Ulysse Prygiel
73295fa5b1
fix(content-type-builder): fix schema validation when max is equal to min (#24032)
Validation of the update schema was rejecting when we would  pass a max value equal to the min value. The error message clearly stated the intention: "max must be greater or  EQUAL to min".

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2025-07-28 16:32:31 +02:00
Ben Irvin
4754eca8ef
fix: support wildcards in arrays of origins 2025-07-28 15:04:02 +02:00
Giulio Montagner
e648c19c20
chore: replace node-schedule with strapi.cron service 2025-07-28 14:58:05 +02:00
Ziyi
1680689acc
Merge branch 'develop' into fix/wildcard-support 2025-07-28 14:11:26 +02:00
Rémi de Juvigny
7f13d09efd
fix: prevent full screen loader regression in preview page (#24038) 2025-07-28 08:06:15 -04:00
Jamie Howard
7af2e99241
Add new @strapi/openapi package (#24024)
* chore(openapi): add new @strapi/openapi package with initial setup (#23173)

* enhancement(openapi): add routes collection (#23182)

* chore(openapi): add new @strapi/openapi package with initial setup and configuration

* fix: lint the test folder

* chore(openapi): add coverage/ to .eslintignore for better linting exclusion

* test(openapi): update Jest config with refined test paths and coverage

* chore: remove unused test and update openapi dependencies

* feat(openapi): add route providers, collector, and matcher

* test(openapi): add unit tests for route matching and providers

* fix: make the AbstractRoutesProvider constructor public

* chore: update test paths and imports to simplify structure

* test: update route provider tests to use dynamic fixture lengths

* feat: add basic openapi document generation (#23365)

* chore: update openapi dependencies

* feat(openapi): advanced schema generation (#23467)

* chore: rename openapi:generate CLI command to openapi generate (#23610)

* chore(openapi): add experimental warning message for OpenAPI generation feature (#23608)

Co-authored-by: Jamie Howard <jhoward1994@gmail.com>

* chore: update OpenAPI types to OpenAPIV3_1 across the codebase (#23609)

* chore: merge origin/develop

* chore: update zod dependency from beta version to 3.25.67 across the codebase using zod/v4 where needed

* fix(strapi): add output option for openapi generation command (#23849)

* feat(core): add uid transformation utility for openapi compliant names (#23833)

* feat(core): add uid transformation utility for openapi compliant names

* chore: version openapi to 5.16.1

* chore(core): update uid parameter to use internal types

* fix(core): simplify global registry check

* fix(core): remove unnecessary type assertion

* fix(core): add type assertions in validation attributes

* fix(core): remove unused import

* chore: update @strapi/openapi to 5.18.1

* Add zod schema validation to content api routes (#23886)

* feat(i18n): zod validation for locale content api routes

* feat(email): integrate zod for email content api routes

* feat(upload): wip partial zod route validation

* feat: add validation for upload and ctb content api routes (#23924)

* feat: add validation for content API routes and upload

* fix: fix linting errors and prettier error

* fix: add missing schemas

* chore(content-type-builder): more accurate zod descriptions

* Centralise AbstractRouteValidator to strapi utils (#23962)

* chore(utils): centralise abstractroutevalidator in utils for package use and schema aware extension in strapi core

* chore(core): update query parameter transformer usage in convert-query-params tests

* feat(core): enhance schema validation error handling and logging

* fix: revert incorrect changes

---------

Co-authored-by: Jamie Howard <jhoward1994@gmail.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* feat(users-permissions): zod schemas for content-api routes (#23997)

* feat(users-permissions): zod schemas for content-api routes

* fix(users-permissions): formatting

* chore: include content type for API route request body

---------

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>

* chore: minor clean up

---------

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2025-07-28 12:02:09 +01:00
Simone
116f52a58b
feat: add conditional fields e2e tests (#23843)
Co-authored-by: Ziyi Yuan <daydreamnation@live.com>
Co-authored-by: RufusLeTerrible <97893822+MarionLemaire@users.noreply.github.com>
Co-authored-by: Adrien Lepoutre <thewebsdoor@gmail.com>
2025-07-28 12:04:54 +02:00
Ben Irvin
77cb37d43d fix: handle undefined origins 2025-07-28 11:55:40 +02:00
Ben Irvin
5302884290 chore: clean up logic 2025-07-28 11:35:43 +02:00
Ben Irvin
33c610560b fix: add full support for wildcards 2025-07-28 11:30:24 +02:00
Ben Irvin
6e535cb756 fix: port comparison 2025-07-28 10:07:31 +02:00
markkaylor
0e47ec1b0a
chore: remove old guided tour and set the new one as stable (#24003) 2025-07-25 17:35:15 +02:00
Dhruv Chheda
c530cc4c2b
fix: conditional validation preview publish (#23894)
* fix: prevent validation errors when publishing from preview with conditional fields

---------

Co-authored-by: Ziyi <daydreamnation@live.com>
2025-07-25 15:00:14 +02:00
Hannah Paine
a6f2f89298
Merge pull request #23988 from ioleo/patch-issue-23969
fix: document_id must appear in the GROUP BY clause
2025-07-25 09:19:18 +02:00
Ben Irvin
1ea8ba8720 Merge branch 'main' into develop 2025-07-24 13:03:15 +02:00