UNPKG

44.7 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/automation-client-ts/compare/1.7.0...HEAD)
9
10### Added
11
12- Introduce caching to Project API. [#606](https://github.com/atomist/automation-client/issues/606)
13- Add exports to index. [#624](https://github.com/atomist/automation-client/issues/624)
14
15### Changed
16
17- Make output less verbose during development. [#603](https://github.com/atomist/automation-client/issues/603)
18- Do not create typings dir if not creating types. [#609](https://github.com/atomist/automation-client/issues/609)
19- Clean up tmp dirs on shutdown. [#614](https://github.com/atomist/automation-client/issues/614)
20- Clean up configuration code and docs. [#615](https://github.com/atomist/automation-client/issues/615)
21- Switch to globby for glob matching. [#618](https://github.com/atomist/automation-client/issues/618)
22- Consolidate on micromatch and fast-glob. [#620](https://github.com/atomist/automation-client/issues/620)
23
24### Deprecated
25
26- Introduce caching to Project API. [#606](https://github.com/atomist/automation-client/issues/606)
27
28### Fixed
29
30- Use host configuration in Express listen call. [#607](https://github.com/atomist/automation-client/issues/607)
31- Consolidates ProjectUtils files. Resolves #229. [#617](https://github.com/atomist/automation-client/issues/617)
32- Fix retry when WS closes during startup. [5af51f1](https://github.com/atomist/automation-client/commit/5af51f1df906d0f7e4a225e07bda37c4ae56aba7)
33- Invalidate file cache on content change. [#622](https://github.com/atomist/automation-client/issues/622)
34
35## [1.7.0](https://github.com/atomist/automation-client-ts/compare/1.6.2...1.7.0) - 2019-09-09
36
37### Added
38
39- Add a clone option to shallowly fetch all branches. [#572](https://github.com/atomist/automation-client/issues/572)
40- Add support for GitHub App tokens. [b58833a](https://github.com/atomist/automation-client/commit/b58833a4a91fab2cdd9bd5cdc8cc74da634359e4)
41- Export isRemoteRepoRef. [#578](https://github.com/atomist/automation-client/issues/578)
42- Add support for code reloading without restart. [#597](https://github.com/atomist/automation-client/issues/597)
43
44### Changed
45
46- Modify GitHub token pattern to match on app tokens. [#593](https://github.com/atomist/automation-client/issues/593)
47- Upgrade to graphql-codegen version 1.7.1. [#595](https://github.com/atomist/automation-client/issues/595)
48
49### Fixed
50
51- `promptFor` not sending continuation message in cluster mode. [#592](https://github.com/atomist/automation-client/issues/592)
52- Fix threaded messages for responses. [b782039](https://github.com/atomist/automation-client/commit/b7820393301f3707dfb21b0b323fc1c3a944864e)
53
54## [1.6.2](https://github.com/atomist/automation-client-ts/compare/1.6.1...1.6.2) - 2019-07-11
55
56### Added
57
58- Add support for configuration profiles. [144fb03](https://github.com/atomist/automation-client/commit/144fb033b98292784cae30317fc0ba72dfe74dbb)
59- Update lodash, lodash.merge and lodash.template to fix security vulnerability. [dcf21d8](https://github.com/atomist/automation-client/commit/dcf21d8d8ade37f192231f9d5bee28131c110c8a)
60
61## [1.6.1](https://github.com/atomist/automation-client-ts/compare/1.6.0...1.6.1) - 2019-07-08
62
63### Added
64
65- Add x-request-id to apollo requests. [caef74a](https://github.com/atomist/automation-client-ts/compare/2015a1ef062c4c5d3954b002d46e101da643b7e8...caef74a92e47207849d76c88d7c0a4c95b67f5bd)
66
67### Fixed
68
69- Use major version for durable registrations. [46a9200](https://github.com/atomist/automation-client/commit/46a920020ed613c7a7a6c24e995d946e4abc2754)
70
71## [1.6.0](https://github.com/atomist/automation-client-ts/compare/1.5.3...1.6.0) - 2019-07-04
72
73### Added
74
75- Add statsd metric to indicate WS backoff. [d0701de](https://github.com/atomist/automation-client/commit/d0701de2fecb730e1ca659913acac771c4ec3b0b)
76
77## [1.5.3](https://github.com/atomist/automation-client-ts/compare/1.5.2...1.5.3) - 2019-06-04
78
79### Changed
80
81- Allow configuration to be a `Promise<Configuration>`. [#564](https://github.com/atomist/automation-client/issues/564)
82- Rework github helpers to not use axios. [7d854b6](https://github.com/atomist/automation-client/commit/7d854b6ef8a931308d93618941963feb432c81c7)
83
84### Deprecated
85
86- Deprecate `atomist://github/default_repo_visibility` mapped parameter. [#559](https://github.com/atomist/automation-client/issues/559)
87
88## [1.5.2](https://github.com/atomist/automation-client-ts/compare/1.5.1...1.5.2) - 2019-05-30
89
90### Fixed
91
92- Ensure query params are passed when retrieving default reviewers. [#556](https://github.com/atomist/automation-client/issues/556)
93- Improve behavior when immediate shutdown requested. [7055ec1](https://github.com/atomist/automation-client/commit/7055ec155f9f1aefd0254fc64509543495538391)
94
95## [1.5.1](https://github.com/atomist/automation-client-ts/compare/1.5.0...1.5.1) - 2019-05-29
96
97### Changed
98
99- Update to graphql-codegen 0.18.2. [a9101f8](https://github.com/atomist/automation-client/commit/a9101f8eff0f4c02a087cbec8ffc602e4292735f)
100
101### Fixed
102
103- Allow for normal exit with async hooks. [#553](https://github.com/atomist/automation-client/issues/553)
104
105## [1.5.0](https://github.com/atomist/automation-client-ts/compare/1.4.0...1.5.0) - 2019-05-27
106
107### Added
108
109- Support sending response messages back into a thread. [dc005f2](https://github.com/atomist/automation-client/commit/dc005f2237b650d2f96ea5206db9a31b7453b1c9)
110- Redact outgoing messages. [#527](https://github.com/atomist/automation-client/issues/527)
111- Expose integration point for different statsd client libraries. [#533](https://github.com/atomist/automation-client/issues/533)
112- Improvements to message sending protocol. [#546](https://github.com/atomist/automation-client/issues/546)
113- Add default reviewer mechanism for BitBucket. [#542](https://github.com/atomist/automation-client/issues/542)
114
115### Changed
116
117- Consolidate and make test running smarter. [#517](https://github.com/atomist/automation-client/issues/517)
118- MsgIds should not contain spaces. [#539](https://github.com/atomist/automation-client/issues/539)
119
120### Removed
121
122- Remove remoteRepoFrom. [#522](https://github.com/atomist/automation-client/issues/522)
123
124### Fixed
125
126- Safely serialze response data from workers. [d827034](https://github.com/atomist/automation-client/commit/d827034a22f091b9136ae6385ff23ca86d2d7737)
127- Messages should not be sent to "null" users. [#530](https://github.com/atomist/automation-client/issues/530)
128- configurationValue does not allow the use of a falsey default value. [#534](https://github.com/atomist/automation-client/issues/534)
129- Send valid statsd metrics. [#532](https://github.com/atomist/automation-client/issues/532)
130- edit-all fails if a branch already exists on one repo. [#168](https://github.com/atomist/automation-client/issues/168)
131- Rework cluster shutdown. [#549](https://github.com/atomist/automation-client/issues/549)
132- Improve cluster shutdown behavior. [#550](https://github.com/atomist/automation-client/issues/550)
133
134## [1.4.0](https://github.com/atomist/automation-client-ts/compare/1.3.0...1.4.0) - 2019-04-15
135
136### Added
137
138- Maintain internal priority queue of command/event invocations [#512](https://github.com/atomist/automation-client/issues/512)
139- BitBucketServerRepoRef support cloning from specific branch. [#482](https://github.com/atomist/automation-client/issues/482)
140- Support web user_agent in source of incoming command request. [#498](https://github.com/atomist/automation-client/issues/498)
141- Identity tokens in CommandHandlerRequest maps. [#497](https://github.com/atomist/automation-client/issues/497)
142- Create single interface for creating RemoteRepoRef. [#513](https://github.com/atomist/automation-client/issues/513)
143
144### Changed
145
146- Clearer description for generated repo name. [#493](https://github.com/atomist/automation-client/issues/493)
147- Hide secrets in messages. [ae43b4f](https://github.com/atomist/automation-client/commit/ae43b4ff21e11cd6493b8acac657a440904baf7c)
148
149### Deprecated
150
151- Session ID being used as Bearer in Authorization header. [#491](https://github.com/atomist/automation-client/issues/491)
152
153### Fixed
154
155- Handle empty parameter list on incoming command. [#490](https://github.com/atomist/automation-client/issues/490)
156
157## [1.3.0](https://github.com/atomist/automation-client-ts/compare/1.2.0...1.3.0) - 2019-03-14
158
159### Added
160
161- Provide a dummy id to InMemoryProject. [#438](https://github.com/atomist/automation-client/issues/438)
162- Allow boolean and number parameters types in command requests. [#446](https://github.com/atomist/automation-client/issues/446)
163- Set WebSocketLifecycle on configuration. [6c009bf](https://github.com/atomist/automation-client/commit/6c009bf30f89b3685c208636337d6810338f917e)
164- Provide a way to globally modify chat messages. [#470](https://github.com/atomist/automation-client/issues/470)
165- Add getContentBuffer method to File. [#476](https://github.com/atomist/automation-client/issues/476)
166- Test failure case in doWithFiles. [#471](https://github.com/atomist/automation-client/issues/471)
167- Allow configurationValue without path. [128f8e4](https://github.com/atomist/automation-client/commit/128f8e49081574e5709298fe10b23fa244bc0a0a)
168- Add Namespace support for Gitlab. [#477](https://github.com/atomist/automation-client/issues/477)
169
170### Changed
171
172- Allow matchIterator to be used to change matches. [#442](https://github.com/atomist/automation-client/issues/442)
173- Various fixes to better support targeting in command handlers. [#441](https://github.com/atomist/automation-client/issues/441)
174- Add support for latest Chooser API contract. [17549fd](https://github.com/atomist/automation-client/commit/17549fdb9ba12b707898e8cfb49e1f1ba61c5d37)
175- Update failure logging for failed repo creations. [#461](https://github.com/atomist/automation-client/issues/461)
176- Fall through to no creds for cloneUrl. [b31ba59](https://github.com/atomist/automation-client/commit/b31ba59eca489d9bfea5528046ed52800f6a7bc5)
177- Remove axios usage and use HttpClientFactory. [#464](https://github.com/atomist/automation-client/issues/464)
178- Update dependencies. [d68fef3](https://github.com/atomist/automation-client/commit/d68fef3d64974677d7ac4b7f1d957b24c65f6a26)
179- Update all deps including graphql-code-generator. [#474](https://github.com/atomist/automation-client/issues/474)
180
181### Deprecated
182
183- Add support for latest Chooser API contract. [17549fd](https://github.com/atomist/automation-client/commit/17549fdb9ba12b707898e8cfb49e1f1ba61c5d37)
184- Deprecated Chooser type. [60739fc](https://github.com/atomist/automation-client/commit/60739fccd95f0cb8515cf1aea9214daa015de491)
185
186### Removed
187
188- Remove addAtomistWebhook from see generator params. [4ebe315](https://github.com/atomist/automation-client/commit/4ebe315eda8555dcaad43e910a8ac903c90677f3)
189
190### Fixed
191
192- Errors in machine function can get swallowed and ignored . [#449](https://github.com/atomist/automation-client/issues/449)
193- Do not swallow exceptions thrown by transforms in generators. [#465](https://github.com/atomist/automation-client/issues/465)
194- Fix typo that crashed it. [#475](https://github.com/atomist/automation-client/issues/475)
195- WebSocket can be destroyed before message sent. [#483](https://github.com/atomist/automation-client/issues/483)
196- Disable TSLint on generated types. [#485](https://github.com/atomist/automation-client/issues/485)
197
198## [1.2.0](https://github.com/atomist/automation-client-ts/compare/1.1.0...1.2.0) - 2018-12-27
199
200### Added
201
202- Add thread_ts to MessageOptions to address threads. [49b9be7](https://github.com/atomist/automation-client/commit/49b9be713fa6395d16892787958c4f1cf6a444d4)
203- Disable graphql-tag fragment warning. [#419](https://github.com/atomist/automation-client/issues/419)
204- Allow to print out configuration sources during startup. [a255171](https://github.com/atomist/automation-client/commit/a255171da3b88a2bd4422672422f5ad228183bbb)
205- Add HEAD method to HttpClient. [32fbc96](https://github.com/atomist/automation-client/commit/32fbc9654178c8f3425e95ccc07228d8e1f2227b)
206- Gracefully queue messages when the WS disconnects. [#426](https://github.com/atomist/automation-client/issues/426)
207- Introduce `targets.branch` and fix `project.id` to point to correct project. [#434](https://github.com/atomist/automation-client/issues/434)
208- Stronger typing for parameters. [#437](https://github.com/atomist/automation-client/issues/437)
209
210### Changed
211
212- Tighten typing on menuForCommand and buttonForCommand. [de3b582](https://github.com/atomist/automation-client/commit/de3b5821e69aee02952487aec63759d4ec7faffd)
213- Update registration timeout to 30s. [65d9ba9](https://github.com/atomist/automation-client/commit/65d9ba9fe353c6c4609c35a1cb455bb9f31e26dc)
214
215### Fixed
216
217- Boolean parameter types are not supported. [#423](https://github.com/atomist/automation-client/issues/423)
218- Introduce `targets.branch` and fix `project.id` to point to correct project. [#434](https://github.com/atomist/automation-client/issues/434)
219- Fix defaulting of targetBranch when raising PR. [6c80f10](https://github.com/atomist/automation-client/commit/6c80f10c5656b8b9d1c838808d65d20020297e54)
220- Logging setting can cause startup hangs. [#435](https://github.com/atomist/automation-client/issues/435)
221
222## [1.1.0](https://github.com/atomist/automation-client-ts/compare/1.0.1...1.1.0) - 2018-12-08
223
224### Added
225
226- Add review comment sorter. [#402](https://github.com/atomist/automation-client/issues/402)
227- Add gc stats onto statsd. [7639432](https://github.com/atomist/automation-client/commit/7639432a321e8add351f24539b8a5c0b6434d9d7)
228- Add initial Gitlab support. [#399](https://github.com/atomist/automation-client/issues/399)
229- Add low-level child_process promise functions. [#406](https://github.com/atomist/automation-client/issues/406)
230- Add autoSubmit to CommandDetails. [ee0e474](https://github.com/atomist/automation-client/commit/ee0e474a0fede4142fb1c62509ebacccf716b289)
231- Add auth endpoints to configuration. [1680df8](https://github.com/atomist/automation-client/commit/1680df8c434ffff350b3cb4a62a9c985e9dbf282)
232- Add `GraphClientFactory`. [#410](https://github.com/atomist/automation-client/issues/410)
233- Introduce Commit editMode and allow PR to specify base. [#414](https://github.com/atomist/automation-client/issues/414)
234- Introduce promise pool to limit number of concurrent executions. [#417](https://github.com/atomist/automation-client/issues/417)
235
236### Changed
237
238- Update to latest graphql-code-generator. [#401](https://github.com/atomist/automation-client/issues/401)
239- Extract creation of HTTP and WS clients for registration to proper factories. [#409](https://github.com/atomist/automation-client/issues/409)
240- Introduce Commit editMode and allow PR to specify base. [#414](https://github.com/atomist/automation-client/issues/414)
241- Chunk editAll operations. [#416](https://github.com/atomist/automation-client/issues/416)
242
243### Deprecated
244
245- Mark existing spawn and exec functions and interfaces as deprecated. [#406](https://github.com/atomist/automation-client/issues/406)
246
247### Fixed
248
249- Namespace our in process messages. [d0cf724](https://github.com/atomist/automation-client/commit/d0cf724245cd60dddb15de115a2f809481815297)
250
251## [1.0.1](https://github.com/atomist/automation-client-ts/compare/1.0.0-RC.2...1.0.1) - 2018-11-09
252
253### Added
254
255- Fingerprint api docs added. [#396](https://github.com/atomist/automation-client/issues/396)
256
257## [1.0.0-RC.2](https://github.com/atomist/automation-client-ts/compare/1.0.0-RC.1...1.0.0-RC.2) - 2018-10-30
258
259### Changed
260
261- Exclude ingesters from gql-gen. [#395](https://github.com/atomist/automation-client/issues/395)
262
263### Removed
264
265- Delete out-of-date documentation. [#394](https://github.com/atomist/automation-client/issues/394)
266
267## [1.0.0-RC.1](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.5a...1.0.0-RC.1) - 2018-10-15
268
269### Added
270
271- Add more exports to index. [#389](https://github.com/atomist/automation-client/issues/389)
272
273### Changed
274
275- **BREAKING** Scope wildcard exports having common names. [#390](https://github.com/atomist/automation-client/issues/390)
276
277### Removed
278
279- **BREAKING** Clean up exports in index. [#391](https://github.com/atomist/automation-client/issues/391)
280
281### Fixed
282
283- Error when creating pull request under GitCommandGitProject. [#387](https://github.com/atomist/automation-client/issues/387)
284
285## [1.0.0-M.5a](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.5...1.0.0-M.5a) - 2018-09-28
286
287### Changed
288
289- Upgrade axios to 0.19.0-beta.1. [#386](https://github.com/atomist/automation-client-ts/issues/386)
290
291## [1.0.0-M.5](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.4...1.0.0-M.5) - 2018-09-26
292
293### Added
294
295- Export cross-spawn as spawn. [#382](https://github.com/atomist/automation-client-ts/pull/382)
296
297### Changed
298
299- Use os.homedir() and 127.0.0.1. [#381](https://github.com/atomist/automation-client-ts/pull/381)
300
301### Fixed
302
303- Make killing processes more cross-platform. [#385](https://github.com/atomist/automation-client-ts/pull/385)
304
305## [1.0.0-M.4](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.3...1.0.0-M.4) - 2018-09-16
306
307### Added
308
309- Add depth for cloning the master branch. [#9ed45d8](https://github.com/atomist/automation-client-ts/commit/9ed45d8baa91572eec2424987f22368a6101f69b)
310- Add startupSuccessful event. [#9768eaf](https://github.com/atomist/automation-client-ts/commit/9768eafeb185e9b4acb58bf9e0fafb2e23125c8e)
311- Print stack before munching error. [#365](https://github.com/atomist/automation-client-ts/issues/365)
312- Augment and organize export in index. [#378](https://github.com/atomist/automation-client-ts/issues/378)
313
314### Changed
315
316- Set all execute bits in makeExecutable. [#345](https://github.com/atomist/automation-client-ts/issues/345)
317- Don't default sha to master when cloning repos. [#4410c0b](https://github.com/atomist/automation-client-ts/commit/4410c0b45544536766d061ded92bc2e530caa677)
318- Keep the branch from the RepoRef. [#366](https://github.com/atomist/automation-client-ts/issues/366)
319- **BREAKING** `~/.atomist/client-config.json` should take precedence over `atomist-config.ts`. [#371](https://github.com/atomist/automation-client-ts/issues/371)
320- **BREAKING** Update to Winston 3 and make logging configuration explicit. [#370](https://github.com/atomist/automation-client-ts/issues/370)
321- Upgrade tree-path library. [#375](https://github.com/atomist/automation-client-ts/issues/375)
322- **BREAKING** Make running git commands safer. [#374](https://github.com/atomist/automation-client-ts/issues/374)
323- Change location of schema.json. [#c6ee2b4](https://github.com/atomist/automation-client-ts/commit/c6ee2b4843a193002319796f5b1815d3cfb83454)
324- Replace continuation-local-storage with async hooks for better tracking across async/await calls. [#377](https://github.com/atomist/automation-client-ts/issues/377)
325- **BREAKING** Update to more-standard node project format. [#328](https://github.com/atomist/automation-client-ts/issues/328)
326
327### Fixed
328
329- Make sure Apollo propagates the GraphQL errors. [#448f89a](https://github.com/atomist/automation-client-ts/commit/448f89aa8bf9c8bcf226f29882dad26267fe665e)
330- No such file or directory `~/.atomist/log`. [#361](https://github.com/atomist/automation-client-ts/issues/361)
331- Running multiple local SDMs causes port collisions. [#364](https://github.com/atomist/automation-client-ts/issues/364)
332- Resolve exec promise when process stdio is closed. [#70145f2](https://github.com/atomist/automation-client-ts/commit/70145f2b2d7a5d0b2fa689f5d561f88416781ec8)
333
334## [1.0.0-M.3](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.2...1.0.0-M.3) - 2018-09-04
335
336### Added
337
338- On startup, tell people how to get an API key. [#348](https://github.com/atomist/automation-client-ts/issues/348)
339- Add ConfigurationPostProcessor type. [#4dfbb0f](https://github.com/atomist/automation-client-ts/commit/4dfbb0f0cffae9fc45748c558d05d497361bd8c9)
340- Add generic return type to ConfigurationPostProcessor. [#a564fce](https://github.com/atomist/automation-client-ts/commit/a564fce96107017001e4d47afc9dd229c36ba34a)
341- Add support for marking branch commits to auto merge. [#4c8f677](https://github.com/atomist/automation-client-ts/commit/4c8f677d2857f301abedd65d7fe9fe5eb37da56f)
342- Cleanup own tmp directories. [#0de0100](https://github.com/atomist/automation-client-ts/commit/0de0100a7f26d296df808e128d2e785060e4de62)
343- projectUtils.gatherFromMatches to build up data based on pieces of code
344
345### Changed
346
347- Support author as string or object. [#346](https://github.com/atomist/automation-client-ts/issues/346)
348- If no event handlers are found, return 404 not 500. [#347](https://github.com/atomist/automation-client-ts/issues/347)
349- Do not show links in startup if not registered. [#da0c942](https://github.com/atomist/automation-client-ts/commit/da0c9425b5493588f39a1565d964dc7b17ca67c5)
350- Log under user home directory.
351- Remove dimensions on metrics. [#349](https://github.com/atomist/automation-client-ts/issues/349)
352- **BREAKING** Pull up id to RepoId and remove unused code. [#351](https://github.com/atomist/automation-client-ts/issues/351)
353- Export all of MessageClient. [#352](https://github.com/atomist/automation-client-ts/issues/352)
354- **BREAKING** Remove all deprecations. [#350](https://github.com/atomist/automation-client-ts/issues/350)
355- renamed saveFromFiles to gatherFromFiles, deprecating the old function.
356
357### Fixed
358
359- Fail when tests fail, remove team/token. [#354](https://github.com/atomist/automation-client-ts/issues/354)
360
361## [1.0.0-M.2](https://github.com/atomist/automation-client-ts/compare/1.0.0-M.1...1.0.0-M.2) - 2018-08-27
362
363### Changed
364
365- Update Atomist dependencies to 1.0.0-M.1.
366
367### Fixed
368
369- Properly read client package.json.
370
371## [1.0.0-M.1](https://github.com/atomist/automation-client-ts/compare/0.21.8...1.0.0-M.1) - 2018-08-27
372
373### Changed
374
375- Prepare for 1.0.0 release.
376
377## [0.21.8](https://github.com/atomist/automation-client-ts/compare/0.21.7...0.21.8) - 2018-08-24
378
379## [0.21.7](https://github.com/atomist/automation-client-ts/compare/0.21.6...0.21.7) - 2018-08-23
380
381## [0.21.6](https://github.com/atomist/automation-client-ts/compare/0.21.5...0.21.6) - 2018-08-23
382
383### Fixed
384
385- Immediately shut down when no hooks are registered. [#c010ce1](https://github.com/atomist/automation-client-ts/commit/c010ce1ed2f5a888d7c7b605461e53093d35c58f)
386
387## [0.21.5](https://github.com/atomist/automation-client-ts/compare/0.21.4...0.21.5) - 2018-08-23
388
389## [0.21.4](https://github.com/atomist/automation-client-ts/compare/0.21.3...0.21.4) - 2018-08-21
390
391## [0.21.3](https://github.com/atomist/automation-client-ts/compare/0.21.2...0.21.3) - 2018-08-21
392
393### Added
394
395- Expose ChildProcess on ChildProcessResult to allow it to be killed. [#342](https://github.com/atomist/automation-client-ts/issues/342)
396- Add support for proxy authentication. [#343](https://github.com/atomist/automation-client-ts/issues/343)
397
398## [0.21.2](https://github.com/atomist/automation-client-ts/compare/0.21.1...0.21.2) - 2018-08-21
399
400### Fixed
401
402- Get rid of deprecation warnings when installing cli. [#340](https://github.com/atomist/automation-client-ts/issues/340)
403
404## [0.21.1](https://github.com/atomist/automation-client-ts/compare/0.21.0...0.21.1) - 2018-08-18
405
406## [0.21.0](https://github.com/atomist/automation-client-ts/compare/0.20.4...0.21.0) - 2018-08-17
407
408### Changed
409
410- Install scripts in bin. [#339](https://github.com/atomist/automation-client-ts/issues/339)
411
412## [0.20.4](https://github.com/atomist/automation-client-ts/compare/0.20.3...0.20.4) - 2018-08-17
413
414### Deprecated
415
416- Move scripts to bin directory. [#338](https://github.com/atomist/automation-client-ts/issues/338)
417
418## [0.20.3](https://github.com/atomist/automation-client-ts/compare/0.20.2...0.20.3) - 2018-08-16
419
420### Changed
421
422- Use cross-spawn to better support Windows. [#337](https://github.com/atomist/automation-client-ts/issues/337)
423
424## [0.20.2](https://github.com/atomist/automation-client-ts/compare/0.20.1...0.20.2) - 2018-08-16
425
426### Fixed
427
428- Fix start.gql-gen.ts script for MS Windows.
429
430## [0.20.1](https://github.com/atomist/automation-client-ts/compare/0.20.0...0.20.1) - 2018-08-10
431
432### Added
433
434- Add git-info and gql-gen scripts. [#1ac65e6](https://github.com/atomist/automation-client-ts/commit/1ac65e68679e63ecf470f57f3014e96abb0630f1)
435
436### Changed
437
438- Move types to dependencies. [#f9b3331](https://github.com/atomist/automation-client-ts/commit/f9b3331fbc8e53362d535e045a17993a6e3bf178)
439
440## [0.20.0](https://github.com/atomist/automation-client-ts/compare/0.19.7...0.20.0) - 2018-08-09
441
442### Fixed
443
444- Allow local-sdm "new sdm" command to run from any directory.
445
446## [0.19.7](https://github.com/atomist/automation-client-ts/compare/0.19.6...0.19.7) - 2018-08-09
447
448### Added
449
450- Add more exports to index.ts
451
452### Changed
453
454- **BREAKING** Feedback on graphClient.executeQueryFromFile versus graphClient.query. [#334](https://github.com/atomist/automation-client-ts/issues/334)
455
456## [0.19.6](https://github.com/atomist/automation-client-ts/compare/0.19.5...0.19.6) - 2018-08-07
457
458### Changed
459
460- Update microgrammar dependency.
461
462### Removed
463
464- Reference to slalom
465
466## [0.19.5](https://github.com/atomist/automation-client-ts/compare/0.19.4...0.19.5) - 2018-08-06
467
468### Fixed
469
470- Logging initialization when `ATOMIST_DISABLE_LOGGING` is true
471
472## [0.19.4](https://github.com/atomist/automation-client-ts/compare/0.19.3...0.19.4) - 2018-08-02
473
474### Changed
475
476- Updated schema.
477
478## [0.19.3](https://github.com/atomist/automation-client-ts/compare/0.19.2...0.19.3) - 2018-08-02
479
480### Fixed
481
482- More workspace/team ID fixes
483
484## [0.19.2](https://github.com/atomist/automation-client-ts/compare/0.19.1...0.19.2) - 2018-08-02
485
486### Changed
487
488- Configuration workspaceIds will be set to teamIds if no workspaceIds are set.
489
490## [0.19.1](https://github.com/atomist/automation-client-ts/compare/0.19.0...0.19.1) - 2018-08-01
491
492### Fixed
493
494- Restore start.command.ts.
495
496## [0.19.0](https://github.com/atomist/automation-client-ts/compare/0.18.1...0.19.0) - 2018-07-31
497
498### Added
499
500- **BREAKING** Initial support for apiKeys. [#329](https://github.com/atomist/automation-client-ts/issues/329)
501
502### Deprecated
503
504- **BREAKING** Initial support for apiKeys. [#329](https://github.com/atomist/automation-client-ts/issues/329)
505
506## [0.18.1](https://github.com/atomist/automation-client-ts/compare/0.18.0...0.18.1) - 2018-07-31
507
508## [0.18.0](https://github.com/atomist/automation-client-ts/compare/0.17.1...0.18.0) - 2018-07-26
509
510### Added
511
512- Allow to set timeout on spawned commands. [#312](https://github.com/atomist/automation-client-ts/issues/312)
513- Add command to install kube utilities. [#311](https://github.com/atomist/automation-client-ts/issues/311)
514- HTTP client and factory abstraction. [#321](https://github.com/atomist/automation-client-ts/issues/321)
515
516### Changed
517
518- Open up configuration. [#320](https://github.com/atomist/automation-client-ts/issues/320)
519
520### Deprecated
521
522- Migrate atomist CLI to its own package. [#315](https://github.com/atomist/automation-client-ts/issues/315)
523- Replace run.ts with start.command.ts. [#325](https://github.com/atomist/automation-client-ts/issues/325)
524
525### Removed
526
527- Remove dependency to config module. [#317](https://github.com/atomist/automation-client-ts/issues/317)
528- **BREAKING** `Project` no longer extends `AbstractScriptedFlushable`. This is no longer necessary given async/await. [#318](https://github.com/atomist/automation-client-ts/issues/318)
529
530### Fixed
531
532- Github's email setting "Block command line pushes that expose my email" breaks `@atomist generate`. [#322](https://github.com/atomist/automation-client-ts/issues/322)
533
534## [0.17.1](https://github.com/atomist/automation-client-ts/compare/0.17.0...0.17.1) - 2018-06-04
535
536### Deprecated
537
538- Ingester and IngesterBuilder are deprecated in favor of GraphQL SDM definitions.
539
540## [0.17.0](https://github.com/atomist/automation-client-ts/compare/0.16.0...0.17.0) - 2018-06-04
541
542### Fixed
543
544- Checking out a branch sets the branch. [#293](https://github.com/atomist/automation-client-ts/issues/293)
545
546## [0.16.0](https://github.com/atomist/automation-client-ts/compare/0.15.1...0.16.0) - 2018-05-15
547
548### Added
549
550- Options for Git push().
551- Token-based authentication.
552
553### Changed
554
555- Change generator seed repository parameters to include Git provider.
556
557### Deprecated
558
559- `BitBucketServerRepoRef`.
560- `allReposInTeam()`.
561- `generatorHandler()`.
562
563### Fixed
564
565- Default @Value handling.
566
567## [0.15.1](https://github.com/atomist/automation-client-ts/compare/0.15.0...0.15.1) - 2018-05-09
568
569### Changed
570
571- Repo handles both basic and token credentials.
572- Default log file name is now simple client name.
573
574### Fixed
575
576- Make sure teamIds and groups are set in configuration.
577- Put SDM configuration under "sdm".
578
579## [0.15.0](https://github.com/atomist/automation-client-ts/compare/0.14.1...0.15.0) - 2018-05-07
580
581### Added
582
583- The config command now probes environment for known SDM variables.
584
585### Changed
586
587- Reduce default websocket grace period to 10 seconds.
588- Default for `--install` command-line options is to install if the.
589- Support `ATOMIST_config_path` environment variables.
590- Support injection of configuration values.
591- Support arbitrary top-level configuration.
592- **BREAKING** moved `automationClientInstance()` to `globals.ts`.
593
594## [0.14.1](https://github.com/atomist/automation-client-ts/compare/0.14.0...0.14.1) - 2018-04-30
595
596### Added
597
598- Developer can control banner.
599
600### Changed
601
602- Upgrade to TypeScript 2.8.3.
603
604## [0.14.0](https://github.com/atomist/automation-client-ts/compare/0.13.1...0.14.0) - 2018-04-27
605
606### Added
607
608- Provided automation client instance via `automationClientInstance()`.
609- Support for raising PR against any branch.
610- Provider type to RemoteRepoRef.
611- Support for AtomistLog events.
612
613### Changed
614
615- Print stack trace if loading configuration fails.
616
617### Removed
618
619- **BREAKING** `runningAutomationClient`, use `automationClientInstance()`.
620
621### Fixed
622
623- Call listeners on workers in cluster mode.
624- Fix team vs chatTeam usage.
625- Add enums to ingester. [#276](https://github.com/atomist/automation-client-ts/issues/276)
626
627## [0.13.1](https://github.com/atomist/automation-client-ts/compare/0.13.0...0.13.1) - 2018-04-12
628
629### Fixed
630
631- Fix running node on MS Windows. [#271](https://github.com/atomist/automation-client-ts/issues/271)
632- Ensure gql-fetch works in clients.
633
634## [0.13.0](https://github.com/atomist/automation-client-ts/compare/0.12.1...0.13.0) - 2018-04-10
635
636### Added
637
638- Production and testing configurations keyed on ATOMIST_ENV or.
639
640### Changed
641
642- Made more configuration properties optional.
643- Check org webhook before adding repo webhook.
644
645### Fixed
646
647- statsd reporting in workers.
648
649## [0.12.1](https://github.com/atomist/automation-client-ts/compare/0.12.0...0.12.1) - 2018-04-03
650
651### Fixed
652
653- Removed removed scripts from package "bin".
654
655## [0.12.0](https://github.com/atomist/automation-client-ts/compare/0.11.2...0.12.0) - 2018-04-03
656
657### Added
658
659- reduceResults to combine handler results.
660- Functions for posting Atomist webhooks.
661
662### Removed
663
664- Remove previously deprecated command-line utilities now superseded.
665
666## [0.11.2](https://github.com/atomist/automation-client-ts/compare/0.11.1...0.11.2) - 2018-03-28
667
668### Added
669
670- ID to ingester messages.
671
672### Changed
673
674- Clean up logging.
675
676### Fixed
677
678- Silent `atomist config` crash.
679
680## [0.11.1](https://github.com/atomist/automation-client-ts/compare/0.11.0...0.11.1) - 2018-03-26
681
682### Fixed
683
684- Do not immediately exit client.
685
686## [0.11.0](https://github.com/atomist/automation-client-ts/compare/0.10.0...0.11.0) - 2018-03-26
687
688### Changed
689
690- Improved configuration error messages. [#253](https://github.com/atomist/automation-client-ts/issues/253)
691- Provide user configuration if reporting it is valid. [#251](https://github.com/atomist/automation-client-ts/issues/251)
692- Error and exit if any provided configuration is invalid. [#254](https://github.com/atomist/automation-client-ts/issues/254)
693
694## [0.10.0](https://github.com/atomist/automation-client-ts/compare/0.9.0...0.10.0) - 2018-03-26
695
696### Added
697
698- CLI gql-fetch command to download team schema with custom types.
699
700### Changed
701
702- Better worker shutdown behavior.
703- Cleaner logs.
704
705## [0.9.0](https://github.com/atomist/automation-client-ts/compare/0.8.0...0.9.0) - 2018-03-21
706
707### Added
708
709- GraphQL calls use proxy.
710- Startup banner.
711- Log level for logging to file.
712- GitProject revert method.
713- Support for GraphQL fragments.
714- Default gracePeriod of 60s.
715
716### Changed
717
718- Export combineEditResults.
719
720## [0.8.0](https://github.com/atomist/automation-client-ts/compare/0.7.0...0.8.0) - 2018-03-19
721
722### Added
723
724- Mapped parameters for all repos.
725- Print banner on successful registration.
726- Branch as optional parameter in RepoRef.
727- statsd support.
728- Logging to file.
729
730### Changed
731
732- Custom ingester types now use array arguments.
733- At least one user/channel is required when sending messages.
734- Make configuration more composable and user config more powerful.
735
736### Fixed
737
738- \--version command-line option.
739
740## [0.7.0](https://github.com/atomist/automation-client-ts/compare/0.6.6...0.7.0) - 2018-03-07
741
742### Added
743
744- Variable parameters in subscriptions.
745- Card support.
746
747### Deprecated
748
749- config --slack-team command-line option, use --team instead. [#234](https://github.com/atomist/automation-client-ts/issues/234)
750
751## [0.6.6](https://github.com/atomist/automation-client-ts/compare/0.6.5...0.6.6) - 2018-01-31
752
753### Changed
754
755- Retry HTTP server startup.
756
757### Fixed
758
759- Make config command-line options optional. [#208](https://github.com/atomist/automation-client-ts/issues/208)
760- Git branch regular expression. [#211](https://github.com/atomist/automation-client-ts/issues/211)
761- Properly shutdown and restart cluster workers.
762
763## [0.6.5](https://github.com/atomist/automation-client-ts/compare/0.6.4...0.6.5) - 2018-01-24
764
765### Changed
766
767- Make seed repository parameters visible to users.
768
769## [0.6.4](https://github.com/atomist/automation-client-ts/compare/0.6.3...0.6.4) - 2018-01-23
770
771### Changed
772
773- Updated k8 schema.
774
775### Fixed
776
777- `setChatUserPreference` mutation.
778
779## [0.6.3](https://github.com/atomist/automation-client-ts/compare/0.6.2...0.6.3) - 2018-01-16
780
781### Added
782
783- Allow for GHE.
784
785### Fixed
786
787- Some log statements.
788
789## [0.6.2](https://github.com/atomist/automation-client-ts/compare/0.6.1...0.6.2) - 2018-01-15
790
791### Added
792
793- Upload files to Slack.
794
795### Changed
796
797- Migrate from `update_only` to `post_mode` when creating Slack messages.
798- Further decouple GitHub operations from project creation.
799
800## [0.6.1](https://github.com/atomist/automation-client-ts/compare/0.6.0...0.6.1) - 2018-01-12
801
802### Fixed
803
804- Slack message timestamp and TTL.
805- Connecting via proxy.
806
807## [0.6.0](https://github.com/atomist/automation-client-ts/compare/0.5.2...0.6.0) - 2018-01-11
808
809### Added
810
811- Basic BitBucket support, thanks @kbristow!.
812- Support for connecting via a proxy.
813
814### Changed
815
816- Many changes to make more portable, i.e., runnable on MS Windows.
817- Trying to get Git information on a non-git project will now return.
818- Allow GraphQL glob pattern to return no files when generation code.
819- Update to latest GraphQL data model.
820
821## [0.5.2](https://github.com/atomist/automation-client-ts/compare/0.5.0...0.5.2) - 2017-12-04
822
823### Added
824
825- GitHubUserLogin and AtomistWebhookUrlBase mapped parameter helpers.
826- add support for configurable command handlers.
827
828### Changed
829
830- remove hard dependency to heapdump; this will make `npm install` easier on Windows.
831- add userId to HandlerContext.
832- Run all tests without GITHUB_TOKEN.
833- Reduce tmp directory retention.
834
835### Fixed
836
837- keep newlines in commit messages.
838
839## [0.5.0](https://github.com/atomist/automation-client-ts/compare/0.4.0...0.5.0) - 2017-12-07
840
841### Added
842
843- Optionally add Atomist webhook to create GitHub repo.
844- Generator benchmark tests.
845- Caching metrics.
846- afterAction to generate.
847
848### Changed
849
850- **Breaking** Removed old class hierarchy for editors, generators.
851- The `AllFiles` glob pattern was simplified to `**`.
852- Move cache directory to ~/.atomist/cache.
853- Generators now cache seed.
854- Several improvements to reviewer interfaces.
855- Scan all commands and events directories for command and event.
856
857### Removed
858
859- RemoveSeedFiles as it was not generic nor provided much convenience.
860
861### Fixed
862
863- Issues with deleting files and directories in an InMemoryProject.
864- Ensure GitHub sees a token in a clone URL as a token.
865
866## [0.4.0](https://github.com/atomist/automation-client-ts/compare/0.3.5...0.4.0) - 2017-11-28
867
868### Added
869
870- Support for parsing and manipulating JavaScript, JSX and TSX via `TypeScriptFileParser`.
871- Support for parsing and manipulating JSON via `jsonUtils` functions.
872- Support for specifying shutdown behavior with `configuration.ws.termination`.
873
874### Changed
875
876- **Breaking** `editorHandler` now takes a function to create a `ProjectEditor`.
877
878### Removed
879
880- **Breaking** Removed Spring and Java related generators and.
881- **Breaking** Removed embedded dashboard web ui.
882
883## [0.3.5](https://github.com/atomist/automation-client-ts/compare/0.3.4...0.3.5) - 2017-11-22
884
885### Changed
886
887- Moved `@types/continuation-local-storage` to dependencies since it.
888- Added more types to default exports in index.ts.
889
890## [0.3.4](https://github.com/atomist/automation-client-ts/compare/0.3.3...0.3.4) - 2017-11-22
891
892### Added
893
894- `isBinary` method on `File` interface.
895
896### Changed
897
898- **Breaking** `successfulEdit` function `edited` argument is now required instead of defaulting.
899- `EditResult.edited` is now optional. An undefined value is valid.
900- Moved `@types/graphql` to dependencies since its types are exported.
901- Command parameters now provided as PARAM=VALUE on `exec` command line.
902
903### Fixed
904
905- Bug where a `SimpleProjectEditor` that did not return an `EditResult`.
906- Add missing team ID to BuildableAutomationServer GraphQL endpoint.
907
908## [0.3.3](https://github.com/atomist/automation-client-ts/compare/0.3.2...0.3.3) - 2017-11-20
909
910### Added
911
912- Support for nested parameters via initialized object properties on parameters.
913
914### Changed
915
916- `generate` utility function now takes `RepoId` argument before optional params.
917- Split out tests into test and test-api so non-Atomist developers.
918- Improve `atomist config` handling of existing config file so it.
919- Run `config` and `git` commands in same node process.
920- Added "repo" scope to GitHub personal access token created by config command.
921- @Parameter() will default to empty options, so you don't have to pass {}.
922
923## [0.3.2](https://github.com/atomist/automation-client-ts/compare/0.3.1...0.3.2) - 2017-11-13
924
925### Added
926
927- Unified `atomist` CLI.
928
929### Changed
930
931- Improved TypeScript parsing.
932
933### Deprecated
934
935- atomist-cli, atomist-client, atomist-config, and git-info CLI.
936
937### Fixed
938
939- Make tests more reliable.
940
941## [0.3.1](https://github.com/atomist/automation-client-ts/compare/0.3.0...0.3.1) - 2017-11-13
942
943### Added
944
945- Reintroduced exports for backwards compatibility to 0.2.7.
946
947## [0.3.0](https://github.com/atomist/automation-client-ts/compare/0.2.8...0.3.0) - 2017-11-13
948
949### Added
950
951- Upgraded tree-path library (more support for abbreviated syntax, union path expression support, additional axis specifiers).
952- Support for parsing TypeScript, including path expression support.
953
954### Changed
955
956- allow `handle` to return `Promise<any>`.
957- enable graphql client-side caching.
958
959### Fixed
960
961- Fixed #86: Preserved empty directories when caching in memory project. Ability to cache a projcect in memory.
962- Fix #79: Check permissions from seed project. (#83)
963
964## [0.2.8](https://github.com/atomist/automation-client-ts/compare/0.2.5...0.2.7) - 2017-11-07
965
966## [0.2.7](https://github.com/atomist/automation-client-ts/compare/0.2.5...0.2.8) - 2017-11-07
967
968## [0.2.5](https://github.com/atomist/automation-client-ts/compare/0.2.4...0.2.5) - 2017-10-26
969
970### Fixed
971
972- Much closer to backward compatible with 0.2.3 project operations than 0.2.4.
973
974## [0.2.4](https://github.com/atomist/automation-client-ts/compare/0.2.3...0.2.4) - 2017-10-26
975
976### Changed
977
978- Project copying no longer blocks.
979- Update package dependencies and scripts for portability.
980- Git provider is now pluggable.
981
982### Fixed
983
984- Various generator issues.
985- Handler metadata inheritance.
986
987## [0.2.3](https://github.com/atomist/automation-client-ts/compare/0.2.2...0.2.3) - 2017-10-24
988
989### Changed
990
991- Generator and editor refactoring.
992- Update command page.
993
994## [0.2.2](https://github.com/atomist/automation-client-ts/compare/0.2.1...0.2.2) - 2017-10-24
995
996### Added
997
998- Administrative endpoints for health, info, etc.
999
1000### Changed
1001
1002- Pulled up ProjectOperationCredentials and DirectoryManager.
1003
1004### Fixed
1005
1006- Create client config in proper directory on win32. [#44](https://github.com/atomist/automation-client-ts/issues/44),
1007
1008## [0.2.1](https://github.com/atomist/automation-client-ts/compare/0.2.0...0.2.1) - 2017-10-23
1009
1010### Added
1011
1012- Allow `CommandHandler` instances to be created from functions.
1013- Allow a class to be passed into a command handler list, as well as.
1014- Add channel mutations.
1015
1016### Changed
1017
1018- Improved reconnect handling.
1019
1020### Fixed
1021
1022- RepoId included in InMemory project. [#33](https://github.com/atomist/automation-client-ts/issues/33)
1023- Can continue after failed attempt to load a repo. [#30](https://github.com/atomist/automation-client-ts/issues/30)
1024- Updated docs after removal of RunOrDefer. [#24](https://github.com/atomist/automation-client-ts/issues/24)
1025- Documentation for editors and generators. [#32](https://github.com/atomist/automation-client-ts/issues/32)
1026
1027## [0.2.0](https://github.com/atomist/automation-client-ts/compare/0.1.50...0.2.0) - 2017-10-18
1028
1029### Changed
1030
1031- Make atomist-setup script quieter and more robust.
1032- Align generators with ProjectEditor.
1033
1034## [0.1.50](https://github.com/atomist/automation-client-ts/compare/0.1.49...0.1.50) - 2017-10-19
1035
1036### Added
1037
1038- RepoId to Project.
1039
1040### Changed
1041
1042- More currying.
1043- Overhauled edit and review models.
1044
1045### Fixed
1046
1047- Issue with SpringBootSeed.
1048
1049## [0.1.49](https://github.com/atomist/automation-client-ts/compare/0.1.48...0.1.49) - 2017-10-18
1050
1051### Changed
1052
1053- Moved moveFile from AbstractProject to Project.
1054- Exec npm start in atomist-setup script.
1055
1056## [0.1.48](https://github.com/atomist/automation-client-ts/compare/0.1.47...0.1.48) - 2017-10-18
1057
1058### Changed
1059
1060- Spring and Java inference improvements.
1061
1062## [0.1.47](https://github.com/atomist/automation-client-ts/compare/0.1.46...0.1.47) - 2017-10-18
1063
1064### Changed
1065
1066- Update tree-path dependency.
1067
1068## [0.1.46](https://github.com/atomist/automation-client-ts/compare/0.1.44...0.1.46) - 2017-10-18
1069
1070### Added
1071
1072- Scripts to setup and configure Atomist API client.
1073
1074### Changed
1075
1076- The client will look for config under ~/.atomist/client.config.json.
1077- Handlers can be called via instance or class name in addition to.
1078- Improve error messages.
1079- Various project operation improvements.
1080
1081## [0.1.44](https://github.com/atomist/automation-client-ts/compare/0.1.43...0.1.44) - 2017-10-16
1082
1083### Added
1084
1085- Publish master and PR builds as pre-release versions to Atomist.
1086
1087### Changed
1088
1089- Updated @atomist/microgrammar to 0.7.0.
1090- Cleaned up dependencies.
1091- Dashboard improvements.
1092
1093## [0.1.43](https://github.com/atomist/automation-client-ts/compare/0.1.42...0.1.43) - 2017-10-11
1094
1095### Added
1096
1097- Mutation support in GraphQL.
1098
1099### Changed
1100
1101- GraphClient executeFile is now executeQueryFromFile.
1102
1103### Removed
1104
1105- Tree and path expression support moved to own module.
1106
1107## [0.1.37](https://github.com/atomist/automation-client-ts/compare/0.1.36...0.1.37) - 2017-10-02
1108
1109### Added
1110
1111- File replace and replaceAll.
1112
1113## [0.1.0](https://github.com/atomist/automation-client-ts/tree/0.1.0) - 2017-09-19
1114
1115### Added
1116
1117- Totally revamped command and event handler model.
1118- Added new `@Ingestor` automation type.
1119- Switched to GraphQL for querying data.