From f07be48220d1ffaff90b8836e8c5fc5f80d34ff8 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Thu, 8 Dec 2022 19:34:57 +0100 Subject: [PATCH] *: CHANGELOG and bump to version 1.20.0 (#3209) Thank you @Frederick888, @emad-elsaid, @cuiweixie, @qmuntal, @suzmue, @cuishuang, @aviramha, @dlipovetsky, @Foxboron, @gfszr. --- .teamcity/settings.kts | 14 +++++++------- CHANGELOG.md | 25 +++++++++++++++++++++++++ pkg/goversion/compat.go | 4 ++-- pkg/version/version.go | 3 +-- 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index b8c62b5ab0..103a3fa7c4 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -35,26 +35,26 @@ To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View version = "2020.2" val targets = arrayOf( - "linux/amd64/1.17", "linux/amd64/1.18", "linux/amd64/1.19", + "linux/amd64/1.20", "linux/amd64/tip", - "linux/386/1.19", + "linux/386/1.20", - "linux/arm64/1.19", + "linux/arm64/1.20", "linux/arm64/tip", - "windows/amd64/1.19", + "windows/amd64/1.20", "windows/amd64/tip", - "windows/arm64/1.19", + "windows/arm64/1.20", "windows/arm64/tip", - "mac/amd64/1.19", + "mac/amd64/1.20", "mac/amd64/tip", - "mac/arm64/1.19", + "mac/arm64/1.20", "mac/arm64/tip" ) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97903950dc..faa95790ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,31 @@ All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. +## [1.20.0] 2022-12-07 + +### Added + +- Support for Go 1.20 (#3129, #3196, #3180, @cuiweixie, @qmuntal, @aarzilli) +- Support for Windows/arm64 (gated by a build tag) (#3063, #3198, #3200, @qmuntal) +- Compatibility with coredumpctl (#3195, @Foxboron) + +### Fixed + +- Improve evaluation of type casts (#3146, #3149, #3186, @aarzilli) +- DAP: Added type to response of EvaluateRequest (#3172, @gfszr) +- Cgo stacktraces on linux/arm64 (#3192, @derekparker) +- Debugserver crashes on recent versions of macOS when $DYLD_INSERT_LIBRARIES is set (#3181, @aviramha) +- Stacktraces and stepping on Go 1.19.2 and later on macOS (#3204, @aarzilli) +- Attaching to processes used by a different user on Windows (#3162, @aarzilli) +- Nil pointer dereference when current address is not part of a function (#3157, @aarzilli) + +### Changed + +- Change behavior of exec command so that it looks for the executable in the current directory (#3167, @derekparker) +- DAP shows full value when evaluating log messages (#3141, @suzmue) +- Wait time is no longer reported for parked goroutines (its value was always incorrect) (#3139, @aarzilli) +- Miscellaneous improvements to documentation and error messages (#3119, #3117, #3154, #3161, #3169, #3188, @aarzilli, @derekparker, @cuishuang, @Frederick888, @dlipovetsky) + ## [1.9.1] 2022-08-23 ### Added diff --git a/pkg/goversion/compat.go b/pkg/goversion/compat.go index f8838aa259..5524ac9b5d 100644 --- a/pkg/goversion/compat.go +++ b/pkg/goversion/compat.go @@ -8,9 +8,9 @@ import ( var ( MinSupportedVersionOfGoMajor = 1 - MinSupportedVersionOfGoMinor = 17 + MinSupportedVersionOfGoMinor = 18 MaxSupportedVersionOfGoMajor = 1 - MaxSupportedVersionOfGoMinor = 19 + MaxSupportedVersionOfGoMinor = 20 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) goTooOldWarn = fmt.Sprintf("WARNING: undefined behavior - Go version %%s is too old for this version of Delve (minimum supported version %d.%d)", MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor) 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) diff --git a/pkg/version/version.go b/pkg/version/version.go index d81b9fd12b..8ec46ee3d2 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -17,8 +17,7 @@ type Version struct { var ( // DelveVersion is the current version of Delve. DelveVersion = Version{ - Major: "1", Minor: "9", Patch: "1", Metadata: "", - //TODO(aarzilli): before updating this to 1.8.0 re-enable staticcheck test + Major: "1", Minor: "20", Patch: "0", Metadata: "", Build: "$Id$", } )