| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| checksums.txt | 2026-09-23 | 740 Bytes | |
| revive_darwin_arm64.tar.gz | 2026-09-23 | 4.2 MB | |
| revive_windows_386.tar.gz | 2026-09-23 | 4.6 MB | |
| revive_windows_amd64.tar.gz | 2026-09-23 | 4.7 MB | |
| revive_windows_arm64.tar.gz | 2026-09-23 | 4.2 MB | |
| revive_darwin_amd64.tar.gz | 2026-09-23 | 4.6 MB | |
| revive_linux_386.tar.gz | 2026-09-23 | 4.4 MB | |
| revive_linux_amd64.tar.gz | 2026-09-23 | 4.5 MB | |
| revive_linux_arm64.tar.gz | 2026-09-23 | 4.1 MB | |
| README.md | 2026-09-23 | 3.3 kB | |
| v1.17.0 source code.tar.gz | 2026-09-23 | 901.2 kB | |
| v1.17.0 source code.zip | 2026-09-23 | 1.2 MB | |
| Totals: 12 Items | 37.3 MB | 0 | |
What's Changed
The documentation website revive.run has been rebuilt with Hugo, replacing the Gatsby site that had served the docs since 2018 (#74). See [mgechev/revive.run#89](https://github.com/mgechev/revive.run/issues/89) by @alexandear, closes [#1647].
Features
- Add new rule
use-slices-concatby @alexandear in https://github.com/mgechev/revive/pull/1804 identical-switch-branches: addallow-identical-defaultoption by @vaibhav8a in https://github.com/mgechev/revive/pull/1779unexported-return: do not allow unexported interfaces by @tie in https://github.com/mgechev/revive/pull/1458redefines-builtin-id: reportcomparableby @dylanpulver in https://github.com/mgechev/revive/pull/1786deep-exit: improve report message by @alexandear in https://github.com/mgechev/revive/pull/1802
[!IMPORTANT]
unexported-returnandredefines-builtin-idnow report code that previous versions accepted, so existing projects may see new findings after upgrading.
Bug Fixes
redundant-test-main-exit: check only the return fromm.Runby @alexandear in https://github.com/mgechev/revive/pull/1803enforce-slice-style: suggest nil expressions by @fzlzjerry in https://github.com/mgechev/revive/pull/1790- Keep rule disabled on repeated disable directive by @alexandear in https://github.com/mgechev/revive/pull/1796
- Add missed category and
ConfigurableRuleassertion by @alexandear in https://github.com/mgechev/revive/pull/1798
Documentation
- Add release strategy by @alexandear in https://github.com/mgechev/revive/pull/1801
- Add info about website contribution by @alexandear in https://github.com/mgechev/revive/pull/1793
- Add Copilot code review instructions by @alexandear in https://github.com/mgechev/revive/pull/1797
- Update GH templates; lint nested md files by @alexandear in https://github.com/mgechev/revive/pull/1784
- Update revive docker version by @alexandear in https://github.com/mgechev/revive/pull/1782
Dependency Updates
- Update module github.com/golangci/golangci-lint/v2 to v2.13.2 by @renovate[bot] in https://github.com/mgechev/revive/pull/1787
- Update module golang.org/x/mod to v0.41.0 by @renovate[bot] in https://github.com/mgechev/revive/pull/1788
- Update module golang.org/x/tools to v0.50.0 by @renovate[bot] in https://github.com/mgechev/revive/pull/1792
- Update golang docker tag to v1.27.1 by @renovate[bot] in https://github.com/mgechev/revive/pull/1791
Chores & Internal
- Check only exported functions by @alexandear in https://github.com/mgechev/revive/pull/1795
- Keep only the error-path cases in
ruleby @alexandear in https://github.com/mgechev/revive/pull/1794 - Update AGENTS.md with Go version and starring by @alexandear in https://github.com/mgechev/revive/pull/1778
New Contributors
- @vaibhav8a made their first contribution in https://github.com/mgechev/revive/pull/1779
- @dylanpulver made their first contribution in https://github.com/mgechev/revive/pull/1786
- @fzlzjerry made their first contribution in https://github.com/mgechev/revive/pull/1790
Full Changelog: https://github.com/mgechev/revive/compare/v1.16.0...v1.17.0