Releases: agilgur5/react-signature-canvas
v1.1.0-alpha.2: add `exports.types` to `package.json`
- newer versions of TS 4.7+ with
moduleResolutionset tonode16or newer require that, if thepackage.jsonexportsfield is defined, thenexports.typesmust also be defined- this version should now work when you have
moduleResolutionset tonode16,bundler, ornodenext
- this version should now work when you have
Changelog
Packaging
- fix(pkg): add
typestopackage.json#exportsby @daltonkyemiller in #126 - fix(pkg): move
typesabovedefaultby @agilgur5 in #131
Full Changelog: v1.1.0-alpha.1...v1.1.0-alpha.2
v1.1.0-alpha.1: native TypeScript release
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
mainbranch for a few years (c.f. #42), but had not been released until nowv1.0.6andv1.0.7were both backported from initial changes to themainbranch
- as it is natively in TS now,
@types/react-signature-canvasis no longer necessary- please file an issue if there are any problems with the typings! this is released as an
alphajust in case!
- please file an issue if there are any problems with the typings! this is released as an
- 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
alphajust in case!
- it's now built with Rollup (as this is a library, not an app) and various plugins (some of which I help maintain, like
- this has been on the
Changelog
Packaging
- Standardize test config, upgrade (some) devDeps, add named export by @agilgur5 in #70
- TypeScript Rewrite by @agilgur5 in #42
- optim: add
assumptionsto Babel config, mirroring previous config by @agilgur5 in #79 - optim: specify version in
@babel/plugin-transform-runtimeby @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-actionto v5 by @agilgur5 in #114 - fix(ci): run GH action on external PRs as well by @agilgur5 in #112
Dev Dependencies
- env:
npm audit fixsome devDeps by @agilgur5 in #72 - deps: use
rollup-plugin-node-externalsby @agilgur5 in #83 - deps: upgrade to rpt2
0.32.1to fixconfigPlugindeclarationMapissue by @agilgur5 in #86 - deps: use
@agilgur5/tsconfigto simplifytsconfigby @agilgur5 in #87 - deps: update
node-canvas, Node, actions, +npm audit fixby @agilgur5 in #115 - deps: update
jestet al to v29,concurrentlyto v9 by @agilgur5 in #118
Full Changelog: v1.0.5...v1.1.0-alpha.1
v1.0.7: peerDeps support for React 19
Release
Support React 19 in peerDeps range
Changelog
- [
48efb01cd3] - pub: release v1.0.7 -- peerDeps support for React 19 (Anton Gilgur) - [
4fcbda0128] - deps: remove outdatedreact-hot-loader(Anton Gilgur) - [
84cf637ad4] - deps: update peerDeps to support React 19 without warnings (#116) (Anton Gilgur) - [
89bfe66a27] - deps: updatenode-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): updatecodecov-actionto 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: peerDeps support for React 18
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 fixsome devDeps (Anton Gilgur) - [
cbdf7bd9fa] - env:npm audit fixsome 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 tomainbranch 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: peerDeps support for React 17
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.4: same as v1.0.3, botched release. see v1.0.5 instead
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
- See v1.0.5 for take 2
v1.0.3: internal stability, automation, docs, and example upgrades
Release
-
no actual API surface changes!!
-
add
CHANGELOG.mdthat points to GH Releases page for now -
slight changes to docs, including:
-
LOTS of internal stability and automation upgrades, including:
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: minor docs updates
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 totrim-canvas(Anton Gilgur) - [
ccf8841f89] - (fix/docs): remove$sign from example code block (Anton Gilgur) - [
806a4c33d2] - (format): 1 sentence = 1 line for docs (Anton Gilgur)
v0.3.1
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.2.5
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)