Skip to content

Merge main into develop after v3.1.1 - #40

Merged
bjfultn merged 4 commits into
developfrom
main
Nov 19, 2026
Merged

bjfultn merged 4 commits into
developfrom
main

Conversation

@bjfultn

@bjfultn bjfultn commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Brings the v3.1.1 release (#39) back into develop. develop is an ancestor of main, so there are no conflicts.

🤖 Generated with Claude Code

bjfultn and others added 4 commits November 18, 2026 16:09
writerecsmodule.c is rewritten with the same output for ordinary values
(pinned by golden files captured from v3.1.0):

- Hold column names, units, descriptions and string values in memory
  sized to them, and bound every formatted write; check data dictionary
  formats before use.
- Write integers at full 64-bit width (exactly, when larger), keeping
  the flags of IPAC integer formats.
- VOTable: datatype "long" for longlong and "int" for integer; escape
  FIELD attributes; split "]]>" inside CDATA; replace control
  characters XML does not allow.
- CSV: double quotes inside values (RFC 4180).
- JSON: escape keys and all control characters.

Also:

- writeresult.py: close the document when the row count is a multiple
  of the fetch size (VOTable lacked </VOTABLE>, JSON lacked ']').
- tapquery.py: pass the spatial index level to ADQL as an int, so
  command-line CONTAINS queries work.
- tap.py: silence bs4's XMLParsedAsHTMLWarning when reading UWS job
  documents, which logged on every job request.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Outside IPAC, the format kept from the '.' on was copied out of the full
format through a second buffer; gcc 12 -Wformat-truncation flagged the
copy. Build it from the parsed precision instead. Output is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
v3.1.1: fix result writer overflow (GHSA-4qp2-3768-j99g) and other v3.1.0 defects
@bjfultn
bjfultn merged commit c2e7bb5 into develop Nov 19, 2026
16 checks passed

This branch was successfully deployed

1 active deployment
github-pages — a1e6880e Deployed Nov 19, 2026 by bjfultn via deploy #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant