55 Commits

Author SHA1 Message Date
Alessandro Arzilli
b17676cac1
*: release version 1.26.3 (#4318)
Bugfix release mostly for #4311.
Thank you @purelualight, @croepha, @typesanitizer.
2026-04-27 14:23:42 -07:00
Alessandro Arzilli
3c840a562b
*: release version 1.26.2 (#4309)
Thank you @BrotifyPacha, @cuiweixie, @archanaravindar, @typesanitizer
2026-04-20 07:31:55 -07:00
Derek Parker
5a5f35e158
*: v1.26.1 (#4272) 2026-03-03 20:01:07 +01:00
Derek Parker
4e4f29ce75
v1.26.0 (#4220)
* v1.26.0

* version: update Delve version
2025-12-19 18:36:18 +01:00
Alessandro Arzilli
498ee9c272
*: release version 1.25.2 (#4104)
bugfix release, thank you @yelvens, @cui.
2025-08-27 15:03:09 -04:00
Derek Parker
f498dc8c5a
*: v1.25.1 2025-07-18 11:52:13 +02:00
Derek Parker
a40a5e057b
*: Release v1.25.0 (#4029) 2025-06-14 06:35:07 +02:00
Alessandro Arzilli
64ac23de8c
version: remove build constraint (#3998)
Remove the go1.18 build constraint, we no longer build on go1.17 or
earlier.
2025-04-28 08:45:26 -07:00
david dansby
423b29b5ac
version: use git hash for version.Build in dlv version command (#3987)
The build ID `dlv version`command is the blob hash
of file`pkg/version/version.go`. However, generally build identifier
semantics are the built/installed binaries git commit hash.

Updates buildInfoFixBuild to use the git commit has for Version.Build.
Go build info's git revision hash key is `vcs.revision`. So, I added
logic to search for that and attach its value to the version.Build
field. If nothing is found and haven't return its value, then we try
searching for `gitrevision` which maintains backwards compatibility.

Fixes #3986
2025-04-22 14:00:29 -07:00
Alessandro Arzilli
f0cc62bfca
*: 1.24.2 (#3983)
Thank you @alexandear, @BronzeDeer, @hongyuh-hh, @codesoap, @Lslightly
2025-04-10 09:01:59 -07:00
Derek Parker
fc6a439f22
*: v1.24.1 (#3931) 2025-03-06 13:58:37 +01:00
Alessandro Arzilli
7ea6d8fdf1
*: remove uses of reflect.MethodByName from all of Delve (#3916)
When reflect.MethodByName is used the linker can not fully perform
deadcode elimination. This commit updates cobra and rewrites the
suitableMethods part of service/rpccommon so that reflect.MethodByName
is not used and the linker can fully execute deadcode elimination.

The executable size on go1.24.0 on linux is reduced from 25468606 bytes
to 22453382 bytes or a reduction of approximately 12%.

See also:

https://github.com/spf13/cobra/pull/1956
https://github.com/aarzilli/whydeadcode
2025-02-17 18:44:05 -08:00
Derek Parker
0b7bffc7d4
*: v1.24.0 (#3883)
Release v1.24.0.

Thanks to everyone who contributed to this release!
2024-12-18 10:30:17 +01:00
Alessandro Arzilli
856ad78be0
*: release version 1.23.1 (#3816)
Thanks to @Jille, @linchizhen and @arvidfm.
2024-09-23 11:37:44 -07:00
Alessandro Arzilli
56e9b85f40
*: release version 1.23.0 (#3782)
Thanks to @alexandear, @scop, @howardjohn, @archanaravindar, @abbasudo,
@fatanugraha, @jayantxie and @zdyj3170101136.
2024-07-16 11:44:48 -07:00
Alessandro Arzilli
26799555e5
*: release version 1.22.1 (#3662)
Thank you @ardnew, @muggle-nil, @michaelmerg
2024-02-21 12:29:06 -08:00
Alessandro Arzilli
31a3c0de97
*: release version 1.22.0 (#3606)
Thank you @alexandear, @stefanhaller, @testwill
2023-12-29 14:48:07 -08:00
Oleksandr Redko
d6f215b27b
pkg,service: Remove redundant build constraints (#3556) 2023-11-06 16:22:50 +01:00
Alessandro Arzilli
96a6db9d36
*: release 1.21.2 (#3546)
Thank you @suzmue, @hyangah, @4a6f656c and @alexandear.
2023-10-31 10:15:52 -07:00
Oleksandr Redko
255afbfdb7
all: remove obsolete build tags "// +build" (#3513) 2023-10-03 08:50:11 -07:00
Derek Parker
2dba916a78
V1.21.1 (#3518)
Thank you to everyone who contributed to this release:

@alexsaezm, @pgavlin, @archanaravindar, @aarzilli, @hyangah, @thechampagne, @javierhonduco, @andreimatei, @gocurr, @alexandear, @stefanhaller.
2023-10-03 09:05:40 +02:00
Alessandro Arzilli
1647fa6b5e
all: Bump to v1.21.0 (#3428)
Thank you @alexandear, @chenhengqi, @cuishuang, @alexsaezm, @suzmue,
@spacewander, @ZekeLu, @fche, @andreimatei, @nozzy123nozzy
2023-06-27 09:04:52 -07:00
Derek Parker
d8ff5d1e43 v1.20.2 2023-04-05 11:25:22 +02:00
Alessandro Arzilli
8e48ad7574
*: bump to version 1.20.1 (#3213) 2022-12-12 09:21:46 -08:00
Alessandro Arzilli
f07be48220
*: CHANGELOG and bump to version 1.20.0 (#3209)
Thank you @Frederick888, @emad-elsaid, @cuiweixie, @qmuntal, @suzmue,
@cuishuang, @aviramha, @dlipovetsky, @Foxboron, @gfszr.
2022-12-08 10:34:57 -08:00
Derek Parker
d9d8f4ad8c
v1.9.1 (#3116) 2022-08-23 08:35:35 +02:00
Alessandro Arzilli
3fb2d49829
*: Bump version to 1.9.0 (#3054)
Update CHANGELOG and add Go1.19 to supported versions.
Thank you @4a6f656c, @pippolo84 and @polinasok.
2022-07-06 19:18:27 +02:00
Derek Parker
4009153466
v1.8.3 (#2990) 2022-04-26 09:33:28 +02:00
Derek Parker
22fd222c0a
*: Bump version to 1.8.2 (#2920) 2022-03-08 10:20:49 -08:00
Alessandro Arzilli
3829f4e06d
Version 1.8.1 (#2892)
Update CHANGELOG.md and version.
2022-02-07 09:53:07 -08:00
Derek Parker
38410993c9
v1.8 (#2840)
* v1.8
2021-12-23 10:25:21 -08:00
Zhaoyang
3d334e4a5b
fmt code (#2826) 2021-12-13 10:25:23 -08:00
Alessandro Arzilli
f34a1e6a5e
version: fix build version using buildInfo (#2789)
In go1.18 buildInfo will include the git revision hash, use that to fix
the Build field of Version so that it is correct even if Delve wasn't
built using make.go.
2021-11-24 13:45:28 -08:00
Derek Parker
cba1a524a8
v1.7.3 (#2796) 2021-11-17 16:33:11 +01:00
Alessandro Arzilli
c207db792a
proc,locspec: support setting breakpoints by func name on generic funcs (#2745)
* proc,locspec: support setting breakpoints by func name on generic funcs

Changes proc.Function to parse function names correctly when they
contain instantiation lists and locspec to match generic functions.

* vendor: update golang.org/x/tools

The old version of golang.org/x/tools is incompatible with the new
iexport format.
2021-10-30 11:52:26 -07:00
Derek Parker
2adb72d053
v1.7.2 (#2708)
Release v1.7.2, update CHANGELOG.
2021-09-22 21:05:04 -07:00
Derek Parker
df1108b277
*: v1.7.1 (#2662) 2021-08-18 09:08:57 +02:00
Hyang-Ah Hana Kim
26e7f67cc4
cmd/dlv: dlv version --verbose (#2615)
* cmd/dlv: dlv version --verbose

That prints out runtime/debug.BuildInfo read from the dlv binary.
Users can retrieve the same info using `go version -m <path_to_dlv>`
but I think it is convenient to have.

If dlv was built from cloned delve repo:

```
$ ./dlv version -v
Delve Debugger
Version: 1.7.0
Build: $Id: e353a65161e6ed74952b96bbb62ebfc56090832b $
Build Details: go1.16.5
 mod    github.com/go-delve/delve       (devel)
 dep    github.com/cosiner/argv v0.1.0  h1:BVDiEL32lwHukgJKP87btEPenzrrHUjajs/8yzaqcXg=
...
```

If dlv was built with `go install github.com/go-delve/delve@latest`
with go1.16+, or
`GO111MODULE=on go get github.com/go-delve/delve@latest`
from a clean main module:

```
$ ./dlv version -v
Delve Debugger
Version: 1.7.0
Build: $Id: e353a65161e6ed74952b96bbb62ebfc56090832b $
Build Details: go1.16.5
 mod    github.com/go-delve/delve       v1.7.0
 dep    github.com/cosiner/argv v0.1.0  h1:BVDiEL32lwHukgJKP87btEPenzrrHUjajs/8yzaqcXg=
...
```

* remove an accidentally added bogus test
2021-07-27 09:38:48 -07:00
Derek Parker
584191a75c
*: Release 1.7.0 (#2591) 2021-07-16 15:31:52 +02:00
Derek Parker
5dd4b7df9d all: v1.6.1 2021-05-19 09:24:05 +02:00
Alessandro Arzilli
7548542795
all: bump version and release notes (#2331)
Thank you to: @andreimatei, @hitzhangjie, @dlsniper, @nd, @polinasok,
@oxisto, @zamai, @artspb.
2021-01-28 13:42:42 -08:00
aarzilli
f7542d69fe all: bump version and release notes
Thank you to: @polinasok, @aurkenb, @pohzipohzi, @chainhelen,
@hitzhangjie, @eliben, @suzmue, @andreimatei, @aaronsky.
2020-12-09 11:38:21 +01:00
aarzilli
46731820df all: bump version and release notes
Thank you to:  @polinasok, @chainhelen, @alexsaezm, @bhcleek,
@letientai299, @gadelkareem and @b00f
2020-07-29 21:59:07 +02:00
Derek Parker
4a9b3419d1
*: v1.4.1 (#2059) 2020-05-22 20:09:01 +02:00
aarzilli
99532c405a all: bump version number and release notes
Thank you to: @stapelberg, @hengwu0, @tykcd996, @chainhelen,
@alexbrainman, @nd and @stigok.
2020-02-11 11:38:41 +01:00
Derek Parker
6c8c4508db all: Bump to v1.3.2
Thanks to everyone who contributed!
2019-10-22 18:13:41 +02:00
Derek Parker
dd3c2d63cc
all: Version 1.3.0 (#1680)
* all: Bump to v1.3.0

Add new version to CHANGELOG and update internal version.

Thank you @Ladicle, @qaisjp, @justinclift, @tschundler, @two,
@dpapastamos, @qingyunha, @rayrapetyan, @briandealwis and @msaf1980,
@jeremyfaller, @stmuk, @dr2chase, @pjot726.

* all: Add date to changelog
2019-08-27 14:40:41 -07:00
aarzilli
725411a3fa all: Bump to v1.2.0
Add new version to CHANGELOG and update internal version.

Thank you @sbromberger @chainhelen, @dishmaev, @kevin-cantwell,
@Russtopia, @slp, @zavla, @the4thamigo-uk, @altimac and
@GregorioMartinez.
2019-02-14 09:28:00 +01:00
aarzilli
9992fa83c1 all: Bump to v1.1.0
Add new version to CHANGELOG and update internal version.

Thank you @jaym, @slp, @yasushi-saito, @acshekhara1, @benc153,
@yuval-k, @functionary, @psanford @giuscri, @jsoref, @Carpetsmoker,
@PatrickSchuster, @aarzilli, @derekparker, @ramya-rao-a and @dlsniper.
2018-08-16 13:20:21 -07:00
Derek Parker
279a8a792e all: Bump to v1.0.0 (#1126)
Add new version to CHANGELOG and update internal version.
2018-02-19 21:33:47 +01:00