Releases: beenacle/coa-vault
Releases · beenacle/coa-vault
Release list
v0.2.4
- New: bulk "Read data with AI" on the All COAs screen. Select records whose attached
certificate still has empty figures (typical after a migration that only carried the
files), run the bulk action, and each certificate is read in turn with a progress bar —
then ONE review table shows every proposed value for you to tick and apply. Strictly
fill-blanks-only: only empty fields are ever written, checked again server-side, so
a bad read can never overwrite good data. A per-row Read data link runs the same
flow for a single record, and a notice on the list counts the records still missing
figures. Requires an Anthropic key (COA → Settings). - Change: a "Purity" or "Mass" row typed into the extra-characteristics repeater (in the
column's own unit) is now folded into the headline Purity/Mass field on save instead of
being stored twice; textual or off-unit values still stay as characteristics. - Fix: storefront variation swap on cached pages. Full-page caches could serve a stale
security token and silently break the per-variation COA swap; the swap now recovers by
itself (and aborts stale requests, so fast size-switching can't show the wrong COA). - Fix: product editor reliability. A failed save/delete (e.g. after the edit screen sat
open overnight) now shows the real error instead of failing silently; replacing the file
on an existing record updates THAT record instead of quietly creating a duplicate (the
form now says which batch it is editing); "Remove" actually detaches the file; a
double-click can't save twice; editing a record no longer discards stored textual
purity/mass characteristics. - Fix: hand-edited records are now owned by the store — a migration re-run no longer
reverts or hides an admin's corrections. - Fix: variable products whose COAs are all size-specific now show them on first load
instead of "No certificates available"; a record whose Media-Library file was deleted
falls back to its report URL; sizes sort numerically (5mg before 10mg). - Fix: partial REST updates (PATCH) no longer blank the fields they omit; catalog REST
responses carry standard pagination headers; the "Latest" flag is now correct on
filtered/paginated reads. - Fix: dense multi-analyte certificates no longer come back as "nothing read" (bigger AI
read budget, and a truncated read is reported as a failure instead of an empty result). - Dev: settings page shows "Settings saved."; sturdier install/upgrade on multisite and
restricted databases; bundled jsQR now ships with its full Apache-2.0 license text.
Full Changelog: v0.2.3...v0.2.4
v0.2.3
- New: re-read data from a certificate. In the product COA editor, an attached
certificate now has a Re-read data action that runs the AI reader over the file
again and shows a review/diff — one tick per figure (batch, lab, date, purity, mass)
that differs from what's saved — so you can backfill a blank field or correct a wrong
one without retyping. Nothing changes until you tick it and click Apply, and it never
touches the size, the attached file, or the verify link. Handy after a bulk import.
Requires an Anthropic key (COA → Settings); off without one. - New: sortable catalog list. The catalog-wide All COAs screen now sorts by
Product, Lab, Date and Purity — one click on the column header — for scanning a whole
catalog's certificates at a glance. - New: smarter scan / import. Dropping a certificate now prefers the lab's real
verification link and ignores compound-reference links (PubChem, NCBI, Wikipedia,
ChemSpider, etc.) that some COAs print — so the "verify link" field no longer fills with
a molecule-database URL. A file that contains more than one certificate (e.g. two
size variants in one PDF) is flagged with a warning instead of silently reading only the
first — you add the others by hand. - New: in-box scan progress. While a dropped certificate is read, the upload zone shows
a native spinner and locks, so a second click or drop can't fire a duplicate import. - Change: the built-in lab suggestions were expanded and curated (Janoshik, Chromate,
Krause Analytical, BT Lab Testing, TrustPointe, Freedom Diagnostics, MZ Biolabs, AccuMark
Labs), with better host inference so a lab's link is recognized on scan. Any other lab
still works as free text.
Full Changelog: v0.2.2...v0.2.3
v0.2.2
- New: a PDF certificate now shows a "View full report (PDF)" link beneath its preview, so a
multi-page COA is fully reachable — the preview shows page 1, and the link opens the complete file
(e.g. a second page with endotoxin / sterility results) in the browser's PDF viewer. - Change: editors previewing a draft product now see its certificates by default. The public
still only sees COAs on published products — this just lets a logged-in editor preview a draft
without extra setup (the default is filterable viacoa_vault_published_only_default). - Change: the Settings page's two storefront-display checkboxes are now a single, clearer 3-way
choice — automatic placement, manual (shortcode / block), or off. No behaviour change; the same
underlying options are written, and the previously confusing "off + automatic" dead state is gone.
Full Changelog: v0.2.1...v0.2.2
v0.2.1
- New: a plugin icon, shown on the Plugins screen and the update / "View details" modal.
- New: the Anthropic API key field (COA → Settings) shows a masked preview when a key is saved,
so you can confirm a key is set (and which one) without exposing it. - Change: the catalog archive (
[coa_vault all="true"]) is now a native single-open accordion
(one product open at a time, collapsed by default), and the bundled frontend ships a cleaner,
lighter default style. No JavaScript. - Fix: whole-number purity/mass values rendered incorrectly on the storefront (a 10 mg mass showed
as "1 mg", 100% as "1%", a 0 reading as blank). They now display correctly. - Fix: size normalization now handles thousands separators ("1,000mg" → 1000mg) and leading-dot
decimals (".5mg" ≡ "0.5mg"), so a certificate always resolves to the right size / variation. - Fix: on multisite networks, uninstall now cleans every site's COA tables, options and stored API
key — previously only the main site was cleaned. - Fix: the "View details" changelog now shows the release notes instead of a bare compare link.
Full Changelog: v0.2.0...v0.2.1