{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":102974046,"defaultBranch":"master","name":"s3-resizer","ownerLogin":"sagidM","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-09-09T17:49:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13490595?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1680371744.0","currentOid":""},"activityList":{"items":[{"before":"e38850f7baa04ed15117c87560dc0c136e3c49e9","after":"86132ffb1c848628ea6a615277c868812f2047d5","ref":"refs/heads/master","pushedAt":"2023-04-01T21:09:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sagidM","name":"Sagid M","path":"/sagidM","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13490595?s=80&v=4"},"commit":{"message":"Add scripts create-zip & create-zip-without-aws-libs","shortMessageHtmlLink":"Add scripts create-zip & create-zip-without-aws-libs"}},{"before":"1015d1b81da4dcd8ec87826bfc04ec34e98a8c26","after":"e38850f7baa04ed15117c87560dc0c136e3c49e9","ref":"refs/heads/master","pushedAt":"2023-04-01T17:21:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sagidM","name":"Sagid M","path":"/sagidM","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13490595?s=80&v=4"},"commit":{"message":"Update s3-resizer 4.0\n\nTechnically, the interface is still compatible with version 3.x (`100x100_max/my-image.jpg` - the path is still the same), but this update brings major changes including using new import/export syntax, so the decision was to jump to a new version.\n\nHere is what's new:\n- Update the Sharp library: [v0.23.3](https://www.npmjs.com/package/sharp/v/0.23.3) => [v0.32.0](https://www.npmjs.com/package/sharp/v/0.32.0)\n- Update AWS SDK: [aws-sdk v2.36.0](https://www.npmjs.com/package/aws-sdk/v/2.36.0) => [@aws-sdk/client-s3 v3.304.0](https://www.npmjs.com/package/@aws-sdk/client-s3/v/3.304.0). The former api contained the whole sdk with 99% unused code whereas the new one contains functions specific to S3.\n- Buffers were replaced by streams. So now it's almost impossible to go out-of-memory if an image is too large (though it is still highly recommended to keep memory big +512mb, you can do that in Configuration->Edit)\n- CommonJS => ES Module. And hence `require/exports` => `import/export`. They promise to be faster as well.\n- Reduce zip size containing compiled node_modules: 30mb => 10mb.\n- If `?path=` is not set, return explaining message and `statusCode: 400`. Previously it was `Internal Server Error` with `statusCode: 500`.\n\n๐ŸŽ‰ Compiled and tested for NodeJS 18.x ๐ŸŽ‰\n```bash\nnpm i --arch=x64 --platform=linux\n\nnpm i --arch=x64 --platform=linux --only=prod\n```\n\nUse the latter only if you know what you are doing! It does not contain awk libraries in node_modules, so the latest version of the sdk will be used. You can configure auto update of built-in sdk in lambda _Runtime settings -> Edit runtime management configuration -> Update runtime version_.","shortMessageHtmlLink":"Update s3-resizer 4.0"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0wMVQyMTowOTo0My4wMDAwMDBazwAAAAMQMBKH","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0wMVQyMTowOTo0My4wMDAwMDBazwAAAAMQMBKH","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0wMVQxNzoyMTozMS4wMDAwMDBazwAAAAMQIJb5"}},"title":"Activity ยท sagidM/s3-resizer"}