Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 10 May 16:35
· 45 commits to main since this release

This release stabilizes the bibliography editor before new feature work begins.
No new features — all changes improve reliability, performance, and code clarity.

What changed

Explicit 50-citation limit

The previous 1.x releases had a hidden cliff: adding a 51st citation would silently
send an over-limit request to the formatter, which would fail and fall back to raw
title text. That cliff is now replaced by an explicit per-block cap of 50 citations
with inline editor warnings when you reach or exceed the limit. Legacy blocks above
50 remain readable and deletable; reformatting is blocked until you're back under
the cap.

Async stale-result guards

All editor mutation flows — paste/import, manual add, delete, style switch, and
structured edit — now share a latest-operation guard. If a newer action supersedes
an in-flight format request, the stale result is discarded instead of overwriting
the bibliography with out-of-date text.

Manual-entry single-format path

Adding a citation via the manual entry form previously triggered two formatter
calls: one for the new entry and one for the merged bibliography. The redundant
first call is removed; the merged bibliography is formatted once.

Smaller release zip

Non-runtime vendor documentation, examples, and images are pruned from the release
package, and composer.lock is no longer shipped. The zip is ~386 KB.

PMID and DOI network hardening

Successful PMID proxy responses are now cached to reduce repeat round-trips to
NCBI. Duplicate DOI inputs within the same editing session skip redundant
citation-js resolution calls and share in-flight resolution work.

Code maintainability

Editor side-effects are extracted into focused hooks (useCitationImportActions,
useManualCitationActions, useBibliographyExportActions), reducing edit.js
from ~1,400 lines to ~845. PHP PMID resolver, cache, and permission logic moves
into includes/pmid.php.

Upgrade notes

No breaking changes. Existing bibliographies under 50 citations are unaffected.
Blocks with more than 50 citations (only possible through direct attribute editing
or migration from pre-1.x data) will display a warning in the editor and cannot be
reformatted until citations are removed.

Full Changelog: v1.2.0...v1.3.0