Skip to content

Commit

Permalink
update CHANGES to be less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaley81 committed Dec 2, 2024
1 parent db7dbb6 commit 527b615
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
## 5.0.0 (2024-11-28)

- change `axisLine` type from `any` to `[ | `Bool(bool) | `Obj(Js.t({..}))]` in `XAxis`, `YAxis`, and `ZAxis`
- change `dataKey` type from `string` to `[ | `Str(string) | `Int(int) | `Fn('dataObj => 'dataKey)]` in `XAxis`, `YAxis`, and `ZAxis`
- change `label` type from `any` to `[ | `Str(string) | `Int(int) | `Float(float) | `Component(React.element) | `Obj(Js.t({..}))]` in `XAxis`, `YAxis`, and `ZAxis`
- change `name` type from `string` to `[ | `Str(string) | `Int(int) | `Float(float)]` in `XAxis`, `YAxis`, and `ZAxis`
- add `range` prop to `XAxis` and `YAxis`
- change `tick` type from `any` to `[ | `Obj(Js.t({..})) | `Component(React.element) | `Bool(bool) | `Fn('tick => React.element)]` in `XAxis`, `YAxis`, and `ZAxis`
- change `tickFormatter` type from `any` to `(. 'tick, int) => string` in `XAxis`, `YAxis`, and `ZAxis` and wrap it with a curried function
- change `tickLine` type from `any` to `[ | `Bool(bool) | `Obj(Js.t({..}))]` in `XAxis`, `YAxis`, and `ZAxis`
- change `tickSize` type from `float` to `[ | `Float(float) | `Int(int)]` in `XAxis`, `YAxis`, and `ZAxis`
- fix curried functions in event handlers for `XAxis`, `YAxis`, and `ZAxis`
- add `transform` and `stroke` props to `XAxis`, `YAxis`, and `ZAxis`
- add `style` prop to `ZAxis`
- add `fillOpacity` prop to `Cell`
- add optional flags to `Treemap` props `stroke`, `fill`, `isAnimationActive`, `animationDuration`
- wrap `Pie` event handlers data prop in `Js.Nullable.t`
## Unpublished

- *[breaking]* improve bindings for XYZ axes, Treemap, Pie and Cell components [#59](https://github.com/ahrefs/melange-recharts/pull/59)

## 4.0.7 (2024-11-23)

Expand Down

0 comments on commit 527b615

Please sign in to comment.