UNPKG

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