This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
Releases: zeroclipboard/zeroclipboard
Releases · zeroclipboard/zeroclipboard
Filtered `mouseenter`/`mouseleave` events
Cancelable Mouse Events
API Refresh! (Also deprecated IE<9 support)
ZeroClipboard v2.0.0
ZeroClipboard v2.0.0
features:
- A completely refreshed API (see docs/api/ZeroClipboard.md)
- Synthetic mouse event bubbling
- Enhanced Clipboard support: rather than just plain text, you can now also inject into the HTML and RTF segments of the clipboard as well!
- Split out a "ZeroClipboard.Core.js" conceptual sub-module for simplified consumption by 3rd party wrappers.
- Sourcemap support for developer debugging of minified code
- Bug fixes
- Removed deprecated and/or unnecessarily public methods
- Officially deprecated support for IE<9. Actual support code will be removed in an upcoming patch release.
Complete Diff
Enhanced Clipboard: The End Is Nigh
After many months of off-and-on working toward the v2.0.0
version of ZeroClipboard, the end is nigh!
ZeroClipboard v2.0.0-beta.3
introduced support for the "Enhanced Clipboard" feature. This means that consumers can now have ZeroClipboard copy not only plain text... but also HTML and RichText/RTF as well!
For more information, read up:
You're cache-bustin' my balls!
Bug Fixes
- Reverted the default value for the
cacheBust
config option back totrue
after discovering issues with Chrome not passingflashVars
to cached SWFs → #357
Your focus needs more focus
Events fix for `autoActivate: false`
XSS Vulnerability Patch
Security Fix:
- Fixed a reported security vulnerability that allowed for XSS attacks. Especially dangerous when the SWF was hosted on the same domain as the page. → #335
Fixing a bug in IE < 9
The Final v1.x Release: Deprecations & Indy Clients (No more singleton!)
New Features
- Config-less support for AMD and CommonJS! → #186
- Made a
zIndex
configurable option → #276 - Allow multiple event handlers per event type → #294
- Streamlined Flash security configuration → #324
- Added an
autoActivate
configurable option → #325
Bug Fixes
- Reversed the DOM appending order for Flash to fix an IE bug → #271
- Removed
left: -9999px
style to eliminate RTL horizontal scrollbars → #272 - Now firing
"load"
/"wrongflash"
/"noflash"
immediately if known → #273 - Fixed AMD dispatching by using synchronous
require
→ #316 - Fixing
unglue
array iteration to catch all elements → #321
Infrastructure/Adminstrative
- Migrated remaining NodeUnit tests to QUnit → #269
- Added a "Known Issues" section to the README → #274
- Separated code for state, Flash, and deprecation → #277
- Added an
_extend
utility method → #293 - Code cleanup: sparse array handling, etc. → #306
- Removed client singleton pattern, thus allowing multiple independent client instances → #311
- Added better example for gluing multiple elements → #318
- Added documentation for Bootstrap Modal issue → #319
- Added documentation for jQuery UI Modal issue → #320
Deprecations
For more info, see the instructions.
- per-client
options
(all options are now globally shared) → #307 options.hoverClass
→ #296options.activeClass
→ #296options.trustedOrigins
→ #304options.allowScriptAccess
→ #304options.useNoCache
→ #326options.moviePath
→ #327ZeroClipboard.prototype.addEventListener
→ #289ZeroClipboard.prototype.removeEventListener
→ #289ZeroClipboard.prototype.setCurrent
→ #289ZeroClipboard.prototype.resetBridge
→ #289ZeroClipboard.prototype.setTitle
→ #289ZeroClipboard.prototype.setDefaults
→ #289client.handlers
→ZeroClipboard.prototype.handlers()
→ #289ZeroClipboard.prototype.ready
→ #289ZeroClipboard.prototype.glue
→ #324ZeroClipboard.prototype.unglue
→ #324ZeroClipboard.dispatch
→ #328- All v1.x event names → #328
- The v1.x event model → #328