Skip to content

feat!: drop IE 11 and modernize browser targets#946

Draft
kdaviduik wants to merge 1 commit intoadd-manual-browser-testingfrom
typescript-migration-part-4
Draft

feat!: drop IE 11 and modernize browser targets#946
kdaviduik wants to merge 1 commit intoadd-manual-browser-testingfrom
typescript-migration-part-4

Conversation

@kdaviduik
Copy link
Copy Markdown
Contributor

@kdaviduik kdaviduik commented Mar 9, 2026

Part of https://github.com/Shopify/developer-tools-team/issues/1195


BREAKING CHANGE: Drop IE 11, Safari 8, iOS 8, Android 4.4 browser support.
Minimum browser targets are now rolling modern versions aligned with
Shopify Online Store themes. The library now emits ES2015+ JavaScript
(native classes, arrow functions, template literals) and no longer
transpiles to ES5.

  • Update browserslist to union of @shopify/browserslist-config + Theme Store
    requirements
  • Remove 15 Babel ES5 transform plugins + dead @babel/plugin-external-helpers
  • Remove 7 polyfill imports from buybutton.js (whatwg-fetch, core-js/*)
  • Replace UglifyJS with terser for ES2015+-compatible minification
  • Add terser error guard against silent minification failure
  • Keep @babel/plugin-transform-modules-commonjs for Browserify test pipeline
    (until PR 7a)
  • Native ES2015 classes replace loose-mode Babel classes (non-enumerable
    prototype methods)
  • Create major changeset for 4.0.0 version bump
  • Pin pnpm/action-setup to commit SHA in ci.yml (supply chain hardening)
  • Add @changesets/changelog-github as explicit devDependency (was phantom)

@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 7ac6997 to 12e5bb9 Compare March 9, 2026 22:08
@kdaviduik kdaviduik changed the base branch from enable-auto-changelog to graphite-base/946 March 9, 2026 22:20
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 3c1c1b3 to 6b57476 Compare March 9, 2026 22:20
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to enable-auto-changelog March 9, 2026 22:20
@kdaviduik kdaviduik force-pushed the enable-auto-changelog branch from f2a1c65 to b8b74d9 Compare March 10, 2026 01:37
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 6b57476 to b24fb06 Compare March 10, 2026 01:37
@kdaviduik kdaviduik changed the base branch from enable-auto-changelog to graphite-base/946 March 12, 2026 20:43
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from b24fb06 to c47c4dd Compare March 12, 2026 20:44
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to main March 12, 2026 20:44
@kdaviduik kdaviduik changed the base branch from main to graphite-base/946 March 13, 2026 19:43
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from c47c4dd to 3bc6f43 Compare March 13, 2026 19:44
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to enable-auto-changelog March 13, 2026 19:44
@kdaviduik kdaviduik changed the base branch from enable-auto-changelog to graphite-base/946 March 14, 2026 22:51
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 3bc6f43 to 17942a1 Compare March 14, 2026 22:53
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to 03-14-feat_migrate_npm-release.yml_to_oidc_trusted_publishing March 14, 2026 22:53
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 17942a1 to 6ff31cb Compare March 15, 2026 02:23
@kdaviduik kdaviduik force-pushed the 03-14-feat_migrate_npm-release.yml_to_oidc_trusted_publishing branch from 9383c98 to 8ebf841 Compare March 15, 2026 02:23
@kdaviduik kdaviduik force-pushed the 03-14-feat_migrate_npm-release.yml_to_oidc_trusted_publishing branch from 8ebf841 to cfb88ff Compare March 15, 2026 02:39
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 6ff31cb to 6b5888f Compare March 15, 2026 02:39
@kdaviduik kdaviduik changed the base branch from 03-14-feat_migrate_npm-release.yml_to_oidc_trusted_publishing to graphite-base/946 April 22, 2026 16:12
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 6b5888f to e0d9dc1 Compare April 22, 2026 16:12
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to enable-auto-changelog April 22, 2026 16:13
kdaviduik added a commit that referenced this pull request Apr 22, 2026
- Remove core-js@3.1.4 (rebase artifact from PR #946)
- Fix JS config to use extends pattern instead of redundant spread

Co-Authored-By: Claude <noreply@anthropic.com>
@kdaviduik kdaviduik changed the base branch from enable-auto-changelog to graphite-base/946 April 22, 2026 18:11
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 79201be to 2b06723 Compare April 22, 2026 18:11
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to add-manual-browser-testing April 22, 2026 18:12
kdaviduik added a commit that referenced this pull request Apr 22, 2026
- Remove core-js@3.1.4 (rebase artifact from PR #946)
- Fix JS config to use extends pattern instead of redundant spread

Co-Authored-By: Claude <noreply@anthropic.com>
@kdaviduik kdaviduik changed the base branch from add-manual-browser-testing to graphite-base/946 April 22, 2026 18:35
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from 2b06723 to d143dbb Compare April 22, 2026 20:22
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to add-manual-browser-testing April 22, 2026 20:22
kdaviduik added a commit that referenced this pull request Apr 22, 2026
- Remove core-js@3.1.4 (rebase artifact from PR #946)
- Fix JS config to use extends pattern instead of redundant spread

Co-Authored-By: Claude <noreply@anthropic.com>
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from d143dbb to feb047f Compare April 22, 2026 20:41
@kdaviduik kdaviduik changed the base branch from add-manual-browser-testing to graphite-base/946 April 23, 2026 15:30
BREAKING CHANGE: Drop IE 11, Safari 8, iOS 8, Android 4.4 browser support.
Minimum browser targets are now rolling modern versions aligned with
Shopify Online Store themes. The library now emits ES2015+ JavaScript
(native classes, arrow functions, template literals) and no longer
transpiles to ES5.

- Update browserslist to union of @shopify/browserslist-config + Theme Store requirements
- Remove 15 Babel ES5 transform plugins + dead @babel/plugin-external-helpers
- Remove 7 polyfill imports from buybutton.js (whatwg-fetch, core-js/*)
- Replace UglifyJS with terser for ES2015+-compatible minification
- Add terser error guard against silent minification failure
- Keep @babel/plugin-transform-modules-commonjs for Browserify test pipeline (until Vite migration)
- Native ES2015 classes replace loose-mode Babel classes (non-enumerable prototype methods)
- Create major changeset for 4.0.0 version bump
- Update docs/index.md browser support table
- Pin pnpm/action-setup to commit SHA in ci.yml (supply chain hardening)

Co-Authored-By: Claude <noreply@anthropic.com>
@kdaviduik kdaviduik force-pushed the typescript-migration-part-4 branch from feb047f to 24d3912 Compare April 23, 2026 15:30
@kdaviduik kdaviduik changed the base branch from graphite-base/946 to add-manual-browser-testing April 23, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant