Changes
importmap
is now a mergeable attribute. This means Gazelle may now replace
existingimportmap
attributes if they are not marked with a# keep
comment.gazelle fix
no longer removesimportpath
attributes ongo_binary
andgo_test
rules. These attributes are no longer deprecated. The rules
are still not importable, but the paths are useful forgo_path
and
other rules.- Go imports of proto Well Known Types are now resolved to rules in
@io_bazel_rules_go//proto/wkt
. This partially worked before, but several
packages weren't handled correctly.
Notes
- rules_go will soon stop declaring the
@bazel_gazelle
repository, probably
in the next rules_go major release. If you aren't explicitly declaring
@bazel_gazelle
in your WORKSPACE, following the template at
Running Gazelle with Bazel, you may want to migrate soon.