diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c25ca5..81f6e4de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,75 @@ Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci). There is the most valuable changes log: +### v1.54.0 + +1. updated linters: + * `decorder`: from 0.2.3 to 0.4.0 + * `dupword`: from 0.0.11 to 0.0.12 + * `errorlint`: from 1.4.2 to 1.4.3 + * `exhaustruct`: from 2.3.0 to 3.1.0 + * `forbidigo`: from 1.5.3 to 1.6.0 + * `funlen`: from 0.0.3 to 0.1.0 + * `gci`: from 0.10.1 to 0.11.0 + * `ginkgolinter`: from 0.12.1 to 0.13.3 + * `go-critic`: from 0.8.1 to 0.8.2 + * `go-errorlint`: from 1.4.2 to 1.4.3 + * `go-exhaustruct`: from 2.3.0 to 3.1.0 + * `gocognit`: from 1.0.6 to 1.0.7 + * `gocritic`: from 0.8.1 to 0.8.2 + * `gofmt`: autofix missing newline at EOF + * `misspell`: 0.4.0 to 0.4.1 + * `musttag`: from 0.7.0 to 0.7.1 + * `paralleltest`: from 1.0.7 to 1.0.8 + * `tagalign`: from 1.2.2 to 1.3.2 + * `typecheck`: explain it and remove it from the linter list + * `zerologlint`: from 0.1.2 to 0.1.3 +2. misc. + * 🎉 go1.21 support + * plugin: include custom linters in `enable-all` + * plugin: allow to use settings for plugins +3. Documentation + * Add linter descriptions. + +#### Important + +`ruleguard` (a "rule" inside `gocritic`) is disabled, only with go1.21, due to a bug of `ruleguard` + +The Go version should be 1.21 inside `go.mod` or be defined inside the `run` section: + +
go.mod + +```go +module your/module/name + +go 1.21 + +// ... + +``` + +
+ +
.golangci.yml + +```yml +run: + go: '1.21' +``` + +
+ +
CLI flags + +```bash +--go=1.21 +``` + +
+ + +You can follow this topic by subscribing to the [issue #3933](https://github.com/golangci/golangci-lint/issues/3933). + ### v1.53.3 1. updated linters: diff --git a/README.md b/README.md index 1c0b366e..1fe2b3fa 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ The Core Team has the following responsibilities: - + @@ -79,14 +79,14 @@ The Core Team has the following responsibilities: - + - + @@ -106,20 +106,20 @@ The Core Team has the following responsibilities: - +

Ludovic Fernandez

Ludovic Fernandez

Denis Isaev

Aleksandr Razumov

Andrew Shannon Brown

@golangci-releaser

Marat Reymers

sivchari

sivchari

Pierre Durand

Ryan Currah

Sebastien Rosset

@leonklingele

Sasha Melentyev

Sasha Melentyev

Anton Telyshev

Denis Tingaikin

Maik Schreiber

Steve Coffman

Mitsuo Heijo

Matouš Dzivjak

Nahshon Unna Tsameret
-And 417 more our team members +And 429 more our team members + - @@ -127,33 +127,33 @@ The Core Team has the following responsibilities: + - - + + - - + + - + - - + - + - + @@ -170,303 +170,312 @@ The Core Team has the following responsibilities: + + + + + - - - + + + - - - + + - - - - - + + - + - + - + - + - + + + + + - - + + - - - - - + + - - + + - - + + + + + - - + + - - - - - + + + + + - - - - - + + + + + - - + + - - + + - - - - - - + + + + + + + - - + + + - - + + - - - - - - - + + + + + + + - - + + - - + + - - + + - - - + + + - - + + - - + + + + - + @@ -475,7 +484,7 @@ The Core Team has the following responsibilities: - + @@ -514,7 +523,7 @@ The Core Team has the following responsibilities: - + @@ -543,111 +552,118 @@ The Core Team has the following responsibilities: + - + + + + + - - + + - - - + + + - - + + - - + + - - + + - - - + - - - + + - - + + - - + + - - + + - - + + + + + + + diff --git a/assets/github-action-config.json b/assets/github-action-config.json index aa6a3750..9aeb47c8 100644 --- a/assets/github-action-config.json +++ b/assets/github-action-config.json @@ -1,8 +1,8 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.53.3", - "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.53.3/golangci-lint-1.53.3-linux-amd64.tar.gz" + "TargetVersion": "v1.54.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.0/golangci-lint-1.54.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" @@ -185,6 +185,10 @@ "TargetVersion": "v1.53.3", "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.53.3/golangci-lint-1.53.3-linux-amd64.tar.gz" }, + "v1.54": { + "TargetVersion": "v1.54.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.0/golangci-lint-1.54.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" }, diff --git a/docs/template_data.state b/docs/template_data.state index a44026aa..48ee025d 100755 --- a/docs/template_data.state +++ b/docs/template_data.state @@ -1,2 +1,2 @@ This file stores hash of website templates to trigger Netlify rebuild when something changes, e.g. new linter is added. -d3c90b6991db0ac1ffadfe531526f8cc8556d6c7dc9701cd263b555709fa26a1 \ No newline at end of file +f6953a1ec4b7ec950c7647d8963d75b81a1472cfd3cca4580f031a692e13680b \ No newline at end of file

Matouš Dzivjak

Ville Skyttä

Will Dixon

Mateusz Gozdek

Michael Mulligan

Nahshon Unna Tsameret

Nuruddin Ashr

Joe Wilner

Soichiro Kashima

Peter Mescalchin

Lucas Bremgartner

Florian Bosdorff

Kir Kolyshkin

@alingse

Tim Heckman

Oleg Kovalov

Tim Heckman

Oleg Kovalov

James

Colin Arnott

Anton Zinovyev

Luke Shumaker

Anton Zinovyev

Luke T. Shumaker

Aleksey Bakin

Márk Sági-Kazár

Florian Bosdorff

Rski

Ryan Boehning

Gustavo Bazan

Eugene Simonov

Rski

Steven Hartland

Timon Wong

Aliaksandr Mianzhynski

Nate Finch

Nate Finch

Aliaksandr Mianzhynski

ferhat elmas

Leigh McCulloch

Leigh McCulloch

Tom

sonatard

ZhangYunHao

Viktoras

Fabian Holler

Yifei Liu

Agniva De Sarker

Adam Shannon

SystemGlitch

Henrik Johansson

Tom Arrell

Choko

John Starich

Adam Shannon

Koichi Shiraishi

Bart

Neha Viswanathan

Florent Viel

Lukas Malkmus

David Braley

Chris Bandy

Patrick Kuca

Viacheslav Poturaev

Florent Viel

Zik Aeroh

sylvia

Robert Liebowitz

Zeal Wierslee

Tim Kral

Hiroyuki Yagihashi

@kyoh86

Yifei Liu

Hiroyuki Yagihashi

Kyoh

Jiangnan Jia

Kunwardeep

Pierre R

Pierre R

Martin Desrumaux

Stephan Renatus

Ivan

tdakkota

Carlos Henrique Guardão Gandarez

Diego Pontoriero

Daniel Helfand

Daniel Helfand

Benjamin Wang

Adam Jones

Faisal Alam

Alex Collins

Ryo Nakao

Ryan Olds

Tommy Mühle

Tommy Mühle

Sebastiaan van Stijn

Sam Zaydel

Carlos Alexandro Becker

@Dominik-K

Craig Silverstein

Sindre Røkenes Myren

Bartłomiej Klimczak

Bartłomiej Klimczak

M. Ángel Jimeno

Jan Oopkaup

Chris Drew

Teiva Harsanyi

Brian Flad

Chris Suszynski

Kailun Qin

@chenfeining

Kailun Qin

Misha Gusarov

@Abirdcfly

Ariel Mashraki

Shulhan

Oscar

Denis Isaev

Dreamacro

Tom Payne

@fsouza

Koya IWAMURA

Hiroki Suezawa

Lauris BH

Sean McGinnis

Fabrice

Christoph Blecker

Mateusz Bilski

Jakub Chábek

Ben Ye

lufe

@sg0hsmt

Misha Gusarov

Stephanie Wilde-Hobbs

@sg0hsmt

Stephanie Wilde-Hobbs

Cory LaNou

Vitaly Isaev

Pete Wagner

Renato Suero

Buyanov Vladimir

Sven Anderson

Ben Wells

Sven Anderson

Ben Wells

Jonathan Chappelow

Siarhei Navatski

Yuki Okushi

hbc

WÁNG Xuěruì

Eric Wohltman

Borja Clemente

Eric Wohltman

Borja Clemente

Ethan Reesor

Mattias de Zalenski

@AlduLonghi

masibw

Sonia Hamilton

@black-06

Gianguido Sorà

Derek Perkins

Oksana Grishchenko

Berezhnoy Pavel

Henry

Aofei Sheng

jessetang

Maksym Pavlenko

Ivan Prisyazhnyy

@ngehrsitz

John Reese

Matthew Gabeler-Lee

James Lucktaylor

Dale Hui

Ondrej Fabry

Aris Tzoumas

Dale Hui

Ondrej Fabry

Aris Tzoumas

Gabor Javorszky

hori-ryota

Kishan B

proton

Eric Jain

Ghvst Code

Son Luong Ngoc

Markus

Sebastian Spaink

Andrew Lavery

Mark Fine

Rory Prendergast

Tariq Ibrahim

Peter Štibraný

Rory Prendergast

Tariq Ibrahim

Peter Štibraný

kaixiang zhong

@ced42

David Bariod

Stephen Benjamin

@kkHAIKE

Hsing-Yu (David) Chen

Batuhan Apaydın

过客龙门

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

Paul Vaughan

Joshua Rubin

Danil Ovchinnikov

Rafael Franco

Ksenia Rogova

Paul Vaughan

Linus Arver

Glen Mailer

Ian Howell

Chris K

Grigory Zubankov

@xxpxxxxp

subham sarkar

Ryan Leung

Donal Byrne

Yusuke Kadowaki

@ImprintNav

Jared Allard

Marko

Chris Lewis

Muhammad Ikhsan

Anton Braer

Jaegu Kim

David Gleich

Fata Nugraha

mattu

Dan Richelson

Denis Titusov

Terdunov Vyacheslav

Sean Chittenden

Hui Zhu

@Harsimran1

rinsuki

Anton Antonov

@hn8

Hui Zhu

@Harsimran1

rinsuki

Anton Antonov

@hn8

Kevin Gillette

Milas Bowman

@credativ-dar

☃ Elliot Shepherd

@nvartolomei

Martin Etmajer

Fisher Xu

Matthew Poer

Cody Ley-Han

@darklore

@to6ka

@evalexpr

Collin Kreklow

Marcin Owsiany

C.J. Jameson

Jacek

paul fisher

@ofw

Rafik Draoui

Miles Delahunty

Anton Kachurin

Nico Ismaili

Benjamin Kane

@trajan0x

Philip Linell

Herman van Zyl

Jongwoo Han

Chaliy Roman Aleksandrovich

Ryo Sato

Eric Zimanyi

@bbernays

Ben Bernays

Boban Acimovic

Viktor Alenkov

Dima

David Hill

Troy Ronda

Florian Gessner

Osamu TONOMORI

Bo Liu

Steven Allen

Colin Arnott

Eran Levy

Roman Leventov

Hugo

Mathias Weber

Naveen

@maxsond

Maksim Meshkov

@raffepaffe

Dejan Benedik

Adam Bouqdib

Adam Bouqdib

Brandur Leach

Michael

Evgeniy Kulikov

Chris Nesbitt-Smith

Carl Henderson

Shintaro Ikeda

Shintaro Anazawa

Matt Braymer-Hayes

Arjen van der Ende

David Beitey

Takumasa Sakao

Ben Drucker

Stephen Brown II

Matthew Cobbing

Matthew Cobbing

@Darlez

Kirill Danshin

mook

Daniil Suvorov

Yuki Watanabe

Aisuko

Tung Bui (Leo)

Alexandre Vilain

Matias Lahti

Federico Guerinoni

Matias Lahti

Thirukumaran Vaseeharan

Matheus Macabu

Alessio Treglia

Alay Patel

Martin Hutchinson

Emanuel Bennici

Mayo

smantic

@connorszczepaniak-wk

Sebastian Crane

Alexander Else

@vladopajic

Lucas Ramage

Trim21

Catena cyber

Dejan Benedik

@CfirTsabari

Christian Clauss

Johanan Liebermann

Korjavin Ivan

Eng Zer Jun

Mateus Esdras

Devin Gunay

Hilário Coelho

Thomas Cave

Tibo Delor

@chainchad

Francois Parquet

Robert Kopaczewski

Marc Tudurí

@opennota

@pohang

Cyrille Meichel

neglect-yp

Felix

Adrien

Joe Bergevin

Axetroy

Guillaume JG

cnmade

Evan Cordell

靳灿奇

Nassos Kat

hitzhangjie

Matheus Macabu

Jesse Donat

Abhinav Gupta

KADOTA, Kyohei

Conor Evans

Anirudh Sylendranath

@jumpeiMano

Federico Guerinoni

Anirudh Sylendranath

@jumpeiMano

Alex Rodin

Oliver Gugger

Bryan Andrews

Wei Jian Gan

Tamás Gulácsi

Jack Wilsdon

Michał Suchwałko

Jack Wilsdon

Michał Suchwałko

Alexander Apalikov

Domas Tamašauskas

Stéphane Chausson

neo_sli

@srdhoni

@derekhuizhang

takaokanbe

@derekhuizhang

takaokanbe

Sean Schneeweiss

pprzekwas

@madflow

Arman Tarkhanian

John Adler

@licraft2019

@mlueckest

@licraft2019

@mlueckest

Malte Ehrlen

@golangaccount

Tyler Dorn

Enmanuel Moreira

@eiffel-fl

Sylvain Rabot

Piotr Persona

Sylvain Rabot

Piotr Persona

Han Gyoung-Su

Harry Tennent

Kamyar Mirzavaziri

Thomas Bonfort

Matthieu MOREL

Egor Kovetskiy

Jared Szechy