Skip to content

Latest commit

 

History

History
87 lines (49 loc) · 3.87 KB

CHANGES.md

File metadata and controls

87 lines (49 loc) · 3.87 KB

react-faux-dom changes

v3.1.0

  • Revert #75. It caused issues in some cases.
  • Merge #85 - Reuse the DOM in updates when using the mixin.

v3.0.1

  • Fix builds, as reported by #81 - It used to use a tool I built, bastion, but npm@3+ broke that. Uses webpack directly now.
  • Add a bind where there could be potential issues. Fixes #75.
  • Merge #65 - Documentation improvements.

v3.0.0

  • Merge #69 - Return an empty string from style getters by default. From issue #68.
  • Merge #71 - Changes npmcdn URLs to unpkg. Not sure why they're doing this but oh well.

Breaking change because of the following:

  • The default return type of the style functions have changed from undefined to string.
  • The unpkg build (previously npmcdn) exports to the global ReactFauxDOM instead of react-faux-dom.

v2.7.1

  • Merge #59 - Updates D3 to v4 (a devDependency) and makes sure the tests work fine.

v2.7.0

  • Merge #52 - Add support for getBoundingClientRect, thanks to @alexyuly!

v2.6.2

  • REALLY fix package.json, just realised I don't need to publish to test this :(

Sorry about v2.6.{0,1,2}, my bad.

v2.6.1

  • Fix package.json files array by removing it. Trying to get dist in npm.

v2.6.0

  • Merge #53 (just my approach to #48) - Provide a UMD build in a CDN.

v2.5.0

  • Merge #41 - Adding mixin with animation support (thanks @krawaller!)

v2.4.0

  • Merge #37 - Replace lodash dependencies with in house functions
  • Throw when querySelector(All) does not receive an argument
  • Return null when querySelector does not find a match

v2.3.0

  • Merge #38 - Fix vendor prefixes for already camelCased style names

v2.2.0

  • Merge #35 - Define childNodes in Element
  • Some small README improvements

v2.1.1

  • Merge #26 - Documentation
  • Merge #27 - Cache some RegExps and make a section of code more DRY

v2.1.0

  • Merge #23 - Support data and aria attributes
  • Merge #25 which fixes #19 - On click not passing through D3 datum

v2.0.1

  • Fix #10 - Vendor prefixed styles are camel cased incorrectly

v2.0.0

  • Fix #9 - Make events work like the normal DOM

This should contribute to fixing #4 (Support for Brush) too. The reason that this is a breaking change (a major version bump) is that the event object you receive in event listeners is now the actual native event, not a React synthetic event. If you want the synthetic event use the syntheticEvent property. This should help even more d3 code just work out of the box.

v1.1.0

  • Fix #7 - toReact mutates the faux element