Skip to content

Releases: agilgur5/react-signature-canvas

v1.1.0-alpha.2: add `exports.types` to `package.json`

29 Mar 06:35
Compare
Choose a tag to compare
  • newer versions of TS 4.7+ with moduleResolution set to node16 or newer require that, if the package.json exports field is defined, then exports.types must also be defined
    • this version should now work when you have moduleResolution set to node16, bundler, or nodenext

Changelog

Packaging

Internal Changes

Dev Dependencies

  • deps: remove no longer used changelog-maker devDep by @agilgur5 in #124
  • deps: fix install on Node 22.14+ by updating canvas et al by @agilgur5 in #132

Refactors

  • refactor: use types consistently instead of typings by @agilgur5 in #130

Full Changelog: v1.1.0-alpha.1...v1.1.0-alpha.2

v1.1.0-alpha.1: native TypeScript release

15 Feb 04:16
Compare
Choose a tag to compare

Release

Native TypeScript Release

  • the API surface is entirely backward-compatible, hence why this is releasing as SemVer minor

  • first official release of the TypeScript rewrite

    • this has been on the main branch for a few years (c.f. #42), but had not been released until now
      • v1.0.6 and v1.0.7 were both backported from initial changes to the main branch
    • as it is natively in TS now, @types/react-signature-canvas is no longer necessary
      • please file an issue if there are any problems with the typings! this is released as an alpha just in case!
    • as it is natively in TS now, the build process needed quite a lot of updating
      • it's now built with Rollup (as this is a library, not an app) and various plugins (some of which I help maintain, like rollup-plugin-typescript2) instead of Webpack v1 from like a ~decade ago (did Rollup even exist back then?)
      • there is now a native ESM build and a UMD build for backward-compatibility
        • note: the UMD build may be removed at a later date during a SemVer major update/breaking change
      • please file an issue if there are any problems with the build / distribution! this is released as an alpha just in case!

Changelog

Packaging

  • Standardize test config, upgrade (some) devDeps, add named export by @agilgur5 in #70
  • TypeScript Rewrite by @agilgur5 in #42
  • optim: add assumptions to Babel config, mirroring previous config by @agilgur5 in #79
  • optim: specify version in @babel/plugin-transform-runtime by @agilgur5 in #80

Peer Dependencies

  • deps: update peerDeps to support React 18 without warnings by @agilgur5 in #89
  • deps: update peerDeps to support React 19 without warnings by @agilgur5 in #116
  • deps: move peer types to optional peerDeps by @agilgur5 in #122

Documentation

  • docs: change CI badge to use GH Actions instead of Travis by @agilgur5 in #85
  • docs: fix & update badges by @agilgur5 in #99
  • pkg: update description to mention current features by @agilgur5 in #123

Examples

  • fix: upgrade react-hot-loader for example to work with latest React by @agilgur5 in #71
  • docs: update examples to use newer React syntax by @agilgur5 in #119
  • docs: update link to new CodeSandbox example by @agilgur5 in #120
  • docs: update other CodeSandbox link as well by @agilgur5 in #121

Internal Changes

Tests

CI

  • ci: migrate to GitHub Actions w/ matrix by @agilgur5 in #84
  • fix(ci): temporarily pin matrix to Node 16 on Ubuntu by @agilgur5 in #113
  • fix(ci): update codecov-action to v5 by @agilgur5 in #114
  • fix(ci): run GH action on external PRs as well by @agilgur5 in #112

Dev Dependencies

  • env: npm audit fix some devDeps by @agilgur5 in #72
  • deps: use rollup-plugin-node-externals by @agilgur5 in #83
  • deps: upgrade to rpt2 0.32.1 to fix configPlugin declarationMap issue by @agilgur5 in #86
  • deps: use @agilgur5/tsconfig to simplify tsconfig by @agilgur5 in #87
  • deps: update node-canvas, Node, actions, + npm audit fix by @agilgur5 in #115
  • deps: update jest et al to v29, concurrently to v9 by @agilgur5 in #118

Full Changelog: v1.0.5...v1.1.0-alpha.1

v1.0.7: peerDeps support for React 19

03 Jan 22:34
Compare
Choose a tag to compare

Release

Support React 19 in peerDeps range

  • various internal CI changes to support newer Node etc (#113, #114, #115)

  • no API surface changes!

Changelog

  • [48efb01cd3] - pub: release v1.0.7 -- peerDeps support for React 19 (Anton Gilgur)
  • [4fcbda0128] - deps: remove outdated react-hot-loader (Anton Gilgur)
  • [84cf637ad4] - deps: update peerDeps to support React 19 without warnings (#116) (Anton Gilgur)
  • [89bfe66a27] - deps: update node-canvas, Node, actions, + npm audit fix (#115) (Anton Gilgur)
  • [fbd2592e46] - fix(ci): run GH action on external PRs as well (#112) (Anton Gilgur)
  • [abc477bb18] - fix(ci): update codecov-action to v5 (#114) (Anton Gilgur)
  • [f606468a79] - fix(ci): temporarily pin matrix to Node 16 on Ubuntu (#113) (Anton Gilgur)
  • [21f5e6facd] - docs: fix & update badges (#99) (Anton Gilgur)

v1.0.6...v1.0.7

v1.0.6: peerDeps support for React 18

16 Jun 19:18
Compare
Choose a tag to compare

Release

Support React 18 in peerDeps range

  • lots of internal test suite changes due to lack of Enzyme support for React 18 (see #76)

    • migrated to RTL and used some hacky ref workarounds etc to get tests working
    • and migration from Travis CI to GitHub Actions etc (#84)
  • no API surface changes!

Changelog

  • [1bdd1165e6] - pub: release v1.0.6 -- peerDeps support for React 18 (Anton Gilgur)
  • [daa5ca24c5] - deps: update peerDeps to support React 18 without warnings (#89) (Anton Gilgur)
  • [6d6dcd197b] - deps: migrate from Enzyme to RTL (#88) (Anton Gilgur)
  • [17ba39dc83] - docs: change CI badge to use GH Actions instead of Travis (Anton Gilgur)
  • [cb68096b06] - ci: migrate to GitHub Actions w/ matrix (#84) (Anton Gilgur)
  • [6cf7aec46a] - env: upgrade to lockfile v2, audit fix some devDeps (Anton Gilgur)
  • [cbdf7bd9fa] - env: npm audit fix some devDeps (Anton Gilgur)
  • [f6cfd69bb9] - fix: upgrade react-hot-loader for example to work with latest React (Anton Gilgur)
  • [ec47311168] - ci: use travis-ci.com as .org is decomm'd (Anton Gilgur)
  • [a86f272cb7] - env: switch to main branch as default (Anton Gilgur)
  • [5937bb3829] - (deps): move the window.resizeTo polyfill to its own package (Anton Gilgur)
  • [64543556d3] - (env): rename 'dist' script to 'build' (Anton Gilgur)
  • [c784a6fb6a] - (deps): upgrade to canvas@2, jsdom@15 (Anton Gilgur)
  • [91e421cf8f] - (ci): upgrade to use Node v10 (Anton Gilgur)
  • [ac8c952918] - (deps): use jest-without-globals to import jest globals (Anton Gilgur)
  • [06347a3374] - (env/refactor): standardize .gitignore (Anton Gilgur)
  • [f6e60d00c6] - (refactor): move tests to test/, test-utils/ to test/config/ (Anton Gilgur)

v1.0.5...v1.0.6

v1.0.5: peerDeps support for React 17

09 Feb 03:48
Compare
Choose a tag to compare

Release

Support React 17 in peerDeps range

  • updated internal test suite to React 17 as well
  • no other changes!

Changelog

  • [25ff907704] - pub: release v1.0.5 (Anton Gilgur)
  • [bc6f6cd326] - pub: release v1.0.4 -- peerDeps support for React 17 (Anton Gilgur)
  • [d6bc30582c] - deps: update peerDeps to support React 17 without warnings (Anton Gilgur)

v1.0.3...v1.0.5

v1.0.4: same as v1.0.3, botched release. see v1.0.5 instead

09 Feb 03:47
Compare
Choose a tag to compare

I'm a bit rusty, forgot to merge my PR locally / pull from GH when I published v1.0.4, so it only had a version change and nothing else..... awks, my b

v1.0.3: internal stability, automation, docs, and example upgrades

05 Aug 03:36
Compare
Choose a tag to compare

Release

  • no actual API surface changes!!

  • add CHANGELOG.md that points to GH Releases page for now

  • slight changes to docs, including:

    • add a CodeSandbox playground (#32)
    • add a GIF to the README (4441868)
  • LOTS of internal stability and automation upgrades, including:

    • add tests and 100% code coverage!! (#34)
    • add Travis CI support (#31)
    • officially add Standard linting to devDeps (not just global) (#31)
    • and lint, test, and changelog scripts
    • auto-update outdated package-lock and audit devDeps

now that we're past the v1.0.0 boundary, really focusing on stability, automation, and quality!! 🙂

Changelog

  • [d449c18b5d] - (pub): publish v1.0.3 (Anton Gilgur)
  • [44418684be] - (docs): add a centered gif to the top (Anton Gilgur)
  • [05ac493333] - (docs): note some recent changes in the "about" section (Anton Gilgur)
  • [5dc5b2b29a] - (test/refactor): rewrite more to be closer to BDD-style (Anton Gilgur)
  • [36cf0abd69] - (fix/test): reset clearOnResize to true for size tests (Anton Gilgur)
  • [3bd83ac59e] - (test): ensure on & off methods work properly (Anton Gilgur)
  • [8943693f79] - (refactor/test): rewrite resize test output as more BDD (Anton Gilgur)
  • [58da3e5f39] - (test): ensure resizing works correctly (Anton Gilgur)
  • [1627a60040] - (refactor/test): export fixtures as objects named <prefix>F (Anton Gilgur)
  • [13e172cc30] - (test): ensure props are set and updated correctly (Anton Gilgur)
  • [de1999f6b2] - (ci/test): add CodeCov test coverage reporting (Anton Gilgur)
  • [94fb45be9f] - (test): add code coverage configuration (Anton Gilgur)
  • [64842d00e9] - (test): ensure getCanvas and getTrimmedCanvas work properly (Anton Gilgur)
  • [29dd1bb2d4] - (test): ensure wrapper methods have equivalent output (Anton Gilgur)
  • [a0dae66d9c] - (test): add initial test harness (Anton Gilgur)
  • [8f0ca6ae5a] - (docs/fix): only report build status for master branch (Anton Gilgur)
  • [efeeb6c669] - (pkg): add 'homepage' and 'bugs' fields (Anton Gilgur)
  • [54aded6184] - (pkg): reorder package.json fields (Anton Gilgur)
  • [5f1116e2a7] - (deps): replace internal changelog script with package (Anton Gilgur)
  • [42637c6063] - (security): run npm audit fix on devDeps (Anton Gilgur)
  • [8b46e04aa1] - (docs): add a CodeSandbox playground, reorg Example section (Anton Gilgur)
  • [c4db69d194] - (docs): vertically condense badges by reducing spacing (Anton Gilgur)
  • [a47718fc5f] - (pkg): add a Changelog that points to the GH Releases page (Anton Gilgur)
  • [e7ccfd8d05] - (pkg): replace .npmignore with files array (Anton Gilgur)
  • [b6944fdb1b] - (pkg): add script to generate changelog for each release (Anton Gilgur)
  • [8aad1a6210] - (docs): add comments for what the badge sections are (Anton Gilgur)
  • [d8a71e130e] - (docs): add a Travis CI build badge (Anton Gilgur)
  • [d8762a3850] - (ci): add Travis CI support (Anton Gilgur)
  • [6b2a880b16] - (format): update standard to latest v13 (Anton Gilgur)
  • [8538985cf7] - (format): actually add standard with lint scripts (Anton Gilgur)
  • [4ea247a294] - (security): run npm audit fix on devDeps (Anton Gilgur)
  • [760c91e3ff] - (deps): update package-lock.json (Anton Gilgur)

v1.0.2...v1.0.3

v1.0.2: minor docs updates

16 Jun 03:16
Compare
Choose a tag to compare

Release

  • update NPM description to match v1.0.0 changes and GH description
  • lots of minor docs updates too

Changelog

  • [aa30ab506a] - (pub): publish v1.0.2 (Anton Gilgur)
  • [0457fb03e0] - (package): update NPM description to match 1.0.0 changes (Anton Gilgur)
  • [8553adfabf] - (docs/hotfix): track latest release by SemVer (Anton Gilgur)
  • [0c038ff9ec] - (docs): modify Example section wording due to Demo (Anton Gilgur)
  • [ec5266974a] - (docs): add Demo section linking to new live demo (Anton Gilgur)
  • [bbf4c9407b] - (docs): add link to trim-canvas (Anton Gilgur)
  • [ccf8841f89] - (fix/docs): remove $ sign from example code block (Anton Gilgur)
  • [806a4c33d2] - (format): 1 sentence = 1 line for docs (Anton Gilgur)

v1.0.1...v1.0.2

v0.3.1

24 May 03:23
Compare
Choose a tag to compare

Release

(pub): publish v0.3.1

mostly a backport of v1.0.1

- patch fix to have the same bg color on resize

Changelog

  • [09e0b18afc] - (pub): publish v0.3.1 (Anton Gilgur)
  • [f43003726d] - (pub): automatically tag releases as v0.3.x (Anton Gilgur)
  • [37c12238d8] - (refactor): move ifs around in resize (Anton Gilgur)
  • [a6fbaa4743] - (format): move more formatting to Standard style (Anton Gilgur)
  • [186658489d] - (fix): clear w/ same bg color on resize (Anton Gilgur)

v0.3.0...v0.3.1

v0.2.5

24 May 03:20
Compare
Choose a tag to compare

Release

(pub): publish v0.2.5

mostly a backport of v0.3.1 which backports v1.0.1

- patch fix to have the same bg color on resize

Changelog

  • [c78a35fb60] - (pub): publish v0.2.5 (Anton Gilgur)
  • [3ed2d88729] - (pub): automatically tag releases as v0.2.x (Anton Gilgur)
  • [36b4b95e92] - (refactor): move ifs around in resize (Anton Gilgur)
  • [f356172524] - (format): move more formatting to Standard style (Anton Gilgur)
  • [e8e971aaad] - (fix): clear w/ same bg color on resize (Anton Gilgur)

v0.2.4...v0.2.5