Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.17.63] - 2026-10-09

### Changed

- Bump Go version to `1.27.3` and update module dependencies.

## [0.17.62] - 2026-10-09

### Changed

- Bump Go version to `1.27.2` and update module dependencies.
- Bump all updatable Go dependencies to their latest versions as of this date.

## [0.17.61] - 2026-10-06

Expand Down Expand Up @@ -810,7 +816,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.4.0] - 2025-10-30

[unreleased]: https://github.com/preminger/goctx/compare/v0.17.62...HEAD
[unreleased]: https://github.com/preminger/goctx/compare/v0.17.63...HEAD
[0.17.63]: https://github.com/preminger/goctx/compare/v0.17.62...v0.17.63
[0.17.62]: https://github.com/preminger/goctx/compare/v0.17.61...v0.17.62
[0.17.61]: https://github.com/preminger/goctx/compare/v0.17.60...v0.17.61
[0.17.60]: https://github.com/preminger/goctx/compare/v0.17.59...v0.17.60
Expand Down
16 changes: 8 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/preminger/goctx

go 1.27.1
go 1.27.3

require (
charm.land/lipgloss/v2 v2.0.6
Expand All @@ -10,9 +10,9 @@ require (
github.com/sebdah/goldie/v2 v2.8.0
github.com/spf13/cobra v1.10.2
github.com/stretchr/testify v1.12.1
github.com/yaklabco/stave v0.17.5
github.com/yaklabco/stave v0.17.6
golang.org/x/sync v0.24.0
golang.org/x/tools v0.51.0
golang.org/x/tools v0.52.0
)

require (
Expand Down Expand Up @@ -65,13 +65,13 @@ require (
github.com/spf13/viper v1.21.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/xo/terminfo v1.2.0 // indirect
github.com/yaklabco/direnv/v2 v2.38.2-0.20261009133232-914d4e2710fa // indirect
github.com/yaklabco/direnv/v2 v2.38.2-0.20261020123124-a1b95736f4db // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/exp v0.0.0-20261007192929-f45ad48fbe92 // indirect
golang.org/x/mod v0.41.0 // indirect
golang.org/x/exp v0.0.0-20261014143641-f0251eb4aa3e // indirect
golang.org/x/mod v0.42.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/term v0.46.0 // indirect
golang.org/x/text v0.42.0 // indirect
golang.org/x/term v0.47.0 // indirect
golang.org/x/text v0.43.0 // indirect
gotest.tools/gotestsum v1.13.0 // indirect
)

Expand Down
28 changes: 14 additions & 14 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -145,33 +145,33 @@ github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/xo/terminfo v1.2.0 h1:d0ZTOCpuGE0lwSAOs0zcJjwz3jWQyqcRt9XbGJpCOl4=
github.com/xo/terminfo v1.2.0/go.mod h1:lGzkSo8Fe7IRh/w+Gqz7n5mDog4FVXCj3gy/DYTBqio=
github.com/yaklabco/direnv/v2 v2.38.2-0.20261009133232-914d4e2710fa h1:nZ/S/9jwC1Y2k1E6x4gC+SbW2P3wDaHeh/SGVFTkBrg=
github.com/yaklabco/direnv/v2 v2.38.2-0.20261009133232-914d4e2710fa/go.mod h1:ZPLLQHXBACBbRvRUZdvEBA4L5xE1/93GfJbIsYcqng4=
github.com/yaklabco/stave v0.17.5 h1:VZ/zaJ0/ifpJddrw0rSU5gONqV6jdqEugGUnCEz6ZFM=
github.com/yaklabco/stave v0.17.5/go.mod h1:0I66lbpfl/uPBcU98bYj7mJWzU0EitrCJUsgPqROEIA=
github.com/yaklabco/direnv/v2 v2.38.2-0.20261020123124-a1b95736f4db h1:/Hl7h4ERIQrmbeS9PfDOLNrbnL7BAsFytrcbawWvKYg=
github.com/yaklabco/direnv/v2 v2.38.2-0.20261020123124-a1b95736f4db/go.mod h1:1lYqltXpaww4zajcWej39tcP0XPmiB6K3mleO4McvDg=
github.com/yaklabco/stave v0.17.6 h1:2OA3ZBNZ2l18mzgNO6ET81tLaWNaZxzDXM1g0ERFEjA=
github.com/yaklabco/stave v0.17.6/go.mod h1:dxZVzzAM7HayF/3ZMaxeE4dXjVtqOs5vJTwT78+iCN4=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/exp v0.0.0-20261007192929-f45ad48fbe92 h1:kc+Gi2MFkd0KWtdDlVxVwjw4KB98/77usJDFj+6YFQ8=
golang.org/x/exp v0.0.0-20261007192929-f45ad48fbe92/go.mod h1:SRjTzy5WcYqRRqquLUvHeeovSwLO0CZ3xcltZNO4Fck=
golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c=
golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o=
golang.org/x/exp v0.0.0-20261014143641-f0251eb4aa3e h1:HgI6W1OolKK6tcV74is+rl9SMT0njsHlp0TbQiGXI/A=
golang.org/x/exp v0.0.0-20261014143641-f0251eb4aa3e/go.mod h1:DBoxwWhjaW8DJJw/YeM4zpeOKMC1FMXSblsYy+1mFSw=
golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg=
golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE=
golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc=
golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM=
golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI=
golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E=
golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc=
golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s=
golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI=
golang.org/x/tools v0.51.0/go.mod h1:9eEncMayCV6zRMGhR5eZEC2iBx98qWcF1HZ9Z7wJOoA=
golang.org/x/tools v0.52.0 h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs=
golang.org/x/tools v0.52.0/go.mod h1:ItcP5UNaVGG+Yc4eIYmaFLNJ4soEopkx5Y2d4lcEurs=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
Expand Down
2 changes: 1 addition & 1 deletion pkg/goctx/options_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func Run(_ context.Context, opts Options) error {
slog.Debug("target parsed", slog.String("file", tgtSpec.File), slog.String("func", tgtSpec.FuncName), slog.Int("line", tgtSpec.LineNumber))
stopSpec, err := parseStopSpec(opts.StopAt)
if err != nil {
if _, ok := errors.AsType[noStopSpecError](err); !ok { //nolint:errcheck // False positive.
if _, ok := errors.AsType[noStopSpecError](err); !ok {
slog.Debug("stopAt parse error", slog.String("stopAt", opts.StopAt), slog.Any("error", err))
return err
}
Expand Down
Loading