aykhans
3be8ff218c
Replace common.ToPtr with Go 1.26 builtin new and add go fix to CI
2026-02-13 18:56:10 +04:00
aykhans
7cb49195f8
Bump Go to 1.26.0 and golangci-lint to v2.9.0
...
Drop GOEXPERIMENT=greenteagc flag as the green tea GC is now the default in Go 1.26.
2026-02-11 22:07:52 +04:00
aykhans
c1584eb47b
Remove unused functions and unexport internal sentinel error
2026-02-09 00:06:01 +04:00
aykhans
6a713ef241
Build request data through RequestData struct instead of fasthttp directly
...
Refactor request generators to populate a script.RequestData intermediate struct, then apply it to fasthttp.Request in one step. This eliminates the round-trip conversion (fasthttp → RequestData → fasthttp) when scripts are enabled. Remove the URL field from RequestData and the now-unused fasthttp conversion functions from chain.go.
2026-02-08 03:52:39 +04:00
aykhans
6dafc082ed
Introduce structured error types and bump Go/linter versions
...
Replace ad-hoc fmt.Errorf/errors.New calls with typed error structs across config, sarin, and script packages to enable type-based error handling. Add script-specific error handlers in CLI entry point. Fix variable shadowing bug in Worker for scriptTransformer. Bump Go to 1.25.7 and golangci-lint to v2.8.0.
2026-02-08 02:54:54 +04:00
aykhans
e83eacf380
Merge branch 'main' of https://github.com/aykhans/sarin into feat/add-scripting
2026-02-05 00:20:53 +04:00
aykhans and GitHub
c2ba1844ab
Merge pull request #168 from aykhans/dependabot/go_modules/github.com/charmbracelet/bubbles-0.21.1
...
Bump github.com/charmbracelet/bubbles from 0.21.0 to 0.21.1
2026-02-04 22:23:29 +04:00
aykhans
533ced4b54
add scripting js/lua
2026-01-28 14:21:08 +04:00
aykhans and GitHub
c3ea3a34ad
Merge pull request #167 from aykhans/add-badges
...
Add pkg.go.dev, Go Report Card, and license badges
2026-01-26 15:36:48 +04:00
aykhans and GitHub
1369cb9f09
Merge pull request #165 from aykhans/feat/file-upload-support
...
Add file upload support with body_FormData and file_Base64 functions
2026-01-17 21:19:19 +04:00
aykhans
18662e6a64
Add file upload examples and fix templating.md table of contents
2026-01-17 21:18:37 +04:00
aykhans
81f08edc8d
Add file upload support with body_FormData and file_Base64 functions
...
- Add FileCache for caching local files and remote URLs in memory
- Update body_FormData to accept variadic key-value pairs with file support
- Use @ prefix for file paths (local or HTTP/HTTPS URLs)
- Use @@ to escape literal @ values
- Add file_Base64 function for Base64 encoding files
- Update documentation with new syntax and examples
2026-01-17 20:27:22 +04:00
aykhans and GitHub
a9738c0a11
Merge pull request #164 from aykhans/docs/improvements
...
Fix config priority order (CLI > YAML > ENV), clarify multi-value cycling behavior, and improve documentation examples
2026-01-16 23:17:28 +04:00
aykhans
76225884e6
Fix config priority order (CLI > YAML > ENV), clarify multi-value cycling behavior, and improve documentation examples
2026-01-16 23:15:12 +04:00
aykhans and GitHub
a512f3605d
Merge pull request #163 from aykhans/dependabot/go_modules/golang.org/x/net-0.49.0
...
Bump golang.org/x/net from 0.48.0 to 0.49.0
2026-01-13 11:24:54 +04:00
aykhans and GitHub
3f2147ec6c
Merge pull request #162 from aykhans/feat/url-path-templating
...
Add URL path templating support with validation and documentation
2026-01-11 21:42:37 +04:00
aykhans and GitHub
92d0c5e003
Revise feature support table in README
...
Updated the supported and not supported features table for clarity.
2026-01-11 21:40:38 +04:00
aykhans
27bc8f2e96
Add URL path templating support with validation and documentation
2026-01-11 19:05:58 +04:00
aykhans and GitHub
46c6fa9912
Merge pull request #161 from aykhans/fix/docker-terminal-colors
...
Add docker-build task and fix terminal colors in container
2026-01-10 18:16:05 +04:00
aykhans
a3d311009f
Add docker-build task and fix terminal colors in container
2026-01-10 18:14:33 +04:00
aykhans and GitHub
710f4c6cb5
Merge pull request #157 from aykhans/v1.0.0
...
v1.0.0: here we go again
2026-01-10 17:23:40 +04:00
aykhans
2d7ba34cb8
v1.0.0: here we go again
2026-01-10 17:06:25 +04:00
aykhans and GitHub
25d4762a3c
Merge pull request #130 from aykhans/refactor/response
...
Refactor 'Responses' type and its methods
2025-08-17 19:51:50 +04:00
aykhans
361d423651
⬆️ bump version to 0.7.3
2025-08-17 19:31:36 +04:00
aykhans
ffa724fae7
🔨 Refactor 'Responses' type and its methods
2025-08-17 19:30:26 +04:00
aykhans and GitHub
7930be490d
Merge pull request #129 from aykhans/bump/go-version
...
🔖 Bump go version to 1.25
2025-08-17 15:48:35 +04:00
aykhans
e6c54e9cb2
🔖 Bump golangci-lint version to v2.4.0
2025-08-17 15:47:04 +04:00
aykhans
b32f567de7
🔖 Bump go version to 1.25
2025-08-17 15:45:14 +04:00
aykhans and GitHub
b6e85d9443
Merge pull request #128 from aykhans/docs/update
...
📚 Update README.md
2025-08-17 15:31:14 +04:00
aykhans and GitHub
827e3535cd
Merge pull request #127 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.65.0
...
Bump github.com/valyala/fasthttp from 1.64.0 to 1.65.0
2025-08-17 15:31:03 +04:00
aykhans and GitHub
7ecf534d87
📚 Update README.md
2025-08-17 15:30:19 +04:00
aykhans and GitHub
7fb59a7989
Merge pull request #126 from aykhans/bump/version
...
⬆️ bump version to 0.7.2
2025-07-30 11:52:54 +04:00
aykhans and GitHub
527909c882
⬆️ bump version to 0.7.2
2025-07-30 11:52:44 +04:00
aykhans and GitHub
4459675efa
Merge pull request #125 from aykhans/dependabot/go_modules/github.com/jedib0t/go-pretty/v6-6.6.8
...
Bump github.com/jedib0t/go-pretty/v6 from 6.6.7 to 6.6.8
2025-07-29 10:33:41 +04:00
aykhans and GitHub
7d4267c4c2
Merge pull request #124 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.64.0
...
Bump github.com/valyala/fasthttp from 1.63.0 to 1.64.0
2025-07-16 10:56:35 +04:00
aykhans and GitHub
49d004ff06
Merge pull request #123 from aykhans/docs/refactor
...
💄 Remove logo
2025-07-09 21:37:11 +04:00
aykhans and GitHub
045deb6120
💄 Remove logo
2025-07-09 21:36:53 +04:00
aykhans and GitHub
075ef26203
Merge pull request #122 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.63.0
...
Bump github.com/valyala/fasthttp from 1.62.0 to 1.63.0
2025-07-02 12:04:07 +04:00
aykhans and GitHub
aacb33cfa5
Merge pull request #121 from aykhans/feat/config
...
🔨 Remove default 'http' schema from request URL
2025-06-28 23:45:11 +04:00
aykhans
4a7db48351
🔨 Remove default 'http' schema from request URL
2025-06-28 23:44:04 +04:00
aykhans and GitHub
b73087dce5
Merge pull request #120 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.3.0
...
Bump github.com/brianvoe/gofakeit/v7 from 7.2.1 to 7.3.0
2025-06-27 18:04:40 +04:00
aykhans and GitHub
0adde6e04e
Merge pull request #118 from aykhans/core/refactor
...
General Refactoring
2025-06-08 23:39:02 +04:00
aykhans
ca50de4e2f
⬆️ bump version to 0.7.1
2025-06-08 20:57:01 +04:00
aykhans
c99e7c66d9
📚 Update docs
2025-06-08 20:56:00 +04:00
aykhans
280e5f5c4e
📚 Add EXAMPLES.md
2025-06-08 20:55:45 +04:00
aykhans
47dfad6046
🔧 Add more template functions
2025-06-08 20:55:02 +04:00
aykhans and GitHub
5bb644d55f
Merge pull request #116 from aykhans/feat/value-generator
...
Add value generators
2025-06-01 23:53:11 +04:00
aykhans
9152eefdc5
✨ Add 'body_FormData' generator to template func maps
2025-06-01 23:22:55 +04:00
aykhans
a8cd253c63
✨ Add string functions to templates func map
2025-06-01 20:52:27 +04:00
aykhans
9aaf2db74d
📚 Update docs
2025-06-01 20:52:06 +04:00
aykhans
5c3e254e1e
📚 Update docs
2025-05-30 21:51:11 +04:00
aykhans
e5c681a22b
⬆️ bump version to 0.7.0
2025-05-30 21:44:10 +04:00
aykhans
79668e4ece
✨ Add value generators
2025-05-30 21:41:38 +04:00
aykhans
f248c2af96
Value generator initial commit
2025-05-30 10:40:20 +04:00
aykhans and GitHub
924bd819ee
Merge pull request #115 from aykhans/core/refactor
...
🔧 Refactor 'RandomValueCycle' and 'getKeyValueGeneratorFunc' functions
2025-05-29 22:16:01 +04:00
aykhans
e567155eb1
🔧 Refactor 'RandomValueCycle' and 'getKeyValueGeneratorFunc' functions
2025-05-29 22:10:41 +04:00
aykhans and GitHub
23c74bdbb1
Merge pull request #114 from aykhans/core/refactor
...
General refactor
2025-05-29 02:42:57 +04:00
aykhans
addf92df91
🔧 Add 'skip-verify' parameter to skip SSL/TLS cert verification
2025-05-29 02:38:07 +04:00
aykhans
6aeda3706b
💄 general formatting
2025-05-29 00:38:48 +04:00
aykhans and GitHub
dc1cd05714
Merge pull request #112 from aykhans/core/refactor-clients
...
🔧 Update client configs to skip connection verification if it is not secure
2025-05-25 19:18:03 +04:00
aykhans
2b9d0520b0
🔧 Update client configs to skip connection verification if it is not secure
2025-05-25 19:16:30 +04:00
aykhans and GitHub
bea2e7c040
Merge pull request #111 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.62.0
...
Bump github.com/valyala/fasthttp from 1.61.0 to 1.62.0
2025-05-08 15:11:32 +04:00
aykhans and GitHub
c927e31c49
Merge pull request #110 from aykhans/core/update-go
...
🔧 bump go version to 1.24.2
2025-04-26 16:38:03 +04:00
aykhans
d8e6f532a8
🔧 bump go version to 1.24.2
2025-04-26 16:36:27 +04:00
aykhans and GitHub
cf5cd23d97
Merge pull request #109 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.61.0
...
Bump github.com/valyala/fasthttp from 1.60.0 to 1.61.0
2025-04-23 15:10:41 +04:00
aykhans and GitHub
cb8898d20e
Merge pull request #108 from aykhans/core/refactor-duration-logic
...
🔨 Replace 'time.AfterFunc' with 'context.WithTimeout'
2025-04-18 15:42:21 +04:00
aykhans
a552d1c9f9
🔨 Replace 'time.AfterFunc' with 'context.WithTimeout'
2025-04-18 15:39:17 +04:00
aykhans and GitHub
35263f1dd6
Merge pull request #106 from aykhans/bump/version
...
⬆️ bump version to 0.6.3
2025-04-03 05:25:06 +04:00
aykhans
930e173a6a
⬆️ bump version to 0.6.3
2025-04-03 05:24:11 +04:00
aykhans and GitHub
bea2a81afa
Merge pull request #104 from aykhans/chore/refactor-ci
...
🔧 Refactor .golangci and Taskfile
2025-04-03 05:05:50 +04:00
aykhans and GitHub
53ed486b23
Merge pull request #105 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.60.0
...
Bump github.com/valyala/fasthttp from 1.59.0 to 1.60.0
2025-04-03 05:05:02 +04:00
aykhans and GitHub
0b9c32a09d
Merge branch 'main' into chore/refactor-ci
2025-04-03 05:04:12 +04:00
aykhans
42d5617e3f
🎨 Format files
2025-04-03 05:01:22 +04:00
aykhans
e80ae9ab24
🔧 bump golangci version
2025-04-03 04:24:23 +04:00
aykhans
09034b5f9e
🔧 bump golangci/golangci-lint-action version
2025-04-03 04:18:53 +04:00
aykhans
f1ca2041c3
🔧 bump golangci version
2025-04-03 04:15:48 +04:00
aykhans and GitHub
f5a29a2657
Merge pull request #103 from aykhans/chore/general-refactoring
...
General refactoring
2025-04-03 04:11:38 +04:00
aykhans
439f66eb87
🔧 Refactor .golangci and Taskfile
2025-04-03 03:07:38 +04:00
aykhans
415d0130ce
🔨 Move duration cancel logic to requests package
2025-04-01 21:10:02 +04:00
aykhans
abaa8e90b2
🔧 Add 'run' and 'fmt' commands to Taskfile
2025-04-01 21:09:17 +04:00
aykhans and GitHub
046ce74cd9
Merge pull request #102 from aykhans/chore/replace-makefile-with-taskfile
...
🔧 Replace Makefile with Taskfile and remove 'build.sh'
2025-04-01 20:01:35 +04:00
aykhans
681cafc213
🔧 Replace Makefile with Taskfile and remove 'build.sh'
2025-03-27 23:32:41 +04:00
aykhans and GitHub
7e05cf4f6b
Merge pull request #101 from aykhans/feat/add-duration
...
✨ Add duration
2025-03-24 18:12:10 +04:00
aykhans
934cd0ad33
📚 Update docs
2025-03-24 17:02:58 +04:00
aykhans
69c4841a05
📚 Update docs
2025-03-24 17:02:06 +04:00
aykhans
3cc165cbf4
⬆️ bump version to 0.6.2
2025-03-24 16:55:23 +04:00
aykhans
59f40ad825
✨ Add duration
2025-03-24 16:54:09 +04:00
aykhans and GitHub
a170588574
Merge pull request #100 from aykhans/refactor/config
...
🔨 Add 'User-Agent' in 'SetDefaults' function
2025-03-23 21:19:31 +04:00
aykhans
2a0ac390d8
🔨 Add 'User-Agent'in 'SetDefaults' function
2025-03-22 22:25:54 +04:00
aykhans and GitHub
11bb8b3fb0
Merge pull request #99 from aykhans/docs/update-readme
...
📚 Update README.md
2025-03-20 19:23:41 +04:00
aykhans and GitHub
1aadc3419a
📚 Update README.md
2025-03-20 19:23:14 +04:00
aykhans and GitHub
b3af3f6ad5
Merge pull request #98 from aykhans/feat/config-yaml
...
✨ Add yaml file reader to config
2025-03-20 16:38:13 +04:00
aykhans
ed52fff363
⬆️ bump version to 0.6.1
2025-03-20 16:31:39 +04:00
aykhans
985fc6200d
🐳 Update Dockerfile
2025-03-20 16:11:43 +04:00
aykhans
1808865358
📚 Update docs
2025-03-20 16:01:53 +04:00
aykhans
56342e49c6
📚 Update docs
2025-03-20 15:59:46 +04:00
aykhans
ec80569d5d
🐳 Remove default config file path from 'ENTRYPOINT'
2025-03-20 15:59:09 +04:00
aykhans
459f7ee0dc
✨ Add yaml file reader to config
2025-03-20 03:52:25 +04:00
aykhans and GitHub
3cd72855e5
Merge pull request #97 from aykhans/fix/nil-url
...
🐛 Fix nil URL referance
2025-03-20 03:20:33 +04:00
aykhans
b8011ce651
🐛 Fix nil URL referance
2025-03-20 03:19:28 +04:00