UNPKG

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