Marc Roig
Marc Roig
### What does it do? Fix https://github.com/strapi/strapi/issues/14384 ### Why is it needed? Deleting an entity with empty components was throwing an error. `deleteComponents` function expects one of the two: -...
### What does it do? Adding connect disconnect logic for morphOneToMany polymorphic relationship. As this is more or less complicated code I propose to do the following: - Split the...
### 👋🏻 What does it do? You could create an entity via the REST API with an empty media attribute that was required. Now it will be required and you...
### What does it do? Uniqueness stoped working after refactoring the publish method, before we were using a clone method, but now we are loading the entries in memory and...
Relations should now work even between Content Types that do not have i18n enabled. See examples of what it's being handled in https://github.com/strapi/strapi/pull/19504/files#diff-43ba31ca060a4bf50dc06335d7068d5a129852ff55a7af0389a40a971f830a7d. A more detailed example:  In this...
### What does it do? On publishing, we cloned the draft version and created a new published version. The published version relations will now target the published version of documents....
Makes sure we follow the following contract for document metadata: ``` type DocumentMetadata = { // All status of the returned locale availableStatus: Pick[]; // Available locales within the same...
You could manually set the locale value on content types with i18n disabled like: ```ts const author = await strapi.documents(AUTHOR_UID).create({ data: { name: 'Author', locale: 'fr' }, }); ``` This...
### What does it do? Improvement on document service middleware. Now you can: ``` // Middleware on any uid and any action strapi.documents.use(async (ctx, next) => ...) ``` ``` //...
### What does it do? Proposes a more composable way to define file transformations, that allows: - Using other libraries rather than sharp for image transformations (gm, jimp, ...) -...