-
Notifications
You must be signed in to change notification settings - Fork 10
/
ChangeLog
160 lines (130 loc) · 5.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
Version 1.14.0
--------------
* Add support for targets which provide multiple Go targets
Version 1.13.0
--------------
* Build with Go 1.23.2 to pull in new packages
Version 1.12.1
--------------
* Rename `VERSION` to `PUKU_VERSION` to allow running
`go get github.com/please-build/puku/cmd/puku@latest`
Version 1.12.0
--------------
* Set `netgo` and `osusergo` tags on the Go standard library to build puku more statically and
avoid libc dependency
Version 1.11.1
-------------
* Fix a bug causing a panic when the third party directory is misconfigured
* Add the filename to the error message seen if a puku.json file is malformed
Version 1.11.0
-------------
* Make puku rewrite build files by default, with a flag to skip rewriting
Version 1.10.0
-------------
* Adds a `puku version` command to report the version of puku that is installed.
Version 1.9.0
-------------
* `"stop": false` in a `puku.json` in a subdirectory will override a `"stop": true` in a parent
directory.
Version 1.8.1
-------------
* Puku sync will also remove `go_replace_directive` labels from any go_repo targets which don't have a replace directive in the go.mod file (#117)
Version 1.8.0
-------------
* Puku sync will now add `go_replace_directive` labels to any go_repo targets with a replace directive in the go.mod file (#114)
* Update go version from 1.21.4 to 1.22.3 (#113)
Version 1.7.2
------------
* evaluating binary expressions correctly for srcs. (#109)
Version 1.7.1
------------
* resolve deps for go_repo to subrepo targets rather than its install
(#108)
Version 1.7.0
------------
* Allow the user to specify output format when outputting to stdout on
lint, sync, migrate and licences update.
Version 1.6.2
------------
* Fix bug where we weren't recursively looking at base configs to
determine if we should stop for a directory (#104)
Version 1.6.1
------------
* Don't set visibility on deps of experimental labels (#101)
Version 1.6.0
------------
* Known kinds can now specify a srcsArg which tells puku which arg on the
build rule go srcs should be added to.
Version 1.5.1
------------
* Sync: if we encounter a replace directive where the old path and new
path are the same don't delete the target as we can just update the
version.
Version 1.5.0
------------
* Migrate: Avoid duplicating `go_repo()` targets when migrating a module where
we already have a `go_repo()` target for whatever reason (#93)
* Migrate: When migrating a `go_module()` that depends on other `go_module()`
targets, just migrate those modules as well, rather than trying to set `deps`
on `go_repo()`. The `deps` approach didn't work as well as hoped, and is not
recommended. (#94)
Version 1.4.1
------------
* Don't sync go.mod on save
Version 1.4.0
------------
* Migrate now inserts rules in the same place as the rules it's replacing (#90)
* Sync now works with multiple third party folders, only sycing modules to the
main third party build file (#89)
Version 1.3.3
------------
* Fix check for detecting if we're using go_module (#87)
Version 1.3.2
------------
* Keep the existing expressions from attribute lists where possible to avoid noise
and keep comments (#85)
Version 1.3.1
------------
* Treat paths passed as labels (e.g. `//foo/bar`) as relative to the repo root (#83)
Version 1.3.0
------------
* Allow paths passed to puku to be absolute (#82)
* Allow passing in a file instead of a dir. Puku will format the directory it's in. (#82)
* Fix issue where all paths were being considered wildcards (#82)
* Use the config of the target package when resolving dependencies for a target (#81)
Version 1.2.1
------------
* Log a warning instead of exiting when failing to set visibility on a target (#78)
* Add "C" as a known import (#77)
Version 1.2.0
------------
* Fix issue where puku would add a subinclude to third_party/go/BUILD
erroneously (#74)
* Allow users to disable the built in kinds (#69)
* Follow require/provides logic when evaluating targets (#72)
* Sanitise paths passed to puku fixing issues with stack overflows
loading config (#75)
* Limit lint fixes (e.g. list re-ordering etc.) to paths passed to puku (#71)
Version 1.1.1
------------
* Remove replace directive so `go install github.com/please-build/puku` works as
expected
Version 1.1.0
------------
* Parse the whole third party tree to find go_module rules (#56)
* Added a `licences` subcommand that can be used to update licences (#51)
* Allow `migrate` to accept modules as positional args to migrate piecemeal (#50)
Version 1.0.0
------------
* Support for `go_benchmark` (#41)
* Make `puku watch` write to file rather than stdout (#42)
* Added `puku migrate` to convert `go_module` targets to `go_repo` (#44, #48)
Version 0.2.0
------------
* Fixed some issues around resolving install lists on `go_repo` and `go_module` (#33)
* Implemented default visibility. This will be parsed out of `package()` statements
in BUILD files automatically, but rules can be configured to assume a certain
visibility. This can be useful for rules like `go_repo` that default to PUBLIC.
Version 0.1.0
------------
* Initial release