Skip to content

Commit 4e4f29c

Browse files
authored
v1.26.0 (#4220)
* v1.26.0 * version: update Delve version
1 parent b464055 commit 4e4f29c

File tree

6 files changed

+76
-27
lines changed

6 files changed

+76
-27
lines changed

.teamcity/settings.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,27 @@ To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View
4141
version = "2023.05"
4242

4343
val targets = arrayOf(
44-
"linux/amd64/1.23",
4544
"linux/amd64/1.24",
4645
"linux/amd64/1.25",
46+
"linux/amd64/1.26",
4747
"linux/amd64/tip",
4848

49-
"linux/386/1.25",
49+
"linux/386/1.26",
5050

51-
"linux/arm64/1.25",
51+
"linux/arm64/1.26",
5252
"linux/arm64/tip",
5353

54-
"linux/ppc64le/1.25",
54+
"linux/ppc64le/1.26",
5555

56-
"linux/riscv64/1.25",
56+
"linux/riscv64/1.26",
5757

58-
"windows/amd64/1.25",
58+
"windows/amd64/1.26",
5959
"windows/amd64/tip",
6060

61-
"mac/amd64/1.25",
61+
"mac/amd64/1.26",
6262
"mac/amd64/tip",
6363

64-
"mac/arm64/1.25",
64+
"mac/arm64/1.26",
6565
"mac/arm64/tip"
6666
)
6767

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,68 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to Semantic Versioning.
55

6+
## [1.26.0] 2025-12-18
7+
8+
### Added
9+
10+
- Go 1.26 support (#4211, #4205, #4212, #4217, @aarzilli)
11+
- Savestate command for terminal (#4045, @alexsaezm)
12+
- DAP: Target command and follow-exec support (#4078, @Lslightly)
13+
- DAP: Read memory request handler (#4083, @MistaTwista)
14+
- DAP: Input/output redirection (#4178, @aarzilli)
15+
- DAP: Suspended breakpoints support (#4075, @firelizzard18)
16+
- DAP: Use exception breakpoints for predefined breakpoints (#4169, @aarzilli)
17+
- Custom starlark commands can be used with on prefix (#4170, @derekparker)
18+
- Shortcut syntax to access target variables in starlark (#4134, @aarzilli)
19+
- Support for tracing defer function calls with follow option (#3978, @archanaravindar)
20+
- Flag to retain trace directory after detach (#4091, @archanaravindar)
21+
- Ability to cancel debuginfod downloads (#4123, @aarzilli)
22+
- Process spawned event (#4171, @firelizzard18)
23+
- Materialized breakpoint event for follow-exec mode (#4161, @aarzilli)
24+
- Way to disable stop-on-error for breakpoint conditions (#4191, @aarzilli)
25+
- Function call support on loong64 (#4114, @yelvens)
26+
- Build argument logging (#4185, @pedia)
27+
- Capslock check (#4106, @derekparker)
28+
29+
### Fixed
30+
31+
- DAP: Restart handling when compilation fails (#4215, @aarzilli)
32+
- DAP: Disable string() field for address-less variables (#4214, @aarzilli)
33+
- DAP: Race condition in tests (#4121, @derekparker)
34+
- Gdbserial: Do not set detached if we kill the process (#4216, @aarzilli)
35+
- Prevent trace killing attached process (#4164, @alex-emery)
36+
- Trace /regexp/ should set ret breakpoints correctly (#4130, @aarzilli)
37+
- Replay subcommand must keep trace directory (#4184, @lwintermelon)
38+
- Nil pointer dereference when calling extra on a nil func (#4174, @aarzilli)
39+
- Check that breakpoint exists in ClearBreakpoint (#4141, @aarzilli)
40+
- Use address in ClearBreakpoint only when ID is 0 (#4168, @aarzilli)
41+
- Return error when calling a non-ptr receiver method on a nil ptr (#4139, @aarzilli)
42+
- Additional checks parsing g structs (#4140, @aarzilli)
43+
- Remember that we attached in WaitFor attach mode (#4120, @aarzilli)
44+
- Guard register logging from nil pointer dereferences (#4188, @aarzilli)
45+
- Do not insist stmt is same line as entry in DWARF (#4186, @derekparker)
46+
- Fix wait reason string table (#4182, @aarzilli)
47+
- Workaround for non-unicode strings in Variables (#4082, @aarzilli)
48+
- Fix ppc64le clause in support_sentinel_linux.go (#4129, @tshah14)
49+
- Improve frame unwind context handling on loong64 (#4133, @yelvens)
50+
51+
### Changed
52+
53+
- Replace hashicorp/golang-lru with custom lru cache (#4196, @qmuntal)
54+
- Update riscv64 support and add to test matrix (#4190, @lrzlin)
55+
- Update riscv64 capslock file (#4210, @derekparker)
56+
- Move things that use x/tools/go/packages to new repo (#3990, @aarzilli)
57+
- Remove experimental build tags for Windows ARM64 (#4176, @gdams)
58+
- Add Windows ARM64 workflow to CI (#4175, @gdams)
59+
- Add linux/loong64 to TeamCity configuration (#4154, @yelvens)
60+
- Set CI=true on a project level (#4156, @vietage)
61+
- Hierarchical search for structMember or method (#4118, @wenxuan70)
62+
- Update trie to v3.2.0 (#4131, @derekparker)
63+
- Parallelize tests where possible (#4115, @derekparker)
64+
- Modernize codebase with newer syntax and helpers (#4110, @derekparker)
65+
- Miscellaneous improvements to tests and build configuration (#4096, #4135, #4145, #4157, #4163, #4198, #4202, #4111, #4122, #4124, #4209, @derekparker, @aarzilli)
66+
- Miscellaneous code refactoring (#4159, #4173, #4201, @aarzilli)
67+
668
## [1.25.2] 2025-08-26
769

870
### Added

_scripts/gen-capslock-all.go

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,6 @@ func main() {
4949
log.Fatalf("Failed to change to project root: %v", err)
5050
}
5151

52-
// Check if capslock is installed
53-
if _, err := exec.LookPath("capslock"); err != nil {
54-
fmt.Printf("%scapslock is not installed. Installing...%s\n", colorYellow, colorReset)
55-
cmd := exec.Command("go", "install", "github.com/google/capslock/cmd/capslock@latest")
56-
cmd.Stdout = os.Stdout
57-
cmd.Stderr = os.Stderr
58-
if err := cmd.Run(); err != nil {
59-
fmt.Printf("%sFailed to install capslock. Please install it manually:%s\n", colorRed, colorReset)
60-
fmt.Println("go install github.com/google/capslock/cmd/capslock@latest")
61-
os.Exit(1)
62-
}
63-
}
64-
6552
fmt.Println("Generating capslock output files for all supported platforms...")
6653
fmt.Println("==================================================")
6754

@@ -119,13 +106,13 @@ func main() {
119106
func generateCapslock(platform Platform) error {
120107
outputFile := fmt.Sprintf("_scripts/capslock_%s_%s-output.txt", platform.GOOS, platform.GOARCH)
121108

122-
args := []string{}
109+
args := []string{"run", "github.com/google/capslock/cmd/capslock@latest"}
123110
if platform.BuildTags != "" {
124111
args = append(args, "-buildtags", platform.BuildTags)
125112
}
126113
args = append(args, "-packages", "./cmd/dlv")
127114

128-
cmd := exec.Command("capslock", args...)
115+
cmd := exec.Command("go", args...)
129116
cmd.Env = append(os.Environ(),
130117
fmt.Sprintf("GOOS=%s", platform.GOOS),
131118
fmt.Sprintf("GOARCH=%s", platform.GOARCH),

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/go-delve/delve
22

3-
go 1.23.1
3+
go 1.24
44

55
require (
66
github.com/cilium/ebpf v0.11.0

pkg/goversion/compat.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212

1313
var (
1414
MinSupportedVersionOfGoMajor = 1
15-
MinSupportedVersionOfGoMinor = 23
15+
MinSupportedVersionOfGoMinor = 24
1616
MaxSupportedVersionOfGoMajor = 1
17-
MaxSupportedVersionOfGoMinor = 25
17+
MaxSupportedVersionOfGoMinor = 26
1818
goTooOldErr = fmt.Sprintf("Go version %%s is too old for this version of Delve (minimum supported version %d.%d, suppress this error with --check-go-version=false)", MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor)
1919
goTooOldWarn = fmt.Sprintf("WARNING: undefined behavior - Go version %%s is too old for this version of Delve (minimum supported version %d.%d)", MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor)
2020
dlvTooOldErr = fmt.Sprintf("Version of Delve is too old for Go version %%s (maximum supported version %d.%d, suppress this error with --check-go-version=false)", MaxSupportedVersionOfGoMajor, MaxSupportedVersionOfGoMinor)

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Version struct {
1818

1919
// DelveVersion is the current version of Delve.
2020
var DelveVersion = Version{
21-
Major: "1", Minor: "25", Patch: "2", Metadata: "",
21+
Major: "1", Minor: "26", Patch: "0", Metadata: "",
2222
Build: "$Id$",
2323
}
2424

0 commit comments

Comments
 (0)