UNPKG

17 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/)
6and this project adheres to [Semantic Versioning](http://semver.org/).
7
8## [Unreleased](https://github.com/atomist/sdm-core/compare/1.8.0...HEAD)
9
10### Added
11
12- Updates to goal planning and scheduling. [#216](https://github.com/atomist/sdm-core/issues/216)
13- YAML goal set specification. [#216](https://github.com/atomist/sdm-core/issues/216)
14- Add placeholder replacement in cache classifier. [#219](https://github.com/atomist/sdm-core/issues/219)
15- Allow goal planning contribute to goal caches. [#220](https://github.com/atomist/sdm-core/issues/220)
16- Split out goal planning and goal execution. [#215](https://github.com/atomist/sdm-core/issues/215)
17- Provide more context when requiring fails. [#224](https://github.com/atomist/sdm-core/issues/224)
18- Add goal to fulfill scheduled container goals. [#231](https://github.com/atomist/sdm-core/issues/231)
19
20### Changed
21
22- Scope cache by workspace. [#222](https://github.com/atomist/sdm-core/issues/222)
23- Move to using GraphQL mutations for SdmGoal and SdmGoalSet. [#226](https://github.com/atomist/sdm-core/issues/226)
24- Better YAML format. [#227](https://github.com/atomist/sdm-core/issues/227)
25- Merge pod affinity rather than overwrite. [#229](https://github.com/atomist/sdm-core/issues/229)
26- Prepare for GCF to k8s goal scheduling. [#230](https://github.com/atomist/sdm-core/issues/230)
27- Have beforeCreation return job spec. [#234](https://github.com/atomist/sdm-core/issues/234)
28
29### Fixed
30
31- Dynamic goals don't carry forward preConditions. [#786](https://github.com/atomist/sdm-core/issues/786)
32
33## [1.8.0](https://github.com/atomist/sdm-core/compare/1.7.0...1.8.0) - 2019-12-06
34
35### Added
36
37- Add type for configure argument. [#199](https://github.com/atomist/sdm-core/issues/199)
38- Introduce universal generators. [#200](https://github.com/atomist/sdm-core/issues/200)
39
40### Changed
41
42- Make output less verbose during development. [#198](https://github.com/atomist/sdm-core/issues/198)
43- Use git to tag. [#205](https://github.com/atomist/sdm-core/issues/205)
44- Do not close progress log if goal not complete. [#209](https://github.com/atomist/sdm-core/issues/209)
45
46### Fixed
47
48- Respect exit status of compressing cache operations. [f8e2585](https://github.com/atomist/sdm-core/commit/f8e2585cc1ef93d80dbb41d10dc7eb174daa5ba2)
49- Use more complete SDM container spec for init. [a3782e4](https://github.com/atomist/sdm-core/commit/a3782e4dc4c6a50994ada048accb4a7b3d1f8452)
50
51## [1.7.0](https://github.com/atomist/sdm-core/compare/1.6.1...1.7.0) - 2019-09-09
52
53### Added
54
55- Cancel in process goals after a timeout. [7cce199](https://github.com/atomist/sdm-core/commit/7cce199a377864e2c27c075f1161bd051208b06e)
56- Improve goal normalization for signing. [#188](https://github.com/atomist/sdm-core/issues/188)
57
58### Changed
59
60- Upgrade to graphql-codegen version 1.7.1. [#191](https://github.com/atomist/sdm-core/issues/191)
61
62### Deprecated
63
64- Deprecated AllGoals in favor of DeliveryGoals. [3a5d597](https://github.com/atomist/sdm-core/commit/3a5d597f4b0caea7a1bcd73daf034c4b68a5cf8b)
65
66## [1.6.1](https://github.com/atomist/sdm-core/compare/1.6.0...1.6.1) - 2019-07-11
67
68### Changed
69
70- Update dependencies. [43c04d2](https://github.com/atomist/sdm-core/commit/43c04d212daa40b19d6672b560007fa0438e4aa0)
71
72## [1.6.0](https://github.com/atomist/sdm-core/compare/1.5.2...1.6.0) - 2019-07-09
73
74### Added
75
76- Add support for scheduling commands as Jobs. [#172](https://github.com/atomist/sdm-core/issues/172)
77- Add invokeCommand method. [6581460](https://github.com/atomist/sdm-core/commit/6581460df84ba5b415071752ea0aa8078aba532d)
78- Implement container-based job goal. [#162](https://github.com/atomist/sdm-core/issues/162)
79- Introduce `createGoals` on SDM. [#183](https://github.com/atomist/sdm-core/issues/183)
80
81### Changed
82
83- Always send closed flag and add timeout. [#184](https://github.com/atomist/sdm-core/issues/184)
84
85### Fixed
86
87- `ProgressLog` is not populated for code transforms. [#163](https://github.com/atomist/sdm-core/issues/163)
88
89## [1.5.2](https://github.com/atomist/sdm-core/compare/1.5.1...1.5.2) - 2019-06-04
90
91### Fixed
92
93- Pin moment-duration-format to 2.2.2 to fix logging. [8d0dd38](https://github.com/atomist/sdm-core/commit/8d0dd38fd88bb4d6db3fdc0536f81a2248d3746d)
94
95## [1.5.1](https://github.com/atomist/sdm-core/compare/1.5.0...1.5.1) - 2019-06-04
96
97### Changed
98
99- Reorder token resolution. [#149](https://github.com/atomist/sdm-core/issues/149)
100- Differentiate between goal and handler results. [#159](https://github.com/atomist/sdm-core/issues/159)
101- Update dependencies.
102
103### Fixed
104
105- Replace process.exit with safeExit. [#155](https://github.com/atomist/sdm-core/issues/155)
106- Correctly filter out undesired event handlers in single goal mode. [176986c](https://github.com/atomist/sdm-core/commit/176986c6e9d2955c2feb9c6ad69a226f9c1f2b98)
107- Correctly assign operationName for single goal execution. [cb6f693](https://github.com/atomist/sdm-core/commit/cb6f693e25dcfdde9cd9268d2f69ea4b9f4fc75d)
108- Always exit with 0. [e5dfdd2](https://github.com/atomist/sdm-core/commit/e5dfdd204e2e3f215d4de27556578a850ff8ea3f)
109- Add in backoffLimit to k8s job spec. [4064863](https://github.com/atomist/sdm-core/commit/40648634c1a2e3d35e6c67262f44c02d35129ddf)
110
111## [1.5.0](https://github.com/atomist/sdm-core/compare/1.4.0...1.5.0) - 2019-05-27
112
113### Added
114
115- Artifact caching. [#110](https://github.com/atomist/sdm-core/issues/110)
116- Enable multiple cache miss listeners and add a no-op cache. [#122](https://github.com/atomist/sdm-core/issues/122)
117- Add support for sending notifications on certain goal states. [#133](https://github.com/atomist/sdm-core/issues/133)
118- Support for goal contributions as data. [#146](https://github.com/atomist/sdm-core/issues/146)
119- Add delete and list to PreferenceStore api. [50c8c96](https://github.com/atomist/sdm-core/commit/50c8c9662cc8403b31cdd782a500ebbff7040511)
120
121### Changed
122
123- Caching can now also handle complete directories. [#125](https://github.com/atomist/sdm-core/issues/125)
124- Enforced sdm local cache path on FileSystemGoalCache. [#130](https://github.com/atomist/sdm-core/issues/130)
125- Make tests safer, eliminate some axios use. [#134](https://github.com/atomist/sdm-core/issues/134)
126- Change rolar default buffer and flush settings. [904a94f](https://github.com/atomist/sdm-core/commit/904a94f088acedbc850552277d1bc46d633c576b)
127- Use configuration for rolar setup. [08436e8](https://github.com/atomist/sdm-core/commit/08436e84cdc554dcd95cf4568b5e6d6df9c0ea6c)
128- Deprecates deployer and artifact usage. [#147](https://github.com/atomist/sdm-core/issues/147)
129- Switch over to TeamConfiguration for sdm preferences. [#140](https://github.com/atomist/sdm-core/issues/140)
130
131### Deprecated
132
133- Deprecates deployer and artifact usage. [#147](https://github.com/atomist/sdm-core/issues/147)
134- Switch over to TeamConfiguration for sdm preferences. [#140](https://github.com/atomist/sdm-core/issues/140)
135
136## [1.4.0](https://github.com/atomist/sdm-core/compare/1.3.1...1.4.0) - 2019-04-01
137
138### Changed
139
140- Update deps and version. [97c8365](https://github.com/atomist/sdm-core/commit/97c8365a288f8f984ad11487d72d5910c5e71812)
141
142### Fixed
143
144- Fix issue when no verification keys are configured. [ed6628c](https://github.com/atomist/sdm-core/commit/ed6628c489cfac9e03f83a38d4290b6875ed8e25)
145
146## [1.3.1](https://github.com/atomist/sdm-core/compare/1.3.0...1.3.1) - 2019-03-29
147
148### Changed
149
150- Update k8s client. [#116](https://github.com/atomist/sdm-core/issues/116)
151- Use apiKey to query for isolated SDM goal. [#117](https://github.com/atomist/sdm-core/issues/117)
152
153### Fixed
154
155- Goals that shouldn't be canceled get canceled. [#111](https://github.com/atomist/sdm-core/issues/111)
156
157## [1.3.0](https://github.com/atomist/sdm-core/compare/1.2.0...1.3.0) - 2019-03-14
158
159### Added
160
161- Add PreferenceStore implementations. [#93](https://github.com/atomist/sdm-core/issues/93)
162- Support parameter prompting from command listeners. [#95](https://github.com/atomist/sdm-core/issues/95)
163- Introduce goal signing and verification. [#100](https://github.com/atomist/sdm-core/issues/100)
164- Use a declared type for the configuration. [#101](https://github.com/atomist/sdm-core/issues/101)
165
166### Changed
167
168- Make K8 goal scheduling more extensible. [#90](https://github.com/atomist/sdm-core/issues/90)
169- Move k8s goal launching into extension pack. [ccb6fbc](https://github.com/atomist/sdm-core/commit/ccb6fbcb0be52a7267936344a452c7b48703ac1b)
170- Only one worker for goal jobs. [119fea6](https://github.com/atomist/sdm-core/commit/119fea6022229389069f26c68475b34decf9447c)
171- Remove axios use in postWebhook. [#107](https://github.com/atomist/sdm-core/issues/107)
172
173## [1.2.0](https://github.com/atomist/sdm-core/compare/1.1.0...1.2.0) - 2018-12-27
174
175### Added
176
177- Add command to cancel in process goal set. [04e8484](https://github.com/atomist/sdm-core/commit/04e84846100aab4fcc1037613a520bd5b8672f8b)
178
179### Changed
180
181- Move rolar log to use HttpClient and factory. [#87](https://github.com/atomist/sdm-core/issues/87)
182
183## [1.1.0](https://github.com/atomist/sdm-core/compare/1.0.2...1.1.0) - 2018-12-08
184
185### Added
186
187- Add support canceling goals. [#80](https://github.com/atomist/sdm-core/issues/80)
188- Add Gitlab support. [#81](https://github.com/atomist/sdm-core/issues/81)
189
190## [1.0.2](https://github.com/atomist/sdm-core/compare/1.0.1...1.0.2) - 2018-11-09
191
192### Fixed
193
194- Don't attempt to update GitHub status when running in local mode
195
196## [1.0.1](https://github.com/atomist/sdm-core/compare/1.0.0...1.0.1) - 2018-11-09
197
198## [1.0.0](https://github.com/atomist/sdm-core/compare/1.0.0-RC.2...1.0.0) - 2018-11-09
199
200### Added
201
202- Use incoming event and command to retrieve token. [bcbc3b0](https://github.com/atomist/sdm-core/commit/bcbc3b033027aa79413d87b7d038ac729c7de4d6)
203
204### Fixed
205
206- `GoalAutomationEventListener` always uses prod GraphQL urls. [#79](https://github.com/atomist/sdm-core/issues/79)
207
208## [1.0.0-RC.2](https://github.com/atomist/sdm-core/compare/1.0.0-RC.1...1.0.0-RC.2) - 2018-10-30
209
210### Added
211
212- Add ConfigurationBackedCredentialsResolver. [c1caf1a](https://github.com/atomist/sdm-core/commit/c1caf1a48a57e1903626993a719b1752918fb053)
213
214### Changed
215
216- Don't approve goal if there are no success votes and only abstain. [#73](https://github.com/atomist/sdm-core/issues/73)
217- Move goals into subscription. [#75](https://github.com/atomist/sdm-core/issues/75)
218- Add commit-images link to GraphQL. [#77](https://github.com/atomist/sdm-core/issues/77)
219
220### Fixed
221
222- Set goal state command doesn't get goals for multiple goal sets correct. [#76](https://github.com/atomist/sdm-core/issues/76)
223
224## [1.0.0-RC.1](https://github.com/atomist/sdm-core/compare/1.0.0-M.5...1.0.0-RC.1) - 2018-10-15
225
226### Changed
227
228- **BREAKING** Remove Builder indirection. [#68](https://github.com/atomist/sdm-core/issues/68)
229
230### Removed
231
232- **BREAKING** Remove well known goals. [#67](https://github.com/atomist/sdm-core/issues/67)
233- Move build support to sdm-pack-build. [9a73bf9](https://github.com/atomist/sdm-core/commit/9a73bf9c6dbeb6092394a43f748194683ef7c535)
234- Moved build event handlers to build pack. [#69](https://github.com/atomist/sdm-core/issues/69)
235- Remove Atomist pre-code-build hook. [#70](https://github.com/atomist/sdm-core/issues/70)
236
237## [1.0.0-M.5](https://github.com/atomist/sdm-core/compare/1.0.0-M.4...1.0.0-M.5) - 2018-09-26
238
239### Added
240
241- Allow using async function to create SDM. [#57](https://github.com/atomist/sdm-core/pull/57)
242- New states for stopped and canceled goals. [#59](https://github.com/atomist/sdm-core/pull/59)
243- Support for code level project listeners. [#63](https://github.com/atomist/sdm-core/issues/63)
244
245### Changed
246
247- **BREAKING** Export packs from the index as packs. [#62](https://github.com/atomist/sdm-core/pull/62)
248
249### Removed
250
251- **BREAKING** Removed "freeze" pack. In sample-sdm pending a new home.
252
253## [1.0.0-M.4](https://github.com/atomist/sdm-core/compare/1.0.0-M.3...1.0.0-M.4) - 2018-09-16
254
255### Added
256
257- Prepare to hook in client startup events . [#48](https://github.com/atomist/sdm-core/issues/48)
258- Augment and organize export in index. [#52](https://github.com/atomist/sdm-core/issues/52)
259
260### Changed
261
262- FingerprintInvocation contains a vector of Fingerprints. [#49](https://github.com/atomist/sdm-core/issues/49)
263- **BREAKING** Move to lib structure and use index. [#53](https://github.com/atomist/sdm-core/issues/53)
264- **BREAKING** Update from src to lib. [#54](https://github.com/atomist/sdm-core/issues/54)
265
266### Removed
267
268- **BREAKING** Goal contexts no longer have an order but splitContext expects one. [#47](https://github.com/atomist/sdm-core/issues/47)
269
270## [1.0.0-M.3](https://github.com/atomist/sdm-core/compare/1.0.0-M.1...1.0.0-M.3) - 2018-09-04
271
272### Added
273
274- Stronger validation of required configration values. [#48a616b](https://github.com/atomist/sdm-core/commit/48a616bfbb304f5ca8f483aa91d1fd563f5dcbd8)
275- Add mergePullRequest flag to local config. [#7784157](https://github.com/atomist/sdm-core/commit/77841573c406f60796196ca1637a814e8bb52a2b)
276- Allow goals to receive implementations and listeners. [#41](https://github.com/atomist/sdm-core/issues/41)
277
278### Changed
279
280- **BREAKING** Move local configuration into configuration object. [#34](https://github.com/atomist/sdm-core/issues/34)
281- **BREAKING** Moved "set goal state" and "reset goals" into an extension pack. Add it in your SDM if you want these: `sdm.addExtensionPacks(GoalState)`
282
283### Removed
284
285- **BREAKING** Moved docker functionality to separate pack. [#44](https://github.com/atomist/sdm-core/issues/44)
286
287## [1.0.0-M.1](https://github.com/atomist/sdm-core/compare/0.4.10...1.0.0-M.1) - 2018-08-27
288
289## [0.4.10](https://github.com/atomist/sdm-core/compare/0.4.9...0.4.10) - 2018-08-27
290
291## [0.4.9](https://github.com/atomist/sdm-core/compare/0.4.8...0.4.9) - 2018-08-24
292
293## [0.4.8](https://github.com/atomist/sdm-core/compare/0.4.7...0.4.8) - 2018-08-24
294
295## [0.4.7](https://github.com/atomist/sdm-core/compare/0.4.6...0.4.7) - 2018-08-23
296
297## [0.4.6](https://github.com/atomist/sdm-core/compare/0.4.5...0.4.6) - 2018-08-22
298
299## [0.4.5](https://github.com/atomist/sdm-core/compare/0.4.4...0.4.5) - 2018-08-21
300
301## [0.4.4](https://github.com/atomist/sdm-core/compare/0.4.3...0.4.4) - 2018-08-21
302
303## [0.4.3](https://github.com/atomist/sdm-core/compare/0.4.2...0.4.3) - 2018-08-21
304
305## [0.4.2](https://github.com/atomist/sdm-core/compare/0.4.1...0.4.2) - 2018-08-17
306
307## [0.4.1](https://github.com/atomist/sdm-core/compare/0.4.0...0.4.1) - 2018-08-09
308
309### Fixed
310
311- Corrected GraphQL file/name agreement.
312
313## [0.4.0](https://github.com/atomist/sdm-core/compare/0.2.4...0.4.0) - 2018-08-07
314
315### Added
316
317- Cleanup scheduled goal jobs on Kubernetes. [#4](https://github.com/atomist/sdm-core/issues/4)
318- EditorRegistration supports general editorCommand customizations, instead of specifically dryRun. If you were setting `dryRun = true`, set `editorCommandFactory = dryRunEditorCommand` instead.
319- ProjectVersioner function type receives an SdmGoalEvent instead of a Status fragment.
320- Differentiate between internal and external side-effecting fulfillment. [#9](https://github.com/atomist/sdm-core/issues/9)
321- Add ability to extract and report goal Progress. [#14](https://github.com/atomist/sdm-core/issues/14)
322- Add VoteOnGoalApprovalRequest. [#17](https://github.com/atomist/sdm-core/issues/17)
323- Attempt to configure local SDM. [#23](https://github.com/atomist/sdm-core/issues/23)
324
325### Changed
326
327- Remove disposal command from default list of registered commands. [#5](https://github.com/atomist/sdm-core/issues/5)
328- **BREAKING** Removed "dry run" support. See `makeBuildAware` in `sdm`.
329- Allow configuration of status creation for NPM packages. [#10](https://github.com/atomist/sdm-core/issues/10)
330- **BREAKING** Removed Node and `npm` support. Moved to `sdm-pack-node`.
331
332### Deprecated
333
334- Rename to GoalInvocation; deprecate status. [#2](https://github.com/atomist/sdm-core/issues/2)
335
336### Fixed
337
338- **BREAKING** EditorRegistration supports general editorCommand customizations, instead of specifically dryRun.
339- Link is missing on npm publish goal. [#11](https://github.com/atomist/sdm-core/issues/11)
340- Use credentialsResolver consistently. [#18](https://github.com/atomist/sdm-core/issues/18)
341
342## [0.2.3](https://github.com/atomist/sdm-core/compare/0.2.2...0.2.3) - 2018-06-18
343
344### Fixed
345
346- **BREAKING** SeedDrivenGeneratorSupport allows you to override the seed. This fixes a bug with overriding the seed name.
347
348## Earlier
349
350### Added
351
352- Can provide tag when publishing NPM package. [#404](https://github.com/atomist/sdm-core/issues/404)
353
354## [0.1.0](https://github.com/atomist/sdm-core/tree/0.1.0) - 2018-05-16
355
356### Added
357
358- Everything.