From 1647fa6b5e029f5785f5288b62120a8d1241f127 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Tue, 27 Jun 2023 18:04:52 +0200 Subject: [PATCH] all: Bump to v1.21.0 (#3428) Thank you @alexandear, @chenhengqi, @cuishuang, @alexsaezm, @suzmue, @spacewander, @ZekeLu, @fche, @andreimatei, @nozzy123nozzy --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ pkg/goversion/compat.go | 2 +- pkg/version/version.go | 2 +- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ce138358f..7e0fe09089 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,39 @@ All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. +## [1.21.0] 2023-06-23 + +### Added + +- Go 1.21 support (#3370, #3401, @aarzilli) +- Basic debug functionality for stripped executables (#3408, #3421, @derekparker) +- Core dumping on FreeBSD (#3305, @aarzilli) +- Ability to automatically attach to child processes when they are spawned (linux-only) (#3286, #3346, @aarzilli) +- Starlark scripts can now use the time module (#3375, @andreimatei) +- Online help for starlark interpreter (#3388, @aarzilli) +- `dlv trace` has a new option, `--timestamp`, that prints timestamps before every trace event (#3358, @spacewander) + +### Fixed + +- Stepping could hide normal breakpoint hits occurring simultaneously, in rare circumstances (#3287, @aarzilli) +- Internal error when defer locations can not be resolved (#3329, @aarzilli) +- Channels of certain types could be displayed incorrectly (#3362, @aarzilli) +- Formatted time wouldn't always be displayed when using DAP (#3349, @suzmue) +- Function call injection when parameters are in registers (#3365, @ZekeLu) +- Panic in Starlark interface when using partially loaded variables (#3386, @andreimatei) +- Use debug info directories configuration in `dlv trace` (#3405, @nozzy123nozzy) +- Updated DAP version (#3414, @suzmue) + +### Changed + +- Improved eBPF tracepoints (#3325, #3353, #3417, @chenhengqi, @derekparker) +- The name of the default output binary is now randomizes, which fixes some weird behavior when multiple instances of Delve are run simultaneously in the same directory (#3366, @aarzilli) +- Stderr of debuginfod-find is now suppressed (#3381, @fche) +- Better documentation for substitute-path (#3335, @aarzilli) +- `quit -c` will ask for confirmation when breakpoints still exist (#3398, @aarzilli) +- Miscellaneous improvements to documentation and tests (#3326, #3327, #3340, #3341, #3357, #3378, #3376, #3399, #3374, #3426, @alexandear, @cuishuang, @alexsaezm, @andreimatei) + + ## [1.20.2] 2023-04-05 ### Added diff --git a/pkg/goversion/compat.go b/pkg/goversion/compat.go index 5524ac9b5d..8471db796c 100644 --- a/pkg/goversion/compat.go +++ b/pkg/goversion/compat.go @@ -10,7 +10,7 @@ var ( MinSupportedVersionOfGoMajor = 1 MinSupportedVersionOfGoMinor = 18 MaxSupportedVersionOfGoMajor = 1 - MaxSupportedVersionOfGoMinor = 20 + MaxSupportedVersionOfGoMinor = 21 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 e0c278ad8e..fec0d226b2 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -17,7 +17,7 @@ type Version struct { var ( // DelveVersion is the current version of Delve. DelveVersion = Version{ - Major: "1", Minor: "20", Patch: "2", Metadata: "", + Major: "1", Minor: "21", Patch: "0", Metadata: "", Build: "$Id$", } )