From ee145b6030fd14bd793664ad6ce27c000964abb0 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Tue, 12 Apr 2022 08:22:14 +0000 Subject: [PATCH 1/2] docs(migration): Add section for renaming of CDN bundles --- MIGRATION.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 5307b44a7597..c71e33ae5fd2 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -27,6 +27,12 @@ From version 7 onwards, the CommonJS files in Sentry JavaScript SDK packages wil If you need to support Internet Explorer 11 or old Node.js versions, we recommend using a preprocessing tool like [Babel](https://babeljs.io/) to convert Sentry packages to ES5. +### Renaming Of CDN Bundles + +CDN bundles will be ES6 by default. Files that followed the naming scheme `bundle.es6.min.js` will be renamed to `bundle.min.js` and any bundles using ES5 (files without `.es6`) will turn into `bundle.es5.min.js`. + +See our [docs on CDN bundles](https://docs.sentry.io/platforms/javascript/install/cdn/) for more information. + ### Restructuring Of Package Content Up until v6.x, we have published our packages on npm with the following structure: From 7649c355a59c73f428db45585ab7ca98fca2803b Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Tue, 12 Apr 2022 10:51:01 +0200 Subject: [PATCH 2/2] Update MIGRATION.md Include review feedback Co-authored-by: Lukas Stracke --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index c71e33ae5fd2..4e5de472634d 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -29,7 +29,7 @@ If you need to support Internet Explorer 11 or old Node.js versions, we recommen ### Renaming Of CDN Bundles -CDN bundles will be ES6 by default. Files that followed the naming scheme `bundle.es6.min.js` will be renamed to `bundle.min.js` and any bundles using ES5 (files without `.es6`) will turn into `bundle.es5.min.js`. +CDN bundles will be ES6 by default. Files that followed the naming scheme `bundle.es6.min.js` were renamed to `bundle.min.js` and any bundles using ES5 (files without `.es6`) turned into `bundle.es5.min.js`. See our [docs on CDN bundles](https://docs.sentry.io/platforms/javascript/install/cdn/) for more information.