Skip to content

reqstorm 2.4.3: make schemas easy to find, quiet logging by default - #20

Merged
melihcolpan merged 1 commit into
masterfrom
schema-docs
Oct 9, 2026
Merged

melihcolpan merged 1 commit into
masterfrom
schema-docs

Conversation

@melihcolpan

Copy link
Copy Markdown
Owner
  • Docs: the schema feature is now called "Schemas: JSON to typed columns" in the navigation; the databases page compares raw responses with schemas at the top; Getting started has a schema step; home page and README say "Schemas".
  • Fix: a NullHandler on the reqstorm logger, so applications that never configure logging don't get reqstorm warnings/errors on stderr (Python's last-resort handler printed them). Test added.

Documentation
The schema feature (JSON fields into typed, checked columns) was fully
documented, but under "Structured data", and the databases page, where
people look first, never mentioned it.

- The guide is now "Schemas: JSON to typed columns" in the navigation,
  and its first paragraph says what a schema does and where it works
  (fetch_to_db, fetch_to_file, --schema, Pydantic). The URL is unchanged.
- "Writing to databases" opens with a table comparing raw responses and
  typed columns (one row per request vs per record, checked values,
  upserts) and a short schema example linking to the guide; the existing
  raw-response content follows under "Raw responses".
- Getting started gets a "Put API data into a table" step. The example
  was run against a test server: one row written, one record rejected.
- The home page card, the README section and the API reference say
  "Schemas".

Logging
- Without a NullHandler on the "reqstorm" logger, Python's last-resort
  handler printed reqstorm's warnings and errors to stderr in
  applications that never configured logging, contradicting the docs
  ("follows the application's configuration") and printing one line per
  failed request. The logger now gets a NullHandler at import.
- Test: a fresh interpreter makes a request that fails with a 404 and
  must leave stderr empty.

Version 2.4.3.
@melihcolpan
melihcolpan merged commit 8065af1 into master Oct 9, 2026
12 checks passed
@melihcolpan
melihcolpan deleted the schema-docs branch October 9, 2026 13:22
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