Skip to content

Releases: Submitty/pdf-annotate.js

2.5.0

21 Jun 14:53
2089efb
Compare
Choose a tag to compare

Previous Release Notes: 2.4.0

FEATURE / ENHANCEMENT

  • [Feature:Developer] Add type declarations for typescript (#473)

BUGFIX

  • [BugFix:TAGrading] Fix text annotation (#534)

SUPPORTING REPOSITORIES & VENDOR PACKAGES

  • [Dependency] Bump async from 2.6.3 to 2.6.4 (#511)
  • [Dependency] Bump follow-redirects from 1.9.0 to 1.14.9 (#488)
  • [Dependency] Bump node-fetch from 2.6.1 to 2.6.7 (#472)
  • [Dependency] Bump url-parse from 1.5.1 to 1.5.7 (#480)
  • [Dependency] Bump url-parse from 1.5.7 to 1.5.10 (#484)
  • [DevDependency] Bump @babel/core from 7.15.5 to 7.16.5 (#436)
  • [DevDependency] Bump @babel/core from 7.16.5 to 7.16.7 (#445)
  • [DevDependency] Bump @babel/core from 7.16.7 to 7.17.5 (#481)
  • [DevDependency] Bump @babel/core from 7.17.5 to 7.17.7 (#494)
  • [DevDependency] Bump @babel/preset-env from 7.14.5 to 7.16.5 (#437)
  • [DevDependency] Bump @babel/preset-env from 7.16.5 to 7.16.7 (#446)
  • [DevDependency] Bump @babel/preset-env from 7.16.7 to 7.16.11 (#457)
  • [DevDependency] Bump babel-loader from 8.2.2 to 8.2.3 (#438)
  • [DevDependency] Bump chai from 4.3.4 to 4.3.6 (#471)
  • [DevDependency] Bump karma from 6.3.15 to 6.3.17 (#487)
  • [DevDependency] Bump karma from 6.3.17 to 6.3.18 (#505)
  • [DevDependency] Bump karma from 6.3.4 to 6.3.9 (#427)
  • [DevDependency] Bump karma from 6.3.9 to 6.3.15 (#470)
  • [DevDependency] Bump karma-chrome-launcher from 3.1.0 to 3.1.1 (#491)
  • [DevDependency] Bump karma-firefox-launcher from 2.1.1 to 2.1.2 (#439)
  • [DevDependency] Bump typescript from 4.5.5 to 4.6.2 (#489)
  • [DevDependency] Bump webpack-cli from 4.8.0 to 4.9.1 (#405)
  • [DevDependency] Bump webpack-cli from 4.9.1 to 4.9.2 (#462)

DOCUMENTATION

  • [Documentation] Add npm install line to README
  • [Documentation] Fix setStoreAdapter line in example in README

v2.4.0

05 Sep 18:20
1c8bf23
Compare
Choose a tag to compare

PREVIOUS RELEASE NOTES: v2.3.0

FEATURES

  • Allow newlines in text annotations (#356)

BUGFIXES

  • Fix pen tool blocking non-annotation mouse down actions (#344)

v2.3.0

18 Jun 21:31
Compare
Choose a tag to compare

PREVIOUS RELEASE NOTES: v2.2.2

DEPENDENCIES

  • Properly mark pdfjs-dist as a peer dependency (f3bf0e0)
  • Upgrade support for pdfjs-dist from 2.4.456 to 2.7.570 (4077dba)

BUILD

  • chore: remove twitter-text devDependency (7d347c7)
  • migrate from Travis-CI to GitHub actions (b90b886)

v2.2.2

20 Nov 14:33
Compare
Choose a tag to compare

PREVIOUS RELEASE NOTES: v2.2.0

BUGFIX

  • fix: revert change to pen behavior (35b7e7a)

BUILD

  • build: add prepublish step to run build (7f0a9f8)

v2.2.0

19 Nov 21:43
Compare
Choose a tag to compare

PREVIOUS RELEASE NOTES: v2.1.0

FEATURE / ENHANCEMENT

  • Update runtime dependency of PDF.js to 2.2.228

BUGFIX

  • fix: allow clicking on things outside of annotation layer with pen active (b403e6e)
  • fix: fix deprecation warning for load/render tasks (841e1a8)
  • fix: update usages of getViewport (05b39d8)

DEV DEPENDENCIES

  • chore(deps-dev): bump @babel/core from 7.5.5 to 7.6.0
  • chore(deps-dev): bump @babel/preset-env from 7.5.5 to 7.6.0
  • chore(deps-dev): bump codecov from 3.5.0 to 3.6.1
  • chore(deps-dev): bump eslint from 6.2.2 to 6.6.0
  • chore(deps): [security] bump https-proxy-agent from 2.2.2 to 2.2.4
  • chore(deps-dev): bump karma from 4.2.0 to 4.4.1
  • chore(deps-dev): bump lolex from 4.2.0 to 5.1.1
  • chore(deps-dev): bump mocha from 6.2.0 to 6.2.2
  • chore(deps-dev): bump webpack from 4.39.2 to 4.41.2
  • chore(deps-dev): bump webpack-cli from 3.3.7 to 3.3.10
  • chore(deps-dev): bump webpack-dev-server from 3.8.0 to 3.9.0
  • chore(deps-dev): bump sinon from 7.4.1 to 7.5.0

TESTING

  • testing: replace coveralls with codecov (a7b4717)
  • test: update mockPDFPage to match new render signature (ab61ee9)

v2.1.0

26 Aug 17:34
Compare
Choose a tag to compare

PREVIOUS RELEASE NOTES: v2.0.2

FEATURE / ENHANCEMENT

  • feat: add ability to have 2 decimal floating point pen size (d19360d)

DEPENDENCIES

DEV DEPENDENCIES

  • chore(deps-dev): bump lodash from 4.17.11 to 4.17.14
  • chore(deps-dev): bump webpack from 4.34.0 to 4.39.2
  • chore(deps-dev): bump webpack-cli from 3.3.4 to 3.3.7
  • chore(deps-dev): bump uglifyjs-webpack-plugin from 2.1.3 to 2.2.0
  • chore(deps-dev): bump webpack-dev-server from 3.7.2 to 3.8.0
  • chore(deps-dev): bump pdfjs-dist from 2.0.943 to 2.1.266
  • chore(deps-dev): bump lolex from 3.1.0 to 4.2.0
  • chore(deps-dev): bump @babel/core from 7.4.5 to 7.5.5
  • chore(deps-dev): bump @babel/preset-env from 7.4.5 to 7.5.5
  • chore(deps-dev): bump eslint from 5.16.0 to 6.2.2
  • chore(deps-dev): bump coveralls from 3.0.4 to 3.0.6
  • chore(deps-dev): bump karma from 4.1.0 to 4.2.0
  • chore(deps-dev): bump karma-chrome-launcher from 2.2.0 to 3.1.0
  • chore(deps-dev): bump karma-firefox-launcher from 1.1.0 to 1.2.0
  • chore(deps-dev): bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0
  • chore(deps-dev): bump mocha from 6.1.0 to 6.2.0
  • chore(deps-dev): bump sinon from 7.3.2 to 7.4.1

TESTING

  • test: add tests for utils/mathUtils::applyTransform (4b30725)
  • chore: update travis build matrix for supported node versions (2cf8701)

v2.0.2

18 Apr 13:22
435284f
Compare
Choose a tag to compare

Large refactor of the code to better enable it to be used both within Submitty and other projects. Fixes and enables linting and testing of the code for better CI.

This package is now published to the NPM registry: https://www.npmjs.com/package/@submitty/pdf-annotate.js

Note: Support for very old browsers is deprecated as of this release, which we define as having <1% of users or are considered dead. In a future release, we will use babel to transform the code to only support browsers that have >1% user usage and are not considered dead.

Breaking Changes:

  • Remove usage of a user_id throughout the core of pdf-annotate.js. This fixes a lot of problems involved with creating/saving annotations where the user_id information was not being passed correctly.
  • Create new LocalUserStoreAdapter.js as example of how one could do annotations from multiple users on same document. This store shows also how to make it so that one user cannot override another user's annotations unless they're marked a super user within the store.
  • Unify support for MouseEvents and TouchEvents into PointerEvents
  • Remove the dist/ folder. Built files should be gotten from the Releases page.
  • Upgrade core dependency:
    • pdfjs: 1.4.162 -> 2.0.943

Fixes

  • Improve eraser deleting annotations within its path when moving it quickly
  • Fix the color picker in web demo not showing color on hover
  • Don't trim the whitespace in the front of the text annotation

Testing

  • Fix the broken tests within the test suite
  • Test library under both Chrome and Firefox
  • Use eslint to enforce code style
  • Use coveralls to measure code coverage
  • Remove testing on Node 9
  • Add testing on Node 11
  • Remove usage of simulant as it does not support PointerEvents and we are not supporting really old browsers

Misc

  • Remove the checked-in PDF.js source code under shared/. This should be copied into place from the pdfjs-dist library automatically when running npm start.
  • Upgrade a lot of the out-of-date dev dependencies (core ones listed below):
    • babel: 6.26 -> 7.3
    • chai: 3.5 -> 4.2
    • karma: 2.0 -> 4.0
    • sinon: 1.17.3 -> 7.2.6
    • webpack: 1.12.14 -> 4.29

v.18.10.00: Merge pull request #4 from Submitty/rebuild

14 Oct 21:17
67736fd
Compare
Choose a tag to compare

v.18.09.00

08 Sep 23:43
Compare
Choose a tag to compare
Try again to get the credential right

v.18.07.00: Merge pull request #2 from Submitty/multiple-graders

03 Aug 19:18
86a1bf8
Compare
Choose a tag to compare