Releases: zeroclipboard/zeroclipboard
Future Chrome sadness
Critical Bug Fix:
Chrome 32+ has some type of DOM API changes that will break ZeroClipboard → #262
Published to Packagist
Added a "composer.json" file, registered on Packagist, and configured the GitHub service hook to push new tags (and pushes) to Packagist. This allows ZeroClipboard to easily be imported as a library dependency into PHP projects via Composer.
https://packagist.org/packages/zeroclipboard/zeroclipboard
Implementation based on advice from PR #256.
If this makes you happy, you owe a special "thank you" to @drcreazy and @maxromanovsky for making the request and giving us advice!
Fix for `trustedOrigins`
There was a critical typo that was messing up the trustedOrigins
functionality for configuration.
Fixed via PR #253.
Nothing but a good time
- [FEATURE] Config-less support for AMD and CommonJS! → #186
- [FEATURE] Event callbacks fire asynchronously [except for
dataRequested
] → #108 - [FEATURE] Made the API fluid (chainable) where possible → #219
- [BUG] AMD fixes for event dispatching → #145 (later superseded by #186)
- [BUG] CommonJS fixes for event dispatching → #185 (later superseded by #186)
- [BUG] Fixed the CommonJS detection to avoid accidental collisions with QUnit → #243
- [BUG] Fix for getting computed styles → #184
- [BUG] Increased the default z-index → #174
- [BUG] Get element position/dimensions with
getBoundingClientRect
→ #114, #187, #190 - [INFRA] Replace
make
build with GruntJS → #223 - [INFRA] Began shifting unit tests over from NodeUnit to QUnit... still in progress → #216
- [DEPRECATED]:
All the president's releases
- [FEATURE]
data-clipboard-target
will look for an element by id, and get the value. - [FEATURE]
dataRequested
method will be called when the flash object is looking for data. - [FEATURE] Unregister events with .off #84
- [FEATURE] AMD support #99
- [BUG] Respect element scrollTo position #82 reverted 4719749 caused bugs #93
- [BUG] On some linux distros, the copied text couldn't be pasted into terminal. #78
- [BUG] Make ZeroClipboard XHTML compatible #95
The Release Where Everything Changes
** IMPORTANT: WE NO LONGER ACCEPT QUERY STRINGS. INSTEAD PASS AN ELEMENT OR ARRAY OF ELEMENTS **
** IMPORTANT: new ZeroClipboard.Client() is now new ZeroClipboard() **
- [FEATURE] The selector
ZeroClipboard.$
was removed in favor of leaving it up to the user. #63 - [FEATURE] Creating new instance of the class is easier
new ZeroClipboard()
#65 - [FEATURE] Overhaul of the options setting and getting. Now via the constructor or setDefaults.
- [BUG] It was possible to glue an element multiple times.
- [BUG] Removing multiple functions for same action. Was causing multiple firings.
- [BUG] After destroy, there was an error on mouseover of old client.
Out of the Oven
- [BUG] When the border is NaN, IE will throw errors. #57
- [CHORE] Bower component.json is now pointing at non-minified zeroclipboard src
Happy Secure Year
To the future, 1.1.4 will address any bugs from the previous release.
- [SECURITY] Removing
flash.system.Security.allowDomain("*");
default. now should be set via flashvars. - [SECURITY] XSS Vunerability, the clipText returned from the flash object needs to be escaped.
- [CHORE] Renaming internal var from
.moviePath
to._moviePath
shouldn't change anything in the api.
Fixing problems
v1.1.3 taggin version 1.1.3
Just another quick release
This fixes a small bug introduced in last release.