Commit Graph
100 Commits
Author SHA1 Message Date
aykhans bf182887ac Merge pull request #246 from aykhans/dependabot/go_modules/golang.org/x/net-0.62.0
build(deps): bump golang.org/x/net from 0.61.0 to 0.62.0
2026-11-02 16:42:48 +04:00
aykhans 8b43a37fce Merge pull request #244 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.77.0
build(deps): bump github.com/valyala/fasthttp from 1.76.0 to 1.77.0
2026-10-31 18:30:59 +04: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
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
aykhans a58ef60316 Merge pull request #232 from aykhans/feat/script-http
feat: add http function to script engines
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
aykhans 412a02fea3 chore: bump golangci-lint to v2.14.0 2026-09-27 01:05:07 +04:00
aykhans 8da05bb10c fix(stats): key generation failures by source and bound the key count 2026-09-27 01:03:04 +04:00
aykhans c32949c8e0 fix(script): convert non-string header, param and cookie values to text 2026-09-26 01:17:49 +04:00
aykhans a30c862936 fix(script): bind script HTTP requests to the run context 2026-09-25 22:34:20 +04:00
aykhans 5d91141f80 fix(script): stringify thrown JavaScript values through Runtime.Try 2026-09-24 22:34:59 +04:00
aykhans 878ca6dfbd fix(script): bound maxRedirects to 100 and reject out of range values 2026-09-24 19:08:58 +04:00
aykhans 9de1d5ac93 Merge pull request #233 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.17.1
build(deps): bump github.com/brianvoe/gofakeit/v7 from 7.17.0 to 7.17.1
2026-09-23 10:44:38 +04:00
aykhans 9b0e7c4304 fix: dial IPv6 hosts by enabling dual-stack and trying every resolved address 2026-09-23 01:03:42 +04:00
aykhans d4c7dcc42c fix: apply per-request timeouts to script HTTP proxy dials 2026-09-23 00:45:44 +04:00
aykhans 00226b0eb7 fix: size script HTTP client connection pool to worker count 2026-09-22 19:29:51 +04:00
aykhans a60287b78b docs: document http() and Lua json in scripts 2026-09-20 23:30:16 +04:00
aykhans 529420ee5a feat(script): replace followRedirects with maxRedirects http option 2026-09-20 23:18:21 +04:00
aykhans 8b437b487c feat(script): add http() and json to Lua and JS scripts 2026-09-20 23:02:51 +04:00
aykhans 5ca9cda2b9 docs(cli): show config-file flag type as []string in help text 2026-09-19 00:14:48 +04:00
aykhans 6b03ba9579 refactor(sarin): extract cookie header building into cookieHeaderValue 2026-09-18 22:39:56 +04:00
aykhans 8b6e88bb74 Merge pull request #231 from aykhans/chore/upgrade-go-1.27
chore: upgrade Go to 1.27.1
2026-09-12 00:28:07 +04:00
aykhans 163de9ffc9 fix(nix): update vendorHash for dependency updates 2026-09-12 00:20:11 +04:00
aykhans 969337f4ec chore: bump package version to 1.4.4 2026-09-12 00:15:37 +04:00
aykhans ce6b60520f chore(deps): update goja, x/net, and indirect dependencies 2026-09-12 00:14:04 +04:00
aykhans ae34ae037a chore: upgrade Go to 1.27.1 2026-09-12 00:11:30 +04:00
aykhans 27c00581a9 Merge pull request #230 from aykhans/feat/expand-fakeit-template-functions
feat: expose additional gofakeit functions
2026-09-11 22:04:41 +04:00
aykhans db9a65f35f docs: align templating reference with actual runtime behavior 2026-09-11 22:03:05 +04:00
aykhans 082851d25e feat: expose additional gofakeit functions 2026-09-11 20:03:42 +04:00
aykhans 62afa38370 Merge pull request #228 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.74.0
build(deps): bump github.com/valyala/fasthttp from 1.73.0 to 1.74.0
2026-09-11 15:48:05 +04:00
aykhans f974b5d708 Merge pull request #229 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.17.0
build(deps): bump github.com/brianvoe/gofakeit/v7 from 7.16.0 to 7.17.0
2026-09-11 15:10:43 +04:00
aykhans 42de488430 Merge pull request #227 from aykhans/chore/update-go-toolchain-and-nix
chore: update Go toolchain and Nix configuration
2026-09-03 12:58:55 +04:00
aykhans 6e984f039c chore: update Go toolchain and Nix configuration 2026-09-03 12:55:35 +04:00
aykhans 73285b66b5 Merge pull request #226 from aykhans/ci/release-branch-pointer
ci: point Nix users at a release branch instead of main
2026-09-02 23:19:47 +04:00
aykhans f003bd1061 chore: bump package version to 1.4.3 2026-09-02 23:16:24 +04:00
aykhans 07b2bb706e chore(deps): update goja and indirect deps, refresh nix vendorHash 2026-09-02 23:05:45 +04:00
aykhans 67db8ac0e6 chore: bump golangci-lint to v2.13.2 2026-09-02 23:02:56 +04:00
aykhans d99c76d175 ci: point Nix users at a release branch instead of main 2026-09-02 23:01:05 +04:00
aykhans 623c1c4d97 Merge pull request #224 from aykhans/dependabot/go_modules/charm.land/bubbles/v2-2.2.1
build(deps): bump charm.land/bubbles/v2 from 2.2.0 to 2.2.1
2026-08-28 16:32:50 +04:00
aykhans 492c3f1449 Merge pull request #223 from aykhans/ci/auto-update-vendorhash
ci(nix): recover a stale vendorHash automatically
2026-08-25 14:26:59 +04:00
aykhans d03d34576e ci(nix): recover a stale vendorHash automatically 2026-08-25 14:24:23 +04:00
aykhans 8beff615bb Merge pull request #221 from aykhans/dependabot/go_modules/charm.land/bubbles/v2-2.2.0
build(deps): bump charm.land/bubbles/v2 from 2.1.1 to 2.2.0
2026-08-25 10:43:40 +04:00
aykhans a85c82e751 fix(nix): update vendorHash for bubbles 2.2.0 2026-08-25 10:28:29 +04:00
aykhans 8078b2c1fe Merge pull request #220 from aykhans/dependabot/go_modules/charm.land/bubbletea/v2-2.0.9
build(deps): bump charm.land/bubbletea/v2 from 2.0.8 to 2.0.9
2026-08-24 16:07:49 +04:00
aykhans 3c4f449c97 fix(nix): update vendorHash for bubbletea 2.0.9 2026-08-24 15:46:34 +04:00
aykhans 77e8bc1eb8 Merge pull request #219 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.16.0
build(deps): bump github.com/brianvoe/gofakeit/v7 from 7.15.0 to 7.16.0
2026-08-24 15:21:40 +04:00
aykhans a81d95ef6d fix(nix): update vendorHash for gofakeit 7.16.0 2026-08-24 15:20:10 +04:00
aykhans f42c4c70bf Merge pull request #218 from aykhans/ci/verify-package-version
ci: gate releases on the nix/package.nix version, bump to 1.4.2
2026-08-18 13:06:58 +04:00
aykhans f3f25e3ba1 chore: bump package version to 1.4.2 2026-08-18 13:03:22 +04:00
aykhans 8121d75a2c ci: verify nix/package.nix version matches the release tag 2026-08-18 13:03:07 +04:00
aykhans 3867140704 Merge pull request #217 from aykhans/chore/update-deps
chore: migrate to Charm v2 and update dependencies
2026-08-18 12:42:46 +04:00
aykhans 740b6f6bbb docs: update README 2026-08-17 21:16:40 +04:00
aykhans 88180ae288 ci: add nix build workflow and gate releases on it 2026-08-17 21:13:00 +04:00
aykhans 0314ea4f3e docs: update README 2026-08-17 20:56:46 +04:00
aykhans 9602595216 perf: batch TUI log forwarding on a 250ms tick instead of one repaint per line 2026-08-17 20:46:33 +04:00
aykhans c195ca2ab2 refactor: print stderr via fmt.Fprint with lipgloss.Sprintln instead of lipgloss.Fprintln 2026-08-17 20:11:47 +04:00
aykhans e13eb9b8a8 fix: treat zero-sized ptys as non-interactive 2026-08-17 19:11:55 +04:00
aykhans d68c557dd3 fix: restore pre-v2 progress bar fill and viewport scroll behavior 2026-08-17 18:57:33 +04:00
aykhans d08b6dc222 refactor: migrate Charm libraries to v2
Import paths moved to charm.land/*/v2 and the v1 paths no longer resolve.
Ports View() -> tea.View, AltScreen/MouseMode to View fields, KeyPressMsg,
and the new progress/viewport constructors. Styled output outside Bubble
Tea switched to lipgloss.Print* because v2 downsamples colour at the output
layer. vendorHash refreshed.
2026-08-17 17:21:13 +04:00