diff --git a/.goreleaser.yml b/.goreleaser.yml index 4463f37c..43bc85b9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -79,7 +79,7 @@ source: name_template: '{{ .ProjectName }}-{{ .Version }}-source' brews: - - tap: + - repository: owner: golangci name: homebrew-tap folder: Formula diff --git a/CHANGELOG.md b/CHANGELOG.md index e38676e7..39de30cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,85 @@ Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) There is the most valuable changes log: +### v1.56.0 + +1. new linters + * feat: add `spancheck` linter https://github.com/jjti/go-spancheck +2. updated linters + * `depguard`: from 2.1.0 to 2.2.0 + * `exhaustive`: from 0.11.0 to 0.12.0 + * `exhaustruct`: from 3.1.0 to 3.2.0 + * `gci`: from 0.11.2 to 0.12.1 + * `ginkgolinter`: from 0.14.1 to 0.15.2 + * `go-check-sumtype`: from 0.1.3 to 0.1.4 + * `go-critic`: from 0.9.0 to 0.11.0 + * `go-errorlint`: from 1.4.5 to 1.4.8 + * `go-spancheck`: from 0.4.2 to 0.5.2 + * `goconst`: from 1.6.0 to 1.7.0 + * `godot`: from 1.4.15 to 1.4.16 + * `gofumpt`: from 0.5.0 to 0.6.0 + * `inamedparam`: from 0.1.2 to 0.1.3 + * `ineffassign`: from 0.0.0-20230610083614-0e73809eb601 to 0.1.0 + * `ireturn`: from 0.2.2 to 0.3.0 + * `misspell`: add mode option + * `musttag`: from v0.7.2 to v0.8.0 + * `paralleltest`: from 1.0.8 to 1.0.9 + * `perfsprint`: from 0.2.0 to 0.6.0 + * `protogetter`: from 0.2.3 to 0.3.4 + * `revive`: from 1.3.4 to 1.3.6 + * `sloglint`: add static-msg option + * `sloglint`: from 0.1.2 to 0.4.0 + * `testifylint`: from 0.2.3 to 1.1.0 + * `unparam`: from 20221223090309-7455f1af531d to 20240104100049-c549a3470d14 + * `whitespace`: update after moving to the `analysis` package + * `wsl`: from 3.4.0 to 4.2.0 + * `zerologlint`: from 0.1.3 to 0.1.5 +3. misc. + * Implement stats per linter with a flag + * fix: make versioning inside Docker image consistent with binaries + * fix: parse Go RC version +4. Documentation + * Add missing fields to .golangci.reference.yml + * Fix noctx description + * Improve .golangci.reference.yml defaults + * Improve typecheck FAQ + * Note that `exhaustruct` struct regular expressions are expected to match the entire `package/name/structname` + * Adjust wrapcheck ignoreSigs to new defaults + +**Important** + +`testifylint` has [breaking changes](https://github.com/Antonboom/testifylint/releases/tag/v1.0.0) about enabling/disabling checks: + +- If you were using the option `enable` with a filtered list of checks, you should either add `disable-all: true` (1) or use `disable` field (2). + + ```yml + # Example (1) + testifylint: + disable-all: true + enable: + - bool-compare + - compares + - empty + - error-is-as + - error-nil + - expected-actual + - go-require + - float-compare + - len + - nil-compare + - require-error + # - suite-dont-use-pkg + - suite-extra-assert-call + - suite-thelper + ``` + + ```yml + # Example (2) + testifylint: + disable: + - suite-dont-use-pkg + ``` + ### v1.55.2 1. updated linters diff --git a/README.md b/README.md index c3baf0df..bf93aee4 100644 --- a/README.md +++ b/README.md @@ -68,34 +68,34 @@ The Core Team has the following responsibilities:
Simon Sawert

Tam Mach

Trevor Pounds
+
Oleksandr Redko

Loong Dai
-
Kamil Samigullin

Oleg Butuzov
-
Oleksandr Redko
+
Kamil Samigullin

Sascha Grunert
+
Anton Telyshev

@iwankgb

Andrew Shannon Brown
-
Anton Telyshev

Marat Reymers

sivchari
-
Pierre Durand

Ryan Currah
-
Sebastien Rosset

@leonklingele
+
Pierre Durand
+
Sebastien Rosset

Sasha Melentyev

Patrick Ohly

Denis Tingaikin
-
David Lobe

Alexey Palazhchenko
+
David Lobe

Ville Skyttä

