Skip to content

0.23.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 03:21
· 3 commits to main since this release

Since 0.21.0

0.22.0 was tagged but not released. This release also contains it:

  • new: the word all at the page question now means all pages (before, it stopped the wizard).
  • An experimental browser version (platforms/browser/), a closed beta for invited testers. Linux is not changed by it.
  • BREAKING (platform packs only): hook API 4 (the question protocol). The Windows build follows; Linux has no pack.

Linux users of 0.23.0: a skewed or bent scan can give parts that differ by a few pixels from before, and saved items analyse again once. Vector scores do not change.

Added

  • Browser version: a first musician page at the site root (index.html), for the closed beta. It lists the pieces of the library (title, composer, status, part files) with Continue, Build parts, Download parts (a zip of the part PDFs), Save zip and Show proof. The questions of the engine show as forms: the lines they are about, a field, a button for the default, a button for each known answer, and Stop. A spinner, the seconds and the page of the analysis show the progress. Large type, with A− and A+; on a phone the header stays on one line. The developer test page moves to /dev (dev.html).
  • Browser version: deploy-browser.sh --ref TAG builds and uploads an annotated tag from a temporary git worktree. The public Pages project (partitor-app, or CF_BROWSER_PUBLIC) takes only a tag with a published GitHub release; a deploy without --ref, or of a draft, is refused (docs/RELEASING.md, "Browser build").
  • Browser version, musician page: the version of partitor and links to the source code and the licences, at the bottom of the page.
  • Item menu: its question gives the menu keys as choices (ITEM_MENU_CHOICES), so a screen can show a button for each. The Linux menu text does not change.

Changed

  • Scans: the deskew and the dewarp of a page use partitor's own bilinear resampling (integer arithmetic) instead of OpenCV's. The result is the same on every computer and in the browser; before, OpenCV versions and processors gave slightly different pixels, and on one test page the browser read a clef as F4 where Linux read C4. A skewed or bent scan can give parts that differ by a few pixels from before; systems, parts, clefs and bars of the test pages did not change. Items analyse again once (the stage cache key includes vision.py). Vector scores are not changed (docs/DESIGN.md §12.6).
  • Docs, browser version: the cause of the different results on scans is the deskew rotation (cv2.warpAffine), which OpenCV 4.11 (browser) and 5.0 (Linux) compute differently; platforms/browser/README.md, Limits.