Skip to content

Bump github.com/steinfletcher/apitest from 1.6.0 to 1.8.0 in the go-dependencies group - #147

Merged
henrymcconville merged 1 commit into
masterfrom
dependabot/go_modules/go-dependencies-c64fc34644
Nov 1, 2026
Merged

henrymcconville merged 1 commit into
masterfrom
dependabot/go_modules/go-dependencies-c64fc34644

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 1 update: github.com/steinfletcher/apitest.

Updates github.com/steinfletcher/apitest from 1.6.0 to 1.8.0

Release notes

Sourced from github.com/steinfletcher/apitest's releases.

v1.8.0

Feature release. Sequence diagram reports are rebuilt as a self-contained, interactive page, and the repository now ships an Agent Skill for coding agents. No changes to the exported API.

New

  • Self-contained, interactive sequence diagram reports. SequenceDiagram now writes a single HTML file that loads nothing from the network. Previous reports loaded Bootstrap, jQuery, Raphael, highlight.js, clipboard.js and js-sequence-diagrams from five CDNs, so they could not be viewed offline and broke if any of those went away. See the demo. (#185)
    • The diagram is an SVG drawn in Go, so it renders without JavaScript, and each arrow links to its message.
    • Each message shows its start line, headers and body. JSON bodies are indented and highlighted.
    • Requests that received no response, such as calls that matched no mock, are flagged in the diagram and the message list. See the unmatched mock demo.
    • Click an arrow to jump to its message, filter messages, focus on one participant, and move between messages with j and k.
    • Copy any message raw, or any request as a curl command.
    • Light and dark themes follow the system setting, the layout works on narrow screens, and printing expands every message.
  • An Agent Skill for writing apitest tests. It teaches coding agents the library's conventions and its common traps. Install it in Claude Code with claude plugin marketplace add steinfletcher/apitest, then claude plugin install apitest@apitest. Other agents that support Agent Skills can use skills/apitest as it is. See AI coding agents. (#184)

Upgrading

Report file names and directories are unchanged, and the meta data is still embedded in <script id="metaJson">. Tooling that parsed other parts of the old report HTML, such as the js-sequence-diagrams text, needs updating.

Docs

  • The README shows the new report and links to the live demos on apitest.dev. (#185)

v1.7.0

Bug fix release with one addition to the exported API: MockRequest.URL and URLf. No breaking API changes.

New

  • MockRequest.URL and URLf set the URL of a mock started with Method, for methods without a helper such as OPTIONS: apitest.NewMock().Method(http.MethodOptions).URL("http://users/api/user"). (#183)

Bug fixes

  • A query string written into the request URL, as in Get("/articles?page=2"), is now sent. It was replaced by the parameters from Query, QueryParams and QueryCollection, so it was dropped even when none were set. Builder parameters are now appended to it. (#181)
  • Times(n) now applies to standalone mocks installed with EndStandalone or NewStandaloneMocks(...).End(), which previously answered one call each. Standalone mode still does not report a mock that is called fewer times than expected. (#182)
  • A mock started with Method and no URL no longer panics when a request is matched against it, or when Result.UnmatchedMocks reports it. It now matches any URL. (#183)

Upgrading

Tests that wrote a query string into the URL now send it to the handler, which can change what the handler sees.

Examples

  • Dependency bump in examples/: github.com/klauspost/compress 1.18.7. (#180)

v1.6.2

Bug fix release. No changes to the exported API.

Bug fixes

  • HeaderPresent, QueryPresent and their NotPresent counterparts on mock requests now check for the key itself instead of its first value, as documented. A bare ?flag, ?flag= or an empty-valued header counts as present, so HeaderNotPresent and QueryNotPresent now reject requests that carry such keys. (#178, fixes #177. Thanks @​bensynapse.)
  • Response.HeaderPresent and Response.HeaderNotPresent apply the same rule to response headers: an empty-valued header counts as present. (#179)

... (truncated)

Commits
  • 50f85b9 Make sequence diagram reports self-contained and interactive (#185)
  • aa19982 Add an Agent Skill for writing apitest tests (#184)
  • 364a2ba Allow mocks built with Method alone (#183)
  • 313ebae Honour Times on standalone mocks (#182)
  • 787f532 Keep query strings written into the request URL (#181)
  • 20669bf Bump github.com/klauspost/compress from 1.16.3 to 1.18.7 in /examples (#180)
  • 8c3a106 Check response header presence regardless of value (#179)
  • 3e2c3bc Match empty query and header values by presence (#178)
  • f91e61b Raise test coverage (#176)
  • dff276f Publish test coverage to Coveralls and show a coverage badge (#175)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-dependencies group with 1 update: [github.com/steinfletcher/apitest](https://github.com/steinfletcher/apitest).


Updates `github.com/steinfletcher/apitest` from 1.6.0 to 1.8.0
- [Release notes](https://github.com/steinfletcher/apitest/releases)
- [Commits](steinfletcher/apitest@v1.6.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/steinfletcher/apitest
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 1, 2026
@henrymcconville
henrymcconville merged commit d81431b into master Nov 1, 2026
3 checks passed
@henrymcconville
henrymcconville deleted the dependabot/go_modules/go-dependencies-c64fc34644 branch November 1, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant