Skip to content

Release 4.0.0

Compare
Choose a tag to compare
@pierpo pierpo released this 26 Jun 14:04
· 48 commits to master since this release

Breaking changes

  • Dropped support of flow types. You may open a PR if you want to implement it with the new Typescript codebase (it's been dropped because the library was migrated from flow to typescript).

Changes

No new features. This is a technical upgrade, no added functionnalities.

What has been done:

  • migration to typescript
  • migration to react hooks instead of class components
  • lots of refactoring. Components were split up, lots of renaming and extracted methods for the sake of clarity. Some tests have been made more robust, too.

This will make contributions easier 😊
It might solve some bugs accidentally. It might also introduce new ones, do not hesitate to create issues if it does!

No rewriting of the drawing logic has been made, though. The library still has the same limitations of v3. Working on it will be easier starting from today, though πŸ˜‰

Bugfixes

  • Fix a typing problem with React 18 using typescript