Skip to content

Releases: Rami-Sabbagh/OurMarks

Enhancements & Dependencies Upgrade

21 Sep 02:59
Compare
Choose a tag to compare

Breaking Changes

The merge step (which merges the close text items) has been disabled by default, that's because in the latest versions of pdf-js it's no longer needed.

And thus it's important to upgrade your projects to the latest pdf-js or use new the mergeItems options that can be passed to the top-level functions.

Otherwise the API is actually still compatible with it's previous release (2.0.4).

Enhancements

  • Improved how student name & father name are parsed.
  • Improved how the full mark is determined (Fix #107).

Other Changes

  • Upgrade all the development dependencies to their latest versions.
  • New options parameter for extractMarksFromDocument and extractMarksFromPage.
  • Added a script for visualizing the document items in development (run yarn visualize in your cloned instance of this repository).
  • Fix some English typos here and there.
  • Rename the default branch from master to main.
  • Fix the README.md badges links.

Happy Studying!

Full Changelog: v2.0.4...v3.0.0

Upgrade dependencies

11 Oct 09:12
Compare
Choose a tag to compare
  • Upgrade to the latest dependencies.
  • Apply the security patch for ansi-regex.
  • Switch to a monthly packages upgrade cycle (instead of weekly).

Improve documentation

13 Sep 12:19
Compare
Choose a tag to compare
  • Typedoc has been updated to provide dark theme support for the documentation.
  • Switch back to the default typedoc theme because minimal has been removed.

Bundling Improvements

19 Jul 22:10
Compare
Choose a tag to compare

Improvements

  • Add ES modules support, which allows for tree shaking.
  • CommonJS support is still included.
  • The module minzipped size is now down to 1.4 KB.
  • Reached code quality A+ on Codefactor.
  • Achieved 100% code coverage.
  • More suitable for browsers usage.

Breaking changes

  • Removed loadAndExtractMarksFromDocument, because it's causing the pdfjs-dist dependency, and not suitable for the browser.
  • Users should now import pdfjs-dist on and load the document on their own.

Miscellaneous

  • Remove pdfjs-dist from the dependencies, and make it a dev dependency instead.
  • Updated the examples in README.md to include how to load the documents using pdfjs-dist.
  • Added Jest for unit testing, the module is now tested with 100% coverage as reported by Codecov.
  • Added eslint for linting the source code.

Code quality improvements

19 Jul 22:03
Compare
Choose a tag to compare

Code quality improvements by @YamanQD to reach level A on Codefactor.

Minor 'package.json' improvement

19 Jul 22:01
Compare
Choose a tag to compare

Update the homepage url in package.json.

README.md Improvements

19 Jul 22:00
Compare
Choose a tag to compare

Improve the README.md documentation.

Initial release

19 Jul 21:59
Compare
Choose a tag to compare

The initial release of the ourmarks module