General changes
- When
update-repos
is invoked with-to_macro
, Gazelle will add a call to the macro and a# gazelle:repository_macro
directive to WORKSPACE if neither is present.
Go changes
- Gazelle will avoid generating duplicate
go_repository
rules when two module paths differ only in case. Thanks to @linzhp. - When deriving a repository name from an import path, all non-word characters will be replaced with underscores, not just dots and slashes. Consecutive non-word characters will be collapsed to a single underscore. Thanks to @carnott-snap.
- Imported repository rules are now sorted.