Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump atrament from 0.2.4 to 1.2.0 #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 28, 2020

Bumps atrament from 0.2.4 to 1.2.0.

Release notes

Sourced from atrament's releases.

Atrament v1.2.0

This release removes mentions of the opacity option, which was removed in v1.0.0. I believe the option wasn't very useful, because the way Atrament draws the strokes is via many composite curves, which may overlap. When using the globalAlpha setting, this means the resulting stroke doesn't have uniform opacity, but is rather composed of a number of semi-transparent layers.

Thanks @alireza23 for pointing out the broken opacity slider in the demo (#52)

Atrament v1.1.0

This version brings API improvements and bug fixes mainly relating to the launch of v1.0.0. I decided to break semver rules here because 1.0.0 is only a few days old.

  • fixes #45 and #46 - begin/endDrawing are now called begin/endStroke and they record cursor position and combined with draw can be used to reconstruct strokes. See the Programmatic Drawing section of the README for a code example.
  • fixes #47 - Erase mode is now working correctly
  • removes the opacity option as it caused issues with programmatic drawing, and wasn't really working in an intuitive way anyway, since each Atrament stroke consists of many potentially overlapping curve segments.

Atrament v1.0.0

First major version bump of Atrament is here!

This version brings breaking changes to the API and new features, such as:

  • getting rid of the atrament factory function, and replacing it with the new Atrament(... constructor
  • adding a proper events system with new events such as
    • strokestart/strokeend
    • fillstart/fillend
    • strokerecorded
  • By recording reconstructible stroke data, it's now possible to implement undo/redo functionality, as well as canvas transforms on top of Atrament
  • making the smoothing parameter a number, which means developers can fine tune their desired smoothing intensity

Atrament v0.3.1

This update fixes #33 - so when clicking/tapping only once, a dot is drawn even if mousemove doesn't happen to fire.

Thanks @dethe for their brilliant fix 🙏

Atrament v0.3.0

This version brings bug fixes (issues #36 and #30)

thanks to @bencergazda for pull requests 🙏

Commits
  • c4a68f0 1.2.0
  • 5df43d9 removed mentions of opacity
  • 53988b6 Merge pull request #49 from jakubfiala/dependabot/npm_and_yarn/acorn-6.4.1
  • 890fdff Bump acorn from 6.4.0 to 6.4.1
  • 345462d 1.1.0
  • 71d1e57 fix for demo stroke simulation
  • 8d32d9b refactored modes a bit and fixed erase
  • 2653347 recording drawing mode with stroke data
  • 89f88d2 removed opacity option as it's a bit out of scope for the library and causing...
  • 0543e8c stroke options to demo and readme
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [atrament](https://github.com/jakubfiala/atrament.js) from 0.2.4 to 1.2.0.
- [Release notes](https://github.com/jakubfiala/atrament.js/releases)
- [Commits](jakubfiala/atrament@v0.2.4...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 28, 2020
@umonaca umonaca force-pushed the master branch 3 times, most recently from 6b8da85 to 8670c13 Compare July 6, 2020 08:14
@umonaca umonaca force-pushed the master branch 2 times, most recently from 2bf4459 to 678bbee Compare October 29, 2020 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants