UNPKG

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