From 3dfccb15e08083f4f4ee6e5c7a9e7a453d2248d7 Mon Sep 17 00:00:00 2001 From: jakubfiala Date: Thu, 22 Feb 2024 15:14:34 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b33bfeb..5be56d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. @@ -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).