Releases: grol-io/grol
v0.78.0
What's Changed
int("")==0
(was an error)- adding
trim()
,trim_left()
andtrim_right()
with whitespace trimming by default or whichever character set - new
-no-register
option to disable register optimizations (some scripts like the advent of code 11 are slower with registers because of memory churn in Modify)
Full Changelog: v0.77.0...v0.78.0
Changelog
v0.77.0
What's Changed
- adding read() and eof() for line by line read from stdin by @ldemailly in #270
Full Changelog: v0.76.0...v0.77.0
Changelog
v0.76.0
Switch to go 1.23(.3) and other dependencies update
Full Changelog: v0.75.2...v0.76.0
Changelog
- 80297ed Bump actions/checkout from 4.2.0 to 4.2.1 (#261)
- c25f8e3 Bump actions/checkout from 4.2.1 to 4.2.2 (#266)
- 5d1d078 Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#260)
- d77c1fc Bump fortio.org/terminal from 0.23.0 to 0.25.0 in the fortio group (#262)
- 4f0057f Bump fortio.org/terminal from 0.25.0 to 0.26.0 in the fortio group (#263)
- 224c42d Bump fortio.org/terminal from 0.26.0 to 0.26.1 in the fortio group (#264)
- c8fd01a Bump fortio.org/terminal from 0.26.1 to 0.27.0 in the fortio group (#265)
- 47783c2 Bump fortio.org/terminal from 0.27.0 to 0.27.1 in the fortio group (#269)
- 954b7c7 Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#259)
- fb3819e Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 (#268)
- dbbc9b1 bump terminal (#258)
v0.75.2
What's Changed
- Adding 1 time format. cleanup some switches by @ldemailly in #257
Full Changelog: v0.75.1...v0.75.2
Changelog
v0.75.1
Rebuild with go1.22.8 and other dep bumps
What's Changed
- Bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in #250
- Bump fortio.org/terminal from 0.19.0 to 0.20.1 in the fortio group by @dependabot in #251
- Bump the fortio group across 1 directory with 3 updates by @dependabot in #254
- Bump golang.org/x/image from 0.20.0 to 0.21.0 by @dependabot in #255
- Bump fortio.org/terminal from 0.22.0 to 0.22.1 in the fortio group by @dependabot in #256
Full Changelog: v0.75.0...v0.75.1
Changelog
- 8ae7dbd Bump actions/checkout from 4.1.7 to 4.2.0 (#250)
- 531d700 Bump fortio.org/terminal from 0.19.0 to 0.20.1 in the fortio group (#251)
- 7f6c55f Bump fortio.org/terminal from 0.22.0 to 0.22.1 in the fortio group (#256)
- c5849c1 Bump golang.org/x/image from 0.20.0 to 0.21.0 (#255)
- 0b72f00 Bump the fortio group across 1 directory with 3 updates (#254)
v0.75.0
What's Changed
- runes() can take optional boolean to request the array to be of integers instead of strings by @ldemailly in #249
Full Changelog: v0.74.0...v0.75.0
Changelog
v0.74.0
Big change: registers for loop integer variables and for function parameters - the later means you can't change an int to a float or other type so might require grol script changes.
What's Changed
-
Added Register (for int64) type. by @ldemailly in #240
-
Updates for golangci-lint v1.61.0 (some gosec improvements) by @ldemailly in #239
-
Bump fortio.org/safecast from 0.1.1 to 1.0.0 in the fortio group by @dependabot in #241
-
Bump fortio.org/terminal from 0.9.1 to 0.9.2 in the fortio group by @dependabot in #242
Full Changelog: v0.73.0...v0.74.0
Changelog
v0.73.0
What's Changed
- Add support for
string | run(...)
to set stdin by @ldemailly in #238
E.g
("abc" | exec("wc", "-c")).stdout
is " 3\n"
(on a mac)
Full Changelog: v0.72.0...v0.73.0
Changelog
v0.72.0
What's Changed
- Added
run()
andexec()
functions by @ldemailly in #237
Changed default grol unrestricted IOs (which include run/exec availability) - use -restrict-io
to disable.
Full Changelog: v0.71.0...v0.72.0
Changelog
v0.71.0
What's Changed
- Support for #! scripts using
grol -s
by @ldemailly in #235 - Move
trunc()
back to a float->float function, useint()
for range checking one, add tests, make the error errors instead of panic by @ldemailly in #234
Full Changelog: v0.70.3...v0.71.0