# NEWS ## 3.8.0 - 2025-09-04 - gocheck: honor `$GO_LDFLAGS` environment variable. - gobuild: don't pass -x flag (#28). - Revamp go_mod_vendor.prov to fully support replace directives and tags with dashes. Also add unit tests. - goprep: allow passing `-p1` to automatically apply patches. ## 3.7.0 - 2025-07-17 ### Added - Move upstream to Gitlab - gobuild: revert "Set _dwz_low_mem_die_limit only when a go binary is built" (contributed by Debarshi Ray). - gomodulesmode: allow setting `$GO111MODULE` by exporting it. Setting `%gomodulesmode` directly is still supported. - Allow passing arbitrary flags for the underlying commands to `%gobuild` and `%gotest`. This is an alternative to appending to the `%gobuildflags` and `%gotestflags` macros which is unintuitive and undocumented but still supported. ### Fixed - generators: fix `grep: warning: stray \ before :` in build log (#2) ### Internal (Non-user-facing changes) - Add initial unit testing framework for the macros to avoid future regressions. This is not a user facing change. ## 3.6.0 - 2024-04-13 ### Added - `go_mod_vendor.prov`: handle local replace directives ### Fixed - `rpmname`: fix use_new_versioning regex