github.com/google/addlicense
v1.2.0
#2535 most downloaded on Go modules
google/addlicense
What this package is like to depend on
Last release 9 months ago
28 Oct 2025
Ships unpredictably
gaps range from 8 days to 1.5 years
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
65 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
65 releases · Jan 2019 to Oct 2025Releases
latest 60 of 65-
v1.2.1-0.20251028185001-4529cd558fa028 Oct 2025 pre-releaseNothing published for this version
-
v1.2.1-0.20251011215030-4d548095fcf411 Oct 2025 pre-releaseNothing published for this version
-
v1.2.1-0.20250909150040-adb8c9860a0909 Sep 2025 pre-releaseNothing published for this version
-
v1.2.1-0.20250812224044-0a5f8b4e300112 Aug 2025 pre-releaseNothing published for this version
-
v1.2.016 Jul 2025Release notes
Open source →This is the first full release after a period of dormancy for the project. Support for several file types has been added, plus some internal cleanup.
What's Changed
- fix(readme): Update the docs to show current year by @xorima in #140
- Add support for TOML configuration files by @kupiakos in #144
- Support *.BUILD files by @pmeric in #145
- Adding support for the j2 format. by @sjswerdlow in #146
- feature: add pre-commit support by @Thomy90 in #138
- style: Each language in a case on its own line by @flwyd in #174
- Add Powershell Support [ps1, psm1] by @JackStuart in #165
- feat: add support for .htm files by @CalebAlbers in #121
- Fix test: expected copyright year must be 2018 by @flwyd in #178
- Upgrade GitHub workflows by @flwyd in #180
- Fix ignore on Windows by @06393993 in #157
- Add support for BUILD.bazel files by @pmeric in #151
- Add support for Rackup (.ru) config files by @CalebAlbers in #120
- Add .bash and .zsh extensions by @CalebAlbers in #122
- Add support for nix scripts by @06393993 in #156
- Reformat TestLicenseHeader to one filetype per line by @flwyd in #181
- Add AWK, Elixir, Julia, Lua, Raku, Scheme, & Vim by @flwyd in #182
- Add
.graphqlsupport by @SleepySquash in #111 - Add .less support by @gnugomez in #184
- Wrap the MIT License template to ensure the generated license fits into 80 characters by @XuehaiPan in #185
- feat(buck): add support for buck2 files (#188) by @yesudeep in #187
- Cython files Support by @Spill-Tea in #192
- Goreleaser config update by @Spill-Tea in #193
- Adding support for the gradle file extension by @tfroseman in #194
New Contributors
- @xorima made their first contribution in #140
- @kupiakos made their first contribution in #144
- @pmeric made their first contribution in #145
- @sjswerdlow made their first contribution in #146
- @Thomy90 made their first contribution in #138
- @JackStuart made their first contribution in #165
- @CalebAlbers made their first contribution in #121
- @06393993 made their first contribution in #157
- @SleepySquash made their first contribution in #111
- @gnugomez made their first contribution in #184
- @yesudeep made their first contribution in #187
- @Spill-Tea made their first contribution in #192
- @tfroseman made their first contribution in #194
Full Changelog: v1.1.1...v1.2.0
-
v1.2.0-rc0.0.20250812224044-0a5f8b4e300112 Aug 2025 pre-releaseNothing published for this version
-
v1.2.0-rc016 Jul 2025 pre-releaseRelease notes
Open source →This is the first release candidate after a period of dormancy for the project. Please test this release, particularly in automated workflows. If no issues are discovered, we plan to create a 1.2.0 release in the next couple weeks.
What's Changed
- fix(readme): Update the docs to show current year by @xorima in #140
- Add support for TOML configuration files by @kupiakos in #144
- Support *.BUILD files by @pmeric in #145
- Adding support for the j2 format. by @sjswerdlow in #146
- feature: add pre-commit support by @Thomy90 in #138
- style: Each language in a case on its own line by @flwyd in #174
- Add Powershell Support [ps1, psm1] by @JackStuart in #165
- feat: add support for .htm files by @CalebAlbers in #121
- Fix test: expected copyright year must be 2018 by @flwyd in #178
- Upgrade GitHub workflows by @flwyd in #180
- Fix ignore on Windows by @06393993 in #157
- Add support for BUILD.bazel files by @pmeric in #151
- Add support for Rackup (.ru) config files by @CalebAlbers in #120
- Add .bash and .zsh extensions by @CalebAlbers in #122
- Add support for nix scripts by @06393993 in #156
- Reformat TestLicenseHeader to one filetype per line by @flwyd in #181
- Add AWK, Elixir, Julia, Lua, Raku, Scheme, & Vim by @flwyd in #182
- Add
.graphqlsupport by @SleepySquash in #111 - Add .less support by @gnugomez in #184
- Wrap the MIT License template to ensure the generated license fits into 80 characters by @XuehaiPan in #185
- feat(buck): add support for buck2 files (#188) by @yesudeep in #187
- Cython files Support by @Spill-Tea in #192
- Goreleaser config update by @Spill-Tea in #193
- Adding support for the gradle file extension by @tfroseman in #194
New Contributors
- @xorima made their first contribution in #140
- @kupiakos made their first contribution in #144
- @pmeric made their first contribution in #145
- @sjswerdlow made their first contribution in #146
- @Thomy90 made their first contribution in #138
- @flwyd made their first contribution in #174
- @JackStuart made their first contribution in #165
- @CalebAlbers made their first contribution in #121
- @06393993 made their first contribution in #157
- @SleepySquash made their first contribution in #111
- @gnugomez made their first contribution in #184
- @yesudeep made their first contribution in #187
- @Spill-Tea made their first contribution in #192
- @tfroseman made their first contribution in #194
Full Changelog: v1.1.1...v1.2.0-rc0
-
v1.1.2-0.20250716221328-b289835c074116 Jul 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250707224305-30db631c8f3807 Jul 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250701194253-3d89fa361d3901 Jul 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250625210119-01750423748925 Jun 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250604070419-1a754c1f96a604 Jun 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250604065313-cc56a2c3518904 Jun 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250503185914-499ed7f2838903 May 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250427065755-e80cdac0d6e527 Apr 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250426065938-9f2b83a5ab7226 Apr 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20250205145713-55a521bf81c205 Feb 2025 pre-releaseNothing published for this version
-
v1.1.2-0.20230801201629-4caba19b7ed701 Aug 2023 pre-releaseNothing published for this version
-
v1.1.2-0.20230613212346-b10ac1c1284a13 Jun 2023 pre-releaseNothing published for this version
-
v1.1.2-0.20230128214028-af4d9cf5dd4128 Jan 2023 pre-releaseNothing published for this version
-
v1.1.118 Jan 2023Release notes
Open source →What's Changed
- update terraform to use hash as comment per recommended guidelines by @verbanicm in #137
- fix: fix extra spacing in Apache License template by @XuehaiPan in #135
New Contributors
- @verbanicm made their first contribution in #137
- @XuehaiPan made their first contribution in #135
Full Changelog: v1.1.0...v1.1.1
-
v1.1.1-0.20230118132711-dc31ac9ffcca18 Jan 2023 pre-releaseNothing published for this version
-
v1.1.1-0.20230116170757-cfe103d3f16a16 Jan 2023 pre-releaseNothing published for this version
-
v1.1.011 Oct 2022Release notes
Open source →What's Changed
- docs: update docker instructions to include GitHub container registry by @willnorris in #93
- docs: update go install instructions by @willnorris in #97
- Added .pl to the list of supported files by @cboneti in #98
- add support for cmake files by @willnorris in #90
- Add support for Puppet manifests by @binford2k in #92
- govet fix and bump action versions by @willnorris in #108
- Update README.md by @bryanloz-xilinx in #115
- docs: provide simple example in README by @willnorris in #118
- Only log skipped files in verbose mode by @talal in #112
- Don't render extra space when year is not set by @anuraaga in #125
- Add support for bazel BUILD files in #127
New Contributors
- @cboneti made their first contribution in #98
- @binford2k made their first contribution in #92
- @bryanloz-xilinx made their first contribution in #115
- @talal made their first contribution in #112
- @anuraaga made their first contribution in #125
Full Changelog: v1.0.0...v1.1.0
-
v1.0.1-0.20221011023007-53d978ad7e0811 Oct 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20220826150037-04bfe4ee9ca526 Aug 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20220730162150-6c3d2501f2b530 Jul 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20220722180824-d40d757b7c1022 Jul 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20220421232141-13e73a7f8fcb21 Apr 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20220420202118-758687b5e3c020 Apr 2022 pre-releaseNothing published for this version
-
v1.0.1-0.20211115155521-2b44b367595c15 Nov 2021 pre-releaseNothing published for this version
-
v1.0.1-0.20211028015101-fc41b40a66af28 Oct 2021 pre-releaseNothing published for this version
-
v1.0.1-0.20211002165731-d1984d070c4002 Oct 2021 pre-releaseNothing published for this version
-
v1.0.1-0.20210817133136-944049f284c117 Aug 2021 pre-releaseNothing published for this version
-
v1.0.014 Aug 2021Release notes
Open source →Changelog
2fe3ee9 fix: use block-style comments for java, scala, kotlin
9cc7ec3 Support WiX files
4f7a460 support ignoring file or directories
99ebc9c Update Dockerfile handling to keep parser directives at the top
5be3bee Add hcl extension
b431030 use text/template to avoid HTML escaping
058aeeb build and publish release artifacts for git tags
366936e tests: add unit tests for header and template funcs
ef04bb3 Merge pull request #82 from willnorris/docker
0f8d403 Merge pull request #81 from willnorris/actions
e596161 fix building docker image
792e7a3 migrate CI to GitHub Actions
8746277 Merge pull request #79 from willnorris/spdx
97ae522 add support for SPDX license headers
c2fdf83 refactor template parsing logic
6d92264 Merge pull request #75 from cpanato/skipfiles
ab5e2b3 skip extensions or files
a029431 Merge pull request #44 from rotemreiss/docker-support
d1655b9 Merge pull request #52 from PiotrSikora/skip_generated_bzl
73f8d3e Skip .bzl files generated by cargo raze.
6f4cd4a Merge pull request #42 from tpryan/master
38d99b7 Merge pull request #43 from TomerAberbach/master
4d786df Merge pull request #45 from fashing/master
144dc78 Merge branch 'master' into master
03fdaf6 Merge pull request #49 from ax3ghazy/master
4295bd5 Merge pull request #41 from maruel/ignored
82e1f9d Support Spanner schema and Skylark files.
a31a084 {.tcl,.v,.sv} support
952f8b4 Add Docker support.
c4cb7c1 feat: support graphviz file extension
e2ec6d0 Adding support for SCSS and Sass files.
541722a Skip generated files
df58aca Merge pull request #40 from TomerAberbach/master
3fa0684 feat: add tests for new .mjs and .cjs file extensions
9f75d2b feat: support .mjs and .cjs javascript file extensions
68a83ed Merge pull request #35 from YangjingZhou/master
474f49e Merge pull request #37 from timothyclifford/add-mpl-support
fb22319 add support for MPL license
d5a1286 feat:add filetype vue
7c013a1 Merge pull request #33 from leilee/master
9db1a20 Fix typo
20ee99f Update .php handling to keep <?php at the top
3db4982 Merge pull request #29 from mithun/issue-28
27146d5 Implement-checkflag
c464135 replace WaitGroup with errgroup to allow error handling and propagation
9fa18aa Merge pull request #25 from tweksteen/add_verbose
fd1a812 Add verbose option to print filename when modified
c6b7f1e Merge pull request #23 from frankfarzan/master
d70fc55 Support TypeScript files
be12574 Merge pull request #22 from ale64bit/master
0df0829 Add OCaml files to list of accepted extensions
22550fa Merge pull request #21 from mjduijn/master
ba3f334 Add kotlin files to list of accepted extensions
2e5cf00 Merge pull request #20 from google/multiyear
f6c8b89 Switch year arg from int to string
b4fa55f Merge pull request #19 from mbrukman/patch-1
1f3818b Fix default flag values in README.md
7af3504 Merge pull request #15 from thefirstofthe300/master
76290e6 Update README with usage information for custom license file
66fdaac Update test data licenses to use the current year and copyright holder
12f1013 Add support for several other file types
84b339f Add Travis CI integration
18b69d7 Merge pull request #16 from kant/patch-1
0b49fe2 Internal links fixed
1e1ee45 Merge pull request #14 from jmccann/custom-license-picked
8bc5e5f print error in default format
ee88519 print error in default format
9772e39 update error prefix
c63d25f custom license from file
486fb58 Merge pull request #13 from benma/master
30bcbce add .jsx, .tsx files
f9cb8b9 Merge pull request #12 from google/xml-html
95943e3 Merge pull request #11 from google/trim-space
071b332 Better support for XML and HTML
6f62118 Trim trailing whitespace
fbdca00 Removed unused CI config
92fecad readme: Google Inc. => LLC
b262c7e Add BSD license type to the usage in readme
a97ed93 Merge pull request #8 from morgante/support_tf
2c0d0d6 Merge pull request #9 from morgante/change_default_name
8381c80 Merge pull request #7 from wzshiming/dev
807bf14 Change default copyright holder to Google LLC
7685276 Add support for Terraform files
4f64a1c Added support for sql files
6709751 Merge pull request #3 from InfoSec812/support-yaml-files
0194eb2 Merge pull request #2 from bradrydzewski/bsd
5c63b45 Added support for YAML files with extensions of YML and YAML
40c31bd added bsd license header
04bf3e3 hook up CI
6631c26 initial import -
v0.0.0-20230801201629-4caba19b7ed701 Aug 2023 pre-releaseNothing published for this version
-
v0.0.0-20221011023007-53d978ad7e0811 Oct 2022 pre-releaseNothing published for this version
-
v0.0.0-20220826150037-04bfe4ee9ca526 Aug 2022 pre-releaseNothing published for this version
-
v0.0.0-20210814210922-2fe3ee94479d14 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210810170408-9cc7ec3e36ab10 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210809195240-d43bb61fdfda09 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210809195007-99ebc9c9db7b09 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210809183620-b431030b15aa09 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210729153508-ef04bb38a16b29 Jul 2021 pre-releaseNothing published for this version
-
v0.0.0-20210729063833-0f8d403905f529 Jul 2021 pre-releaseNothing published for this version
-
v0.0.0-20210728062545-e59616150a4528 Jul 2021 pre-releaseNothing published for this version
-
v0.0.0-20210727174409-874627749a4627 Jul 2021 pre-releaseNothing published for this version
-
v0.0.0-20210428195630-6d92264d717028 Apr 2021 pre-releaseNothing published for this version
-
v0.0.0-20200906110928-a0294312aa7606 Sep 2020 pre-releaseNothing published for this version
-
v0.0.0-20200827091314-d1655b92136827 Aug 2020 pre-releaseNothing published for this version
-
v0.0.0-20200817051935-6f4cd4aacc8917 Aug 2020 pre-releaseNothing published for this version
-
v0.0.0-20200815122332-4295bd52e3cf15 Aug 2020 pre-releaseNothing published for this version
-
v0.0.0-20200622132530-df58acafd6d522 Jun 2020 pre-releaseNothing published for this version
-
v0.0.0-20200426004744-3fa068400f7626 Apr 2020 pre-releaseNothing published for this version
-
v0.0.0-20200422172452-68a83edd47bc22 Apr 2020 pre-releaseNothing published for this version
-
v0.0.0-20200414192033-fb22319bcc1c14 Apr 2020 pre-releaseNothing published for this version
-
v0.0.0-20200301095109-7c013a14f2e201 Mar 2020 pre-releaseNothing published for this version
-
v0.0.0-20200222194535-20ee99ff6ab822 Feb 2020 pre-releaseNothing published for this version
-
v0.0.0-20200222095626-3db498291d6d22 Feb 2020 pre-releaseNothing published for this version
-
v0.0.0-20200109101052-9fa18aaf59fb09 Jan 2020 pre-releaseNothing published for this version