Commit Graph
558 Commits
Author SHA1 Message Date
dependabot[bot] 7dcb17ffa5 build(deps): bump github.com/valyala/fasthttp from 1.76.0 to 1.77.0
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.76.0 to 1.77.0.
- [Release notes](https://github.com/valyala/fasthttp/releases)
- [Commits](https://github.com/valyala/fasthttp/compare/v1.76.0...v1.77.0)

---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
  dependency-version: 1.77.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-30 00:13:15 +00:00
aykhans 98599151d0 Merge pull request #242 from aykhans/fix/stop-queued-jobs
fix(stop): no requests after a stop, reject zero duration, release 1.5.1
v1.5.1
2026-10-26 01:10:04 +04:00
aykhans e7f7d0e7a5 docs(readme): add release workflow and Go version badges 2026-10-26 01:08:30 +04:00
aykhans 3fa032e225 chore(release): bump version to 1.5.1 2026-10-26 00:54:52 +04:00
aykhans 08bc5824ac chore(deps): bump Go to 1.27.3 and update goja and indirect dependencies 2026-10-26 00:54:52 +04:00
aykhans a62cdd82bb chore(lint): bump golangci-lint to v2.15.0 2026-10-26 00:54:52 +04:00
aykhans f0e8d3f9b2 docs(config): note that duration must be greater than 0 2026-10-26 00:45:35 +04:00
aykhans de7eee27e0 fix(stop): hand jobs out directly so no request starts after a stop
Workers claim jobs from an atomic counter instead of a channel, so queued
jobs no longer run after a stop or past the -d deadline.
2026-10-26 00:26:11 +04:00
aykhans 10ed2242da fix(config): reject zero and negative duration 2026-10-24 16:30:23 +04:00
aykhans 4efc60728a Merge pull request #237 from aykhans/chore/maintenance 2026-10-20 15:17:39 +04:00
aykhans 7b7ef4e511 chore(deps): update fasthttp, gofakeit, goja, x/net and indirect dependencies 2026-10-20 15:15:22 +04:00
aykhans 3958b7eac2 fix(output): print 0 instead of panicking on empty stats count 2026-10-20 13:30:57 +04:00
aykhans 00c7bf4afb fix(tui): skip the progress display when running as a background job 2026-10-20 13:30:50 +04:00
aykhans f84644c688 fix(stop): route all stops through StopController, SIGTERM graceful, second Ctrl+C forces exit 2026-10-20 13:30:43 +04:00
aykhans a41bdc4824 fix(tui): stop an external SIGINT from panicking the progress display 2026-10-09 17:10:38 +04:00
aykhans 1899280590 chore(deps): update bubbletea, goja, x/net and indirect dependencies 2026-10-09 17:10:02 +04:00
aykhans 11b147381f Merge pull request #236 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.75.0
build(deps): bump github.com/valyala/fasthttp from 1.74.0 to 1.75.0
2026-10-09 12:26:16 +04:00
github-actions[bot] 99e5bd4277 fix(nix): update vendorHash [dependabot skip] 2026-10-09 00:13:18 +00:00
dependabot[bot] ad943867dc build(deps): bump github.com/valyala/fasthttp from 1.74.0 to 1.75.0
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.74.0 to 1.75.0.
- [Release notes](https://github.com/valyala/fasthttp/releases)
- [Commits](https://github.com/valyala/fasthttp/compare/v1.74.0...v1.75.0)

---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
  dependency-version: 1.75.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-09 00:12:25 +00:00
aykhans a58ef60316 Merge pull request #232 from aykhans/feat/script-http
feat: add http function to script engines
v1.5.0
2026-10-04 22:12:38 +04:00
aykhans 5b11ef2933 Merge remote-tracking branch 'origin/main' into feat/script-http
# Conflicts:
#	nix/package.nix
2026-10-04 22:10:02 +04:00
aykhans 3e01ce47cc nix: update vendorHash 2026-10-04 22:04:01 +04:00
aykhans 95f55e1056 nix: bump package version to 1.5.0 2026-10-04 21:59:36 +04:00
aykhans 824f03452e chore(deps): update dependencies 2026-10-04 21:58:53 +04:00
aykhans b7c589de53 fix(client): prefer IPv4 and fall back to IPv6 instead of dialing both 2026-10-04 21:50:18 +04:00
aykhans 23b3d7b1cc fix: dial dual-stack only for IPv6-only hosts 2026-10-04 15:51:50 +04:00
aykhans ab3b458f15 docs: fix statements that did not match the code 2026-10-02 02:05:49 +04:00
aykhans 51e8f2a57f fix(script): match the main request default for the script http timeout 2026-10-02 01:13:25 +04:00
aykhans a1e4c15285 docs: say what the dry run duration measures 2026-10-02 00:12:50 +04:00
aykhans bea48eeab0 docs: say that a dry run still sends a script's own requests 2026-10-01 22:43:24 +04:00
aykhans cd0fa453c2 fix(script): bound how deep json.encode walks a Lua table 2026-10-01 22:13:29 +04:00
aykhans 847c4b39ce fix(script): decode a compressed http() response body 2026-10-01 21:17:43 +04:00
aykhans 9e773a4e6c fix(script): reject a non-object headers, params or cookies in JavaScript 2026-09-30 21:18:50 +04:00
aykhans bcf2ea3446 fix(script): reject async/generator JS transforms and catch throwing getters 2026-09-30 19:53:37 +04:00
aykhans e85a6d4613 docs: drop the redirect login example, it cannot work (#235) 2026-09-30 12:59:16 +04:00
aykhans 4a14d57d15 fix(config): reject a hidden YAML document and drop Go types from errors 2026-09-30 12:29:00 +04:00
aykhans 633f548e7b fix(config): report YAML config errors more clearly 2026-09-30 01:07:28 +04:00
aykhans 68de415645 fix(config): reject unknown fields in a YAML config file 2026-09-30 00:14:51 +04:00
aykhans fb8443fd25 chore: read response headers into a 64KiB buffer instead of 4KiB 2026-09-29 23:40:57 +04:00
aykhans e0f6d4aeba fix: send an idempotent request once instead of retrying it five times 2026-09-29 23:22:51 +04:00
aykhans 17dfa16051 feat(script): add res.bytes() so JavaScript can read a binary body 2026-09-29 23:22:51 +04:00
aykhans a327c4978b fix: report one error text when a response body is too large 2026-09-29 23:06:22 +04:00
aykhans 9d6e4e6bf8 chore(template): raise the remote file timeout to 30s 2026-09-29 22:59:42 +04:00
aykhans 9c7b7c26a0 refactor(script): drop the per-call maxBodySize and its client cache 2026-09-29 10:58:25 +04:00
aykhans ef5907dc0c fix: cap body limits at 1GiB and key script clients by the exact size 2026-09-29 00:55:04 +04:00
aykhans 1956eb1c44 fix(script): enforce script body limits without streaming
Streaming accepted a chunked body cut at a chunk boundary as complete,
so the limit now comes from the client that reads the body, picked per
requested size. Script requests keep their own default, maxBodySize
accepts sizes like 10MiB, and files sarin downloads for itself are
capped at 64MiB.
2026-09-29 00:41:48 +04:00
aykhans f1d91e3d77 feat: limit response body sizes
fasthttp allocates the body from the declared Content-Length before
reading it, so a server could exhaust memory by declaring a size it
never sends. The new max response body config bounds every response,
defaults to 10MiB and accepts sizes like 10MiB or 2MB. Scripts get the
same as a maxBodySize option on http().
2026-09-28 22:49:39 +04:00
aykhans 3d535d89e3 Merge pull request #234 from aykhans/dependabot/go_modules/charm.land/bubbletea/v2-2.0.10
build(deps): bump charm.land/bubbletea/v2 from 2.0.9 to 2.0.10
2026-09-28 11:09:28 +04:00
github-actions[bot] 3a23b1b370 fix(nix): update vendorHash [dependabot skip] 2026-09-28 00:17:06 +00:00
dependabot[bot] a37885a308 build(deps): bump charm.land/bubbletea/v2 from 2.0.9 to 2.0.10
---
updated-dependencies:
- dependency-name: charm.land/bubbletea/v2
  dependency-version: 2.0.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 00:16:18 +00:00