296 Commits

Author SHA1 Message Date
Convly
b4a4e42919 Merge branch 'main' of github.com:strapi/strapi into releases/4.11.6 2023-07-19 16:47:47 +02:00
Convly
1edefac8a3 v4.11.7 2023-07-19 16:39:46 +02:00
Marc Roig
961ad56e43
Merge pull request #17159 from goodhoko/chunk-conditionally 2023-07-18 21:48:34 +02:00
dependabot[bot]
791b336f40
chore(deps): bump aws-sdk from 2.1413.0 to 2.1415.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1413.0 to 2.1415.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1413.0...v2.1415.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16 22:25:31 +00:00
Marc-Roig
f5e40910a5
Merge branch 'main' into releases/4.11.5 2023-07-12 15:44:01 +02:00
Marc-Roig
7bdef3d278
v4.11.5 2023-07-12 14:47:27 +02:00
dependabot[bot]
73462765d8
chore(deps): bump aws-sdk from 2.1409.0 to 2.1413.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1409.0 to 2.1413.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1409.0...v2.1413.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 08:19:42 +00:00
Convly
3149e374f4 Merge branch 'releases/4.11.4' 2023-07-05 16:51:48 +02:00
Convly
8d325a6953 v4.11.4 2023-07-05 16:46:16 +02:00
dependabot[bot]
ac3016b86b
chore(deps-dev): bump the jest group with 4 updates
Bumps the jest group with 4 updates: [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest), [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest), [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) and [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli).


Updates `jest` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest)

Updates `@types/jest` from 29.2.0 to 29.5.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `jest-circus` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest-circus)

Updates `jest-cli` from 29.5.0 to 29.6.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.0/packages/jest-cli)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: jest-circus
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
- dependency-name: jest-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: jest
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 07:10:53 +00:00
Jen Tak
5c87d997cf
Update packages/providers/upload-cloudinary/src/index.ts
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-07-03 11:07:01 +02:00
dependabot[bot]
1d3dcb7bf3
Bump aws-sdk from 2.1399.0 to 2.1409.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1399.0 to 2.1409.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1399.0...v2.1409.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-02 22:40:43 +00:00
Marc Roig
7328972567
Merge pull request #17145 from strapi/fix/do-not-sign-cdn-files 2023-06-30 10:33:51 +02:00
Marc-Roig
133ddc2de4
fix: do not sign files if using baseUrl 2023-06-29 17:02:53 +02:00
Jen Tak
114fbeb954
Chunk Cloudinary uploads only for large files
This alleviates a performance regression introduced by #16621.

It turned out uploading in chunks is quite a bit slower. In my testing a 42MB file uploaded in 5 seconds using regular upload and 31 seconds using chunks.

Use regular upload when possible and only chunk files when required by Cloudinary's 100 MB limit.

Ironically, files larger than 100 MB will still upload painfully slow. There's nothing to be really done here. There's even this thread on Cloudinary's support forum where they claim that a 1 MB/s upload speeds are "completely normal".
https://support.cloudinary.com/hc/en-us/community/posts/5524874765970/comments/5551989993106
2023-06-28 23:32:00 +02:00
Marc-Roig
f9a4af2894
Merge branch 'main' into releases/4.11.3 2023-06-28 17:27:34 +02:00
Marc-Roig
aac28413ad
v4.11.3 2023-06-28 16:52:34 +02:00
Alexandre Bodin
8e1e7317a7 Improve types 2023-06-26 17:29:11 +02:00
Alexandre Bodin
131988a98d Update after PR review 2023-06-23 20:58:27 +02:00
Convly
6f7c815c2b v4.11.2 2023-06-21 15:57:32 +02:00
dependabot[bot]
e54595c02c
chore(deps): bump aws-sdk from 2.1372.0 to 2.1399.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1372.0 to 2.1399.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1372.0...v2.1399.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-18 23:01:53 +00:00
Jean-Sébastien Herbaux
aea0ea8350
Merge pull request #16990 from strapi/releases/4.11.1 2023-06-12 17:27:43 +02:00
Marc-Roig
6cdb5a7737
v4.11.1 2023-06-12 17:10:44 +02:00
Marc
6a14ac1b76
Merge pull request #16940 from strapi/docs/fix-acl-expire-time-s3 2023-06-12 10:52:25 +02:00
Marc
e41415e8ff
Merge pull request #16868 from strapi/fix/s3-bucket-compat-providers 2023-06-08 17:46:53 +02:00
Marc
aa7f6368d0
Update utils.ts 2023-06-08 11:02:12 +02:00
Alexandre Bodin
0de06a008d v4.11.0 2023-06-07 17:16:22 +02:00
Marc-Roig
f787d94bad
fix: mention actual expire time of private assets 2023-06-07 12:08:19 +02:00
Convly
da080df32b v4.10.7 2023-05-31 17:46:38 +02:00
Marc-Roig
7b895b35ac
feat: implement is url from bucket 2023-05-31 11:26:44 +02:00
Convly
7dbae9d05d v4.10.6 2023-05-24 16:54:28 +02:00
dependabot[bot]
6ca06c8c5b
chore(deps): bump cloudinary from 1.33.0 to 1.37.0
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_npm) from 1.33.0 to 1.37.0.
- [Release notes](https://github.com/cloudinary/cloudinary_npm/releases)
- [Changelog](https://github.com/cloudinary/cloudinary_npm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/cloudinary_npm/compare/1.33.0...1.37.0)

---
updated-dependencies:
- dependency-name: cloudinary
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-21 23:05:30 +00:00
Sébastien Vanvelthem
5d645f2103
chore: align swc usage for test:unit and fix swc/helpers hazards (#16731) 2023-05-18 09:53:07 +01:00
DMehaffy
1ff71db3f6
Merge pull request #16746 from strapi/fix/marketCSP
Remove all references to airtable assets and switch to market-assets
2023-05-17 05:44:39 -07:00
Marc
73852290ee
Merge pull request #16621 from goodhoko/patch-1 2023-05-17 11:46:04 +02:00
derrickmehaffy
b66bd63a65 remove all references to airtable assets and switch to market-assets 2023-05-16 14:17:58 -07:00
Convly
d9277d616b v4.10.5 2023-05-11 18:28:54 +02:00
Convly
3f55bac2e7 v4.10.4 2023-05-10 14:46:30 +02:00
Marc-Roig
1b4b5ffd16
chore: bump aws-sdk version 2023-05-05 08:27:45 +02:00
Jen Tak
d9640031df
Use upload_chunked_stream instead if upload_stream
Cloudinary limits the filesize to 100 MB when uploading in a single request:
https://cloudinary.com/documentation/upload_images#chunked_asset_upload

Larger files must be uploaded in chunks.

Use the upload_chunked_stream to upload all files in chunks. This works for small files just as well.

Closes #16601
2023-05-04 19:19:28 +02:00
Convly
a02b19866a v4.10.2 2023-05-03 15:04:25 +02:00
Alexandre BODIN
dceea7201b
Force manual build to run lint to avoid unnecessary rebuilds (#16532) 2023-04-28 15:20:20 +02:00
Alexandre Bodin
23b531cef5 v4.10.1 2023-04-26 15:45:41 +02:00
Alexandre Bodin
9b5519778f v4.10.0 2023-04-26 14:32:28 +02:00
Marc-Roig
98e3a31721 fix: check for base url 2023-04-21 12:25:39 +02:00
Convly
91e0be2708 v4.9.2 2023-04-19 14:54:40 +02:00
Josh
85ef76015c fix: don't use a named export, export an object 2023-04-13 09:56:16 +01:00
Alexandre BODIN
28d82d3333
Migration of providers to ts (#16323) 2023-04-13 08:45:44 +02:00
Convly
21d4ecb45a Merge branch 'releases/4.9.1' 2023-04-12 16:29:08 +02:00
Convly
c8f2f0543b v4.9.1 2023-04-12 16:24:32 +02:00