Skip to content

v2.1.0

Latest

Choose a tag to compare

@dkorunic dkorunic released this 18 Feb 12:37

Changelog

  • 11c1309 chore: Update Go toolchain to 1.26. Update deps.
  • 3c38150 chore: Add ignoreNongo flag
  • c9aa5d8 chore: More README updates.
  • 959b5e1 chore: Update tests and outputs
  • 24bcff5 chore: Update Go runtime to 1.25, update deps, language constructs and some minor bugs.
  • 3e084b0 chore: update golang.org/x/tools to v0.36.0 to resolve the build error (google#334)
  • da755f2 fix: Update README.md for go install command (google#336)
  • fe0155c doc: update install instructions for v2. (google#331)
  • d018223 Add /v2 to module and imports (google#270)
  • 706b9c6 build(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 (google#226)
  • 2afdded build(deps): bump golang.org/x/tools from 0.8.0 to 0.12.0 (google#223)
  • 9a41918 Performance Improvements (google#204)
  • 150520f add more complex e2e test (google#215)
  • 8da3933 if the same license is found in a LICENSE file twice, only return it once (google#214)
  • e41525c Upgrade dependencies including licenseclassifier/v2 (google#203)
  • f6568ae build(deps): bump golang.org/x/net from 0.5.0 to 0.9.0 (google#201)
  • 6a4c773 chore: improve check error message when license not found (google#197)
  • 21a3bee Bump golang.org/x/mod from 0.7.0 to 0.9.0 (google#188)
  • 5348b74 add .LicensePath and licenseText func to templates (google#179)
  • 0062458 Bump golang.org/x/tools from 0.3.0 to 0.5.0 (google#177)
  • 92428a6 Bump golang.org/x/net from 0.2.0 to 0.4.0 (google#172)
  • f6918ad Bump golang.org/x/tools from 0.2.0 to 0.3.0 (google#167)
  • 9dc9f21 Bump golang.org/x/mod from 0.6.0 to 0.7.0 (google#166)
  • 2b70d9c Bump golang.org/x/net from 0.1.0 to 0.2.0 (google#165)
  • 0e0ec3a Bump golang.org/x/tools from 0.1.12 to 0.2.0 (google#161)
  • 0d3b1e3 Bump golang.org/x/text from 0.3.8 to 0.4.0 (google#159)
  • e3924ce Provide an example for check command (google#162)
  • 6073243 Add include_tests flag for deps only used in tests (google#160)
  • 2a4064d Bump golang.org/x/text from 0.3.7 to 0.3.8 (google#155)
  • 3eb131b Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (google#156)
  • 5b8f2a2 Configurable check (google#150)
  • 5d4915e Added dependency version in for template rendering (google#152)
  • cac23d2 Fix stdlib detection when goroot and gopath share the same prefix (google#148)
  • 14362dc Bump k8s.io/klog/v2 from 2.80.0 to 2.80.1 (google#146)
  • f09a71a Bump k8s.io/klog/v2 from 2.70.1 to 2.80.0 (google#145)
  • 13c8b64 Switch from glog to klog (google#138)
  • 5eedde1 add report subcommand with custom templates (google#141)
  • 2aec38b Bump golang.org/x/tools from 0.1.11 to 0.1.12 (google#137)
  • 158a4c2 Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (google#136)
  • d3a8092 Bump golang.org/x/tools from 0.1.10 to 0.1.11 (google#135)
  • e69cf6e Added flags to avoid duplicate output on errors and print all forbidden licenses before exit (google#60)
  • 94bf8c3 add support for UNLICENSE file matching (google#40)
  • 5db6697 Use golang:1.18 as base image in Dockerfile (google#133)
  • 46c613a Fix stdout/stderr redirect (google#130)
  • 5b654af feat: add --ignore option (google#46)
  • 1f7f92b fix: segmentation fault panic when go modules info is missing (google#129)
  • 0b61a44 chore: simplify golangci-lint setup (google#127)
  • 889444b fix: improve error message when a proprietary license exists (google#123)
  • 95edac5 doc: Update README.md (google#124)
  • e6efe14 doc: update usages for v1.1 (google#111)
  • 427c3c9 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (google#113)
  • 97c091f chore: pin go to 1.17 to fix golangci-lint failing in 1.18 (google#121)
  • fd2d9ec Bump github.com/google/go-replayers/httpreplay from 1.0.0 to 1.1.1 (google#114)
  • cde5abb Bump golang.org/x/tools from 0.1.9 to 0.1.10 (google#115)
  • d483853 chore: address @wlynch final comments
  • b994e09 chore: simplify code
  • 35434b8 feat(v2): handle modules with replace directive
  • 8941e6b feat(v2): handle modules that vendor deps
  • 893219a test: update golden files
  • 4d7634d chore: apply feedback from @wlynch
  • 71c0676 feat(v2/csv): get license remote URLs
  • 99aa63b feat(v2/csv): use module dir as find license boundary
  • 50d4426 test: e2e test builds go-licenses in temp dir and other review comments
  • 7aba689 test: add example module with replace directive to golden tests
  • bf6d1ec test: add example module with vendored deps to golden tests
  • fc48664 test: e2e golden testing for csv command
  • ad4807b Bump github.com/golangci/golangci-lint from 1.29.0 to 1.44.2
  • 7fc86f4 Bump golang.org/x/tools from 0.1.8 to 0.1.9
  • da52830 chore: add Makefile and precommit checks
  • 3244bc6 Bump golang.org/x/tools from 0.1.5 to 0.1.8
  • e0ca1a7 move vendored package to v1 folder
  • 7a7a32a update README.md
  • ae3cfe4 rm unused functions from version
  • 4ee98c6 rm unused functions and testdata from stdlib
  • dda69a8 rm all unused functions in derrors
  • ecb551e update README.md PATENTS and LICENSE
  • fa0a6ed fix go tests
  • 6924040 rm unused functions to fix compilation and go mod tidy
  • 70d1100 update imports
  • 4eb1185 chore(v2): vendor go/pkgsite/source package and its dependencies
  • c781b42 Remove savePath before looking for packages
  • 3178385 Bump github.com/spf13/cobra from 0.0.5 to 1.3.0
  • 7dd9151 Bump github.com/google/go-cmp from 0.3.1 to 0.5.3
  • baa4dc1 fix: swapped code around to make go-licenses work better with the embed package
  • ceb2923 Upgrade to GitHub-native Dependabot
  • 3099c18 added support for licenses like LICENSE-APACHE-2.0.txt
  • 24e2421 bump license classifier which now embeds license data in the binary
  • 8751804 Add GitHub Actions CI
  • 9376cf9 Fix save file permissions.
  • 83e603e update permissions to fix google#11
  • 78e4975 bump copy dep to latest
  • ce1d916 Update licenseclassifier version to support vendoring
  • 73411c8 Detect licenses regardless of their case
  • f29a4c6 Freeze dependency with new version of "copy"
  • e4cf7a3 Use copy.Options.Skip to ignore .git directory on save
  • 40a1297 Update dependencies
  • 26faeb7 Update README
  • 0fa8c76 Detect licenses regardless of their file extension
  • 2ee7a02 Merge pull request google#14 from google/NatalieDoduc-readme
  • ce6644b Update README.md
  • 5c9bd38 Add missing newline to go-licenses check output
  • 5468dca Add tests/documentation for using tool with build tags.
  • 03ce1ab Update dependencies
  • afcf1d3 Fix README formatting (google#9)
  • 8e8d2f7 Allow multiple import paths to be passed to commands (google#6)
  • 629e99d Change "URLs will not be available" to "may not"
  • b112ec1 Add an "installation" section to README.md
  • e1225e8 Correct the tool name in README.md
  • 212ea35 Create Dockerfile for distributing the tool
  • ca58ae4 Use Go Modules
  • ddda5c1 Make findUpwards() convert dir into absolute path
  • a3b2ddb Fix testdata paths
  • 6caad97 Update imports to new location
  • 8c3e42c Add disclaimer to README.md
  • 6dee590 Format README.md
  • 4ad9cbd Add CONTRIBUTING.md and LICENSE files
  • 12d5792 Add more filenames to licenseRegexp
  • ddddb62 Use license classifier to find files containing licenses
  • 5b4a38c Do not treat a failure to identify a license as a terminal error
  • c1a533f Support LICENCE spelling. 🇬🇧
  • 6d25f93 Derive file URL from package name
  • 45b2c33 Refactor licenses/git.go
  • 8850e14 Add check command to licenses command.
  • 268734b Modify licenses tool to use "golang.org/x/tools/go/packages"
  • 0916978 Improve formatting of errors in log output from licenses csv
  • c70fe60 Parse flags that use "flag" package
  • 06ebf30 licenses.Libraries() returns the Library containing the given pkg
  • cbac3d1 Tool for identifying and complying with licenses for Go packages