Skip to content

Releases: pencil-js/pencil.js

V3.2.0

12 Sep 21:17
Compare
Choose a tag to compare
  • Add a tint option to Images
  • Small documentation fix for Rectangles

v3.1.0

17 Jul 10:34
Compare
Choose a tag to compare
  • Add rounded option to Rectangles
  • Add back method to Navigation and improve prepareScenes

V3.0.0

12 Sep 21:19
Compare
Choose a tag to compare
  • Switch to fully ESM syntax
  • Add ConicGradient module thanks to @curedbylethe (better late than never)
  • More modern documentation theme

v2.4.0

11 Feb 17:18
Compare
Choose a tag to compare
  • Add Pie component
  • Add the dashed option for all components borders
  • Improve documentation

v2.3.1

06 Sep 16:28
Compare
Choose a tag to compare

Fix issue with Path's splineThrough function

v2.3.0

03 Sep 22:24
Compare
Choose a tag to compare
  • 🎉Fix the build for ESM
  • Add Pattern background filling
  • Add absolute option to Spline
  • Use better color converter

v2.2.1

29 Jun 09:01
Compare
Choose a tag to compare

Fix missing dependency

v2.2.0

15 Jun 00:02
Compare
Choose a tag to compare
  • Add events modifiers (ex: scene.on("keydown.Enter", () => console.log("Modifiers !!"));
  • Particles have 3 new options frequency, emit and ttl (time to live). With these, you can create Particles generators.
  • Fix Image support for origin option
  • You can now create Image from other Image
  • Double-click listener

v2.1.0

18 Feb 10:00
Compare
Choose a tag to compare
  • TypeScript types for all modules (thanks to @Marr11317)
  • RegularPolygon's radius, Star's nbBranches, radius and bevelRatio are reactive (changing these values moves the points)
  • Add options for Line points coordinates to be absolute
  • Add function to Vector to detect intersection
  • Reduced publish size
  • Online documentation at https://docs.pencil-js.vercel.app/

The great merging

31 Aug 13:48
Compare
Choose a tag to compare

After being added in the 14th commits of Pencil.js, Lerna has been retired in the 672nd one (that's 658 commits or 2 years and 5 months of service).

Modularity is, and has always been, one of the core principle at the heart of Pencil.js development. Lerna was a big helping hand for that purpose. But things changes. With now 44 individual modules, it became cumbersome to maintain and very slow to execute any actions.
That's why I made the decision to remove the use of Lerna and merge all module under the Pencil.js package. All old modules are now unmaintained. However, they should stay compatible with the new package in the foreseeable future.

Also:

  • Draggable and rotatable now return a stop function
  • All Input now support shadow and origin options
  • Add a stop function to all events
  • Minor performance improvements