Skip to content

Commit

Permalink
*: release version 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aarzilli committed Dec 23, 2023
1 parent 66fbe30 commit 9267d8a
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.

## [1.22.0] 2023-12-XX

### Added

- Support for Go 1.22 (#3583, @aarzilli)
- Support for min and max builtins (#3530, @aarzilli)
- Expression evaluator can now reference previous frames (#3534, @derekparker)
- Better support for stripped binaries (#3549, #3577, #3597, @derekparker)
- Remove package paths from types returned by DAP (#3535, @stefanhaller)
- Show pprof labels in DAP (#3501, @stefanhaller)

### Fixed

- Fixes for signal routing with debugserver (#3541, @aarzilli)
- Clear substitute path rules cache every time the `config` command is used (#3567, @aarzilli)
- Fixes handling of hardcoded breakpoints after a manual stop (#3582, @aarzilli)
- Occasional close on closed channel panic in DAP (#3573, @aarzilli)
- Correctly reports exit code on Linux when a we receive a signal close to the program's exit (#3585, @aarzilli)

### Changed

- Type casts from slice to string and vice versa will now use the load configuration for the target type, which is more intuitive (#3596, @aarzilli)
- Miscellaneous impreovements to documentation (#3531, #3555, #3556, #3562, #3564, #3575, #3576, @alexandear, @testwill)

## [1.21.2] 2023-10-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion pkg/goversion/go_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func Installed() (GoVersion, bool) {
// or go version) is major.minor or a later version, or a development
// version.
func VersionAfterOrEqual(version string, major, minor int) bool {
return VersionAfterOrEqualRev(version, major, minor, -1)
return VersionAfterOrEqualRev(version, major, minor, -1000)
}

// VersionAfterOrEqualRev checks that version (as returned by runtime.Version()
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ func (stack *evalStack) run() {
regs, _ := curthread.Registers()
setSP(curthread, regs.SP()+uint64(scope.BinInfo.Arch.PtrSize()))
setPC(curthread, fncall.undoInjection.oldpc)
case "arm64", "ppc64":
case "arm64", "ppc64le":
setLR(curthread, fncall.undoInjection.oldlr)
setPC(curthread, fncall.undoInjection.oldpc)
default:
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/variables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ func TestPackageRenames(t *testing.T) {
testPackageRenamesHelper(t, p, testcases1_13)
}

if runtime.GOARCH == "386" {
if runtime.GOARCH == "386" && !runtime.VersionAfterOrEqual(runtime.Version(), 1, 22) {
testPackageRenamesHelper(t, p, testcases_i386)
} else {
testPackageRenamesHelper(t, p, testcases_64bit)
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Version struct {
var (
// DelveVersion is the current version of Delve.
DelveVersion = Version{
Major: "1", Minor: "21", Patch: "2", Metadata: "",
Major: "1", Minor: "22", Patch: "0", Metadata: "",
Build: "$Id$",
}
)
Expand Down

0 comments on commit 9267d8a

Please sign in to comment.