Skip to content
Permalink
Browse files
Update CHANGES.
  • Loading branch information
mbostock committed Mar 22, 2018
1 parent 5f1e8bc commit 9bd8e371c8e5463a1e857b3c778e22a58c5b6122
Showing 1 changed file with 4 additions and 0 deletions.
@@ -1,5 +1,7 @@
# Changes in D3 5.0

[Released March 22, 2018.](https://github.com/d3/d3/releases/tag/v5.0.0)

D3 5.0 introduces only a few non-backwards-compatible changes.

D3 now uses [Promises](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises) instead of asynchronous callbacks. Promises simplify the structure of asynchronous code, especially in modern browsers that support [async and await](https://javascript.info/async-await). For example, to load a CSV file in v4, you might say:
@@ -36,6 +38,8 @@ Lastly, D3’s [package.json](https://github.com/d3/d3/blob/master/package.json)

# Changes in D3 4.0

[Released June 28, 2016.](https://github.com/d3/d3/releases/tag/v4.0.0)

D3 4.0 is modular. Instead of one library, D3 is now [many small libraries](#table-of-contents) that are designed to work together. You can pick and choose which parts to use as you see fit. Each library is maintained in its own repository, allowing decentralized ownership and independent release cycles. The default bundle combines about thirty of these microlibraries.

```html

0 comments on commit 9bd8e37

Please sign in to comment.