Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfiala committed Feb 22, 2024
1 parent c0a9a9b commit 3dfccb1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# v4.0.0

## Breaking changes
## Breaking API changes

- Atrament now only supports evergreen browsers ((Firefox, Chrome and Chromium-based browsers)
and Safari 15 or above. If your application must support older browsers, please use version 3.
Expand All @@ -12,6 +12,12 @@
- the `isDirty()` method has been replaced by the `dirty` getter, making it more consistent with the rest of the API
- the `Atrament` class now uses private fields and methods. A number of undocumented fields+methods are now not accessible from the outside.

## Drawing experience changes

- if `adaptiveStroke` is enabled (default), Atrament now responds to the pointer's pressure by changing the stroke thickness. This is useful when using pressure-sensitive input methods such as the Apple Pencil.
- stroke segments are now drawn as individual paths. This means strokes tend to start thin, then thicken and get thinner again towards the end, which is closer to the behaviour of an ink pen.
- strokes are always at least as thick as the `weight` setting in pixels, leading to a more consistent drawing feel especially when drawing finer details.

## Other changes

- Atrament is now built with Rollup and the code is not transpiled (other than separate ES Module and CommonJS bundles).
Expand Down

0 comments on commit 3dfccb1

Please sign in to comment.