Duco van Amstel
-
Nishanth Shanmugham
+
Nishanth Shanmugham

Kensei Nakada

Melvin
@@ -103,164 +103,173 @@ The Core Team has the following responsibilities:
quasilyte

Denis Krivak

Alec Thomas
-
Mitsuo Heijo
+
Mitsuo HEIJO

Maik Schreiber
-
Steve Coffman

Nahshon Unna Tsameret
+
Steve Coffman
-And 440 more our team members +And 460 more our team members - + + + + + + - - - - - + - + - + - + - + + - - + + - - + + + - - - + + + + + - - - - - + + + + + + + + + - - - - - - + + + + + + - - - + + + - + - - + + - + @@ -269,7 +278,7 @@ The Core Team has the following responsibilities: - + @@ -287,9 +296,9 @@ The Core Team has the following responsibilities: - + - + @@ -297,150 +306,159 @@ The Core Team has the following responsibilities: + - + - + + - - + + + + + - - + + + + - - - - + - - - - + + + + + + - - + + + - - + + - - + + - - - - - + - - - + + + - - - - + + + + - + + + + + - - - + + + + + - + - - + + - + - - + + @@ -454,21 +472,21 @@ The Core Team has the following responsibilities: - + - - + + - + @@ -478,85 +496,85 @@ The Core Team has the following responsibilities: - + - + - + - + - - + + - + - - + + - - + - - - + + - - + + - + + + - + @@ -567,32 +585,32 @@ The Core Team has the following responsibilities: - - + + - + - - + + - + - + @@ -628,57 +646,65 @@ The Core Team has the following responsibilities: - - + + + + - - + + + + + - - + + - - + + - - + + + + + + - - +

Matouš Dzivjak

Matouš Dzivjak

Will Dixon

Mateusz Gozdek

Peter Mescalchin

Mateus Oliveira

Michael Mulligan

Nuruddin Ashr

Tom

Joe Wilner

Soichiro Kashima

Lucas Bremgartner

@alingse

Thomas

Peter Mescalchin

Oleg Kovalov

Florian Bosdorff

Kir Kolyshkin

Kir Kolyshkin

Tim Heckman

James

Colin Arnott

Anton Zinovyev

Luke T. Shumaker

Steven Hartland

Aleksey Bakin

Aleksey Bakin

Márk Sági-Kazár

Rski

Ryan Boehning

Gustavo Bazan

Eugene Simonov

Timon Wong

ferhat elmas

ferhat elmas

Nate Finch

Aliaksandr Mianzhynski

Aneesh Agrawal

Leigh McCulloch

sonatard

ZhangYunHao

Vladimir Evgrafov

Vladimir Evgrafov

gaojingyu

@odidev

Denis Limarev

NiseVoid

Christian Mehlmauer

Sean DuBois

Viktoras

Viktoras

Fabian Holler

Yifei Liu

Agniva De Sarker

Adam Shannon

Ilia Sergunin

SystemGlitch

Henrik Johansson

Florent Viel

Henrik Johansson

Florent Viel

Tom Arrell

Choko

John Starich

Koichi Shiraishi

Bart

Neha Viswanathan

Lukas Malkmus

Neha Viswanathan

Lukas Malkmus

David Braley

Vladislav Fursov

Chris Bandy

Patrick Kuca

Viacheslav Poturaev

@Abirdcfly

Catena cyber

Zik Aeroh

Catena cyber

@Abirdcfly

Hendry Wiranto

Mitar

Zik Aeroh

Paweł Żak

sylvia

Robert Liebowitz

Zeal Wierslee

Vladislav Fursov

Tim Kral

Hiroyuki Yagihashi

Robert Liebowitz

Zeal Wierslee

Tim Kral

Hiroyuki Yagihashi

Kyoh

Jiangnan Jia

Kunwardeep

Pierre R

Stephan Renatus

Martin Desrumaux

tdakkota

Ivan

Adam Jones

Carlos Henrique Guardão Gandarez

tdakkota

Carlos Henrique Guardão Gandarez

Diego Pontoriero

Daniel Helfand

Benjamin Wang

Adam Jones

Faisal Alam

Craig Silverstein

Faisal Alam

Alex Collins

Ryo Nakao

Ryan Olds

Matheus Macabu

Tommy Mühle

Sebastiaan van Stijn

Sam Zaydel

Hans Wernetti

Carlos Alexandro Becker

Carlos Alexandro Becker

@Dominik-K

Craig Silverstein

Dominik K.

Joshua Timmons

Sindre Røkenes Myren

Bartłomiej Klimczak

Fata Nugraha

M. Ángel Jimeno

Jan Oopkaup

Jan Oopkaup

Chris Drew

Teiva Harsanyi

Brian Flad

Chris Suszynski

@chenfeining

Kailun Qin

Misha Gusarov

Misha Gusarov

Ariel Mashraki

Ariel Mashraki

Shulhan

Oscar

Denis Isaev

Dreamacro

Tom Payne

@fsouza

@fsouza

Siarhei Navatski

Chris Halbert

Koya IWAMURA

Hiroki Suezawa

Lauris BH

Christoph Blecker

Mateusz Bilski

Mateusz Bilski

Jakub Chábek

Ben Ye

lufe

Jonathan Chappelow

Yuki Okushi

Yuki Okushi

hbc

WÁNG Xuěruì

WÁNG Xuěruì

Eric Wohltman

Borja Clemente

Ethan Reesor

Mattias de Zalenski

@AlduLonghi

Justin Fuller

masibw

Sonia Hamilton

@black-06

Gianguido Sorà

Derek Perkins

Derek Perkins

Oksana Grishchenko

Berezhnoy Pavel

Henry

Son Luong Ngoc

Henry

Aofei Sheng

jessetang

Maksym Pavlenko

Ivan Prisyazhnyy

Maksym Pavlenko

Ivan Prisyazhnyy

@ngehrsitz

John Reese

Matthew Gabeler-Lee

Matthew Dowdell

James Lucktaylor

Dale Hui

Ondrej Fabry

Aris Tzoumas

Gabor Javorszky

hori-ryota

Kishan B

Adam Bouqdib

Roman Chaliy

proton

Eric Jain

Ghvst Code

Son Luong Ngoc

Markus

Markus

Sebastian Spaink

Andrew Lavery

Mark Fine

Rory Prendergast

Tariq Ibrahim

Peter Štibraný

Mark Fine

Rory Prendergast

Tariq

Peter Štibraný

kaixiang zhong

@ced42

David Bariod

Stephen Benjamin

@kkHAIKE

Hsing-Yu (David) Chen

Batuhan Apaydın

Mostafa Moradian

过客龙门

Eldar Rakhimberdin

Toon Schoenmakers

Cezar Sá Espinola

Ben Paxton

Connor Adams

Draven

David Cuadrado

Max Riveiro

Martins Irbe

Yilong Li

Rodrigo Brito

@techknowlogick

takaya

Craig Furman

@ttys3

Mark Sart

Joshua Rubin

Danil Ovchinnikov

Rafael Franco

Matheus Macabu

Ksenia Rogova

Hendry Wiranto

Ksenia Rogova

Paul Vaughan

Linus Arver

Glen Mailer

Ian Howell

Chris K

Glen Mailer

Ian Howell

Chris K

Grigory Zubankov

@xxpxxxxp

subham sarkar

Ryan Leung

Donal Byrne

Yusuke Kadowaki

@CfirTsabari

Navneeth Jayendran

Donal Byrne

Yusuke Kadowaki

Olli Raula

@CfirTsabari

Jared Allard

Marko

Navneeth Jayendran

Navneeth Jayendran

Marko

Chris Lewis

Muhammad Ikhsan

Anton Braer

Jaegu Kim

Jaegoo Kim

David Gleich

yuqengo

Dejan Benedik

Craig Rodrigues

Askari

David Beitey

Dan Richelson

Denis Titusov

Terdunov Vyacheslav

Terdunov Vyacheslav

Sean Chittenden

Hui Zhu

@Harsimran1

rinsuki

Anton Antonov

@hn8

Kevin Gillette

Kevin Gillette

Milas Bowman

@credativ-dar

☃ Elliot Shepherd

@nvartolomei

Nicolae Vartolomei

Martin Etmajer

Fisher Xu

Matthew Poer

Matthew Poer

Cody Ley-Han

@darklore

@to6ka

Jonathan Wilkins

Collin Kreklow

Marcin Owsiany

C.J. Jameson

C.J. Jameson

Jacek

Stephen Brown II

Jacek

paul fisher

@ofw

Rafik Draoui

Philip Linell

Herman van Zyl

Jongwoo Han

Roman Chaliy

Yury Gargay

Yury Gargay

Ryo Sato

Eric Zimanyi

Ben Bernays

Boban Acimovic

Boban Acimovic

Viktor Alenkov

Dima

David Hill

David Hill

Troy Ronda

Andrey Grazhdankov

mfreeman451

Florian Gessner

Osamu TONOMORI

Bo Liu

Colin Arnott

Eran Levy

Roman Leventov

Hugo

Hugo

Mathias Weber

Naveen

Naveen

@maxsond

Maksim Meshkov

@raffepaffe

Abhinav Gupta

Adam Bouqdib

Brandur Leach

Michael

Evgeniy Kulikov

Chris Nesbitt-Smith

Chris Nesbitt-Smith

Daniel Caballero

Igor Zibarev

Carl Henderson

Shintaro Anazawa

Matt Braymer-Hayes

Arjen van der Ende

Pete Davison

Pete Davison

Tomas Dabasinskas

Tomas Dabašinskas

@xuri

Charl Matthee

Sriram Venkatesh

Peter Schuller

David Golub

Alexander Morozov

Alexander Morozov

Pastoh

Liam White

Alex Dupre

Juanito

Jinming Yue

@wxdao

Kévin Dunglas

Kévin Dunglas

Sijie Yang

Sijie Yang

Stephen

Thang Minh Vu

Julia Ogris

Greg Curtis

@ac-rappi

Dudás Ádám

Dudás Ádám

Abhishek | अभिषेक

Daniele

Takumasa Sakao

Takumasa Sakao

Ben Drucker

Stephen Brown II

Matthew Cobbing

@Darlez

Kirill Danshin

mook

Kyungmin Bae

Dylan Arbour

Cory Miller

Ben Brown

Dor

sink

João Freitas

nick

nick

David Bendory

@znley

Jonathan Colby

Justin Robertson

Caleb Xu

Justin Robertson

Tobias

@andreykuchin

Irina

Petr Pučil

Yuki Watanabe

Aisuko

Tung Bui (Leo)

Kunal Singh

Tung Leo

Kunal Singh

Rui Chen

Navneeth Jayendran

Alexandre Vilain

Federico Guerinoni

Federico Guerinoni

Matias Lahti

Thirukumaran Vaseeharan

Alessio Treglia

Alessio Treglia

Alay Patel

Martin Hutchinson

Emanuel Bennici

Mayo

Mayo

smantic

@connorszczepaniak-wk

Sebastian Crane

Alexander Else

@vladopajic

@oxr463

Trim21

Trim21

@oliverpool

Christian Clauss

Johanan Liebermann

Korjavin Ivan

Oleg Shparber

@kraashen

Miel Donkers

Tomi Juntunen

Miel Donkers

Ryosei Karaki

Marccio Silva

KADOTA, Kyohei

Conor Evans

Anirudh Sylendranath

@jumpeiMano

Alex Rodin

@jumpeiMano

Alex Rodin

Oliver Gugger

Bryan Andrews

Thomas Gorham

Wei Jian Gan

Tamás Gulácsi

Jack Wilsdon

Michał Suchwałko

Alexander Apalikov

Domas Tamašauskas

Stéphane Chausson

neo_sli

@srdhoni

@derekhuizhang

takaokanbe

Sean Schneeweiss

pprzekwas

madflow

Arman Tarkhanian

John Adler

@licraft2019

@mlueckest

Malte Ehrlen

@golangaccount

Tyler Dorn

Enmanuel Moreira

@eiffel-fl

Sylvain Rabot

Piotr Persona

Han Gyoung-Su

Harry Tennent

Kamyar Mirzavaziri

@w1ck3dg0ph3r

Richard Yuh

Harry Tennent

Kamyar Mirzavaziri

Thomas Bonfort

Matthieu MOREL

Egor Kovetskiy

Jared Szechy

Wilhelm Ågren
diff --git a/assets/github-action-config.json b/assets/github-action-config.json index 43dbdb5b..7685504b 100644 --- a/assets/github-action-config.json +++ b/assets/github-action-config.json @@ -1,8 +1,8 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.55.2", - "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-linux-amd64.tar.gz" + "TargetVersion": "v1.56.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.56.0/golangci-lint-1.56.0-linux-amd64.tar.gz" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions" @@ -193,6 +193,10 @@ "TargetVersion": "v1.55.2", "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-linux-amd64.tar.gz" }, + "v1.56": { + "TargetVersion": "v1.56.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.56.0/golangci-lint-1.56.0-linux-amd64.tar.gz" + }, "v1.6": { "Error": "golangci-lint version 'v1.6' isn't supported: we support only v1.14.0 and later versions" },