You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v4.0.0 — Maintenance mode
Release notes:
- `clipboard-polyfill` is entering maintenance mode. I do not expect to add new features, and most modern projects will no longer need this library. Thanks for filing issues documenting remaining use cases: https://github.com/lgarron/clipboard-polyfill#%EF%B8%8F-you-dont-need-clipboard-polyfill-to-copy-text-%EF%B8%8F
- The build system has been overhauled to use `esbuild`. I've tested compatibility all the way back to IE10, and this will hopefully make the project more maintainable in the future. Please let me know if if you encounter any compatibility issues.
- `writeText(…)` now tries more fallbacks even if the `navigator.clipboard.writeText(…)` API is available. This should succeed in some environments where permissions are not consistently enforced.
- We no longer publish minified and/or CommonJS builds. If you need these, see: https://github.com/lgarron/clipboard-polyfill#bundling--tree-shaking--minification--commonjs
- The main build uses ESM with module splitting, so there is no longer a text-only build. Please import `writeText(…)` from `clipboard-polyfill` directly. For a tree-shaken text-only build, also see: https://github.com/lgarron/clipboard-polyfill#bundling--tree-shaking--minification--commonjs