Skip to content

Releases

PreCapture application version 1.2.0

Choose a tag to compare

@chicoreus chicoreus released this 06 Nov 19:11
v1.2.0

PreCapture 1.2.0

The first release since 1.1.2 (2016). It brings all the libraries up to date, adds an automatic conversion of existing databases, and fixes several data-handling issues.

Changed Requirements

  • Java 17 or later is now required.
  • Run with java -jar PreCaptureApp-1.2.0.jar.

Upgrading from 1.1.2 or earlier

  • The database library, H2, has been updated, and existing databases (PRECAPTURE2.h2.db from 1.1.2) must be converted to the new format.
  • On first start, PreCapture detects an older database and offers to convert it. Converting downloads the earlier H2 version from Maven Central, so it needs an internet connection. The original file is kept with a .bak suffix.
  • Without an internet connection, PreCapture can start with a new, empty database instead, keeping the old file. Then reload the taxon authority file (Configuration → Data Sources).

Changes and fixes

  • Startup no longer deletes data. Previously, a database error during startup could drop and recreate the tables.
  • Configurable database location: set config.database in PreCapture.properties.
  • Taxon authority export now includes Subfamily and Tribe, and is written as UTF-8, so non-ASCII names survive export and re-import.
  • CSV files saved by Excel as "CSV UTF-8" now load correctly.
  • Barcodes with accented characters are encoded so that scanners read them correctly.
  • Run Tests now checks barcode readability at 72, 150 and 300 dpi. The README has a table of barcode capacity by resolution, and an example payload.
  • The About box and Help menu report the correct version and libraries.

Internals

  • Updated libraries: Hibernate 7, H2 2.5, iText 5.5.13.6 (refs CVE-2021-43113), PDFBox 3, zxing 3.5, Jakarta XML Binding 4, log4j2, JGoodies Forms 1.9.
  • Replaced or removed unmaintained libraries: Apache Derby, javacsv (now Apache Commons CSV), json-lib (now org.json), and pdf-renderer (now PDFBox).
  • Project setup: standard Maven project layout, new data-layer tests, GitHub Actions running the tests on every push, and an executable jar attached to each release.
  • Generative AI: much of the changes in this release were developed with a generative AI coding assistant; see the README.

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0

PreCapture application version 1.1.2

Choose a tag to compare

@chicoreus chicoreus released this 24 Nov 03:33
v1.1.2

PreCapture barcode application refactored from the DataShot code base with support from the US National Science Foundation ADBC TCN for New England Vascular Plants NSF #1208835.

Release with new features requested to support the MCZ for further Lepidoptera data capture, and to support data capture in ETHZ. Changes since version 1.0.9 include a new configuration for ETHZ, and support for sorting and retention of sort order as names are transferred from the taxon authority file to the print list.

https://doi.org/10.5281/zenodo.168269

PreCapture application version 1.0.9

Choose a tag to compare

@chicoreus chicoreus released this 16 Sep 16:49

PreCapture barcode application refactored from the DataShot code base with support from the US National Science Foundation ADBC TCN for New England Vascular Plants NSF #1208835.

Release with new features requested to support the MCZ for further Lepidoptera data capture, and to support data capture in ETHZ. Changes since version 1.0.6 is use by the NEVP TCN include a new label format for the MCZ unit trays, support for workflows where number of labels to print is specified in the taxon authority file, and sort order for labels.

http://doi.org/10.5281/zenodo.154176