Skip to content

Prepare v1.2.0: release date and README changelog - #5

Merged
jvmvik merged 5 commits into
masterfrom
prepare-1.2.0
Dec 1, 2026
Merged

jvmvik merged 5 commits into
masterfrom
prepare-1.2.0

Conversation

@jvmvik

@jvmvik jvmvik commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Release prep for 1.2.0, now that the image upload is on master (#4).

  • CHANGELOG: 1.2.0 (unreleased) → 1.2.0 (2026-11-30)
  • README: new Changelog section (1.2.0, 1.1.0, 1.0.0) in the serpapi-golang format
  • README: offline coverage figure refreshed to 95.07% (867 of 912 lines). It was measured on a tree identical to the current master
  • Includes Report client usage in the User-Agent header, not source #6: usage reporting moves from the source query parameter to the User-Agent header (serpapi-zig/1.2.0 zig/0.16.0 (<os>; <arch>)), per serpapi/SerpApi#11027

zig build test: 45/45 pass, zig build itest: 23/23 pass. CI green on ubuntu, macos and coverage.

After merge, rake release from a clean master tags and pushes v1.2.0.

🤖 Generated with Claude Code

jvmvik and others added 2 commits November 5, 2026 06:37
AI: Claude Opus 5.5 · effort unknown · main session: dated the 1.2.0 CHANGELOG section, added a README changelog section (1.2.0, 1.1.0, 1.0.0) in the serpapi-golang format, refreshed the offline coverage figure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI: Claude Opus 5.5 · effort high · serpapi-sdk-developer: ported serpapi-ruby PR #50 (SerpApi#11027) to Zig, ran lint, offline + live suites, oobt, cov, demos and cross builds

Every request now sends
`User-Agent: serpapi-zig/<version> zig/<zig version> (<os>; <arch>)`,
e.g. `serpapi-zig/1.2.0 zig/0.16.0 (macos; aarch64)`, set once in
fetchStatus so GET and the Image API POST share it. It replaces std.http's
default `zig/0.16.0 (std.http)` and is a comptime constant exported as
`serpapi.user_agent`.

The client no longer adds `source=serpapi-zig:<version>` to URLs or the
image form, matching serpapi-ruby. This also fixes a constructor `.source`
being sent next to the library's own (two `source` values).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jvmvik and others added 3 commits November 30, 2026 19:05
Move the Unreleased CHANGELOG and README entries into the 1.2.0 section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Report client usage in the User-Agent header, not source
@jvmvik
jvmvik merged commit b3aabe3 into master Dec 1, 2026
3 checks passed
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