Skip to content

Releases: d3plus/d3plus-react

v1.2.2

07 Nov 20:53
Compare
Choose a tag to compare

🚨 BROKEN RELEASE: please use v1.2.7 🚨

  • converts bin scripts to ES6 import/export syntax (6cffd92)
  • adds type:module to package.json (7ed935d)

v1.2.1

26 Oct 13:11
Compare
Choose a tag to compare
  • fixes new JSX exports in release script (#53) (9b321c2)

v1.2.0

25 Oct 21:19
Compare
Choose a tag to compare

🔥 BREAKING CHANGE 🔥

This release updates the use of React's legacy context API to use the new useContext API that was released with React v16.8. As such, if you are currently passing a global config Object down via context, you need to update your code to use the newly exported context Provider. Add the following wrapper component around the container whose children you want to apply a global config:

import React from "react";
import ReactDOM from "react-dom/client";
import {D3plusContext} from "d3plus-react";
import App from "src/App.jsx";

const globalConfig = {
  shapeConfig: {
    fill: "red"
  }
};

ReactDOM.createRoot(document.getElementById("viz")).render(
  <React.StrictMode>
    <D3plusContext.Provider value={globalConfig}>
      <App />
    </D3plusContext.Provider>
  </React.StrictMode>
);
  • installs Vite testing env (605deb4)
  • exports new D3plusContext (1b40e6e)
  • converts components to functional and useContext (53a1070)

v1.1.2

25 Oct 19:43
Compare
Choose a tag to compare
  • updates minor d3plus dependencies (9fd9498)

v1.1.1

12 Jan 20:00
Compare
Choose a tag to compare
  • updates d3plus-viz to v1.1 (372f442)

v1.1.0

12 Jan 19:43
Compare
Choose a tag to compare
  • updates d3plus-dev to v1.1 (951b1c1)
  • updates d3plus dependencies to latest (11bbe4b)

v1.0.2

15 Sep 19:24
Compare
Choose a tag to compare
  • adds manual catch for previous context state in componentDidUpdate (c51252e)

v1.0.1

29 Jun 22:16
Compare
Choose a tag to compare
  • updates d3plus dependencies to latest (1d12d32)
  • adds BoxWhisker viz class (e2d4749)

v1.0.0

03 Feb 23:55
Compare
Choose a tag to compare

This update includes potentially breaking changes from the sub-modules, so please read the full release notes: https://github.com/d3plus/d3plus/releases/tag/v2.0.0

  • updates all d3plus packages to 1.0 (b428eab)
  • fixes config docs to reference React context (closes #39) (6ce8718)

v0.6.1

20 Nov 15:52
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release
  • fixes bin/release script (8b19e16)
  • adds Matrix and RadialMatrix viz classes (29116c6)
  • updates minor dependencies (11cf5ad)