All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Dynamic goals. #785
- Drop WS socket requirement for k8s goal jobs. #788
- Support RegExp Intents and retrieving parameters from them. #794
- Move to using GraphQL mutations for SdmGoal and SdmGoalSet. #792
- Clean up YAML definition schema. #791
- Old style push rules and goal test create goals on every goal. #787
1.8.0 - 2019-12-06
- Fix signature. #777
- Make output less verbose during development. #772
- Switch to globby for glob matching. #775
- Return goal result from executeGoal. #780
- Build up jobs with many tasks. 80b8ba5
1.7.0 - 2019-09-09
- Update GeneratorRegistration Interface for AfterActions. #758
- Add concurrentTasks to createJob. bb21ac6
- Single repo operations as jobs. 1b87048
- Fail Goals after timeout . #681
- Queue goal doesn't start when canceling a single goal set. #727
- Fix no parameters issue with createJob. #759
promptFor
not sending continuation message in cluster mode. #765- Include mapped parameters when sending continuation message. af0729d
1.6.1 - 2019-07-11
- Update automation-client and lodash. 82b3dd3
1.6.0 - 2019-07-09
- Move code transforms to job support. #756
- Deprecate Fingerprint goal. 4e894f9
ProgressLog
is not populated for code transforms. #745
1.5.1 - 2019-06-04
- Update deps. 4adc725
- Reduce the log noise in error cases. a90e5cf
- Remove usage of externalKey in log. 760cedf
- Add missing array destructuring. 74704ac
- Skip sprintf if no args are given. e4c6410
- Fix typing on Autofix goal. ea2ce5c
1.5.0 - 2019-05-27
- Allow command name in actionableButton and menu. cc3f07a
- Retry options for FulfillableGoal. #700
- Add abrtitary string to allowed scopes for prefs. dda2232
- Catch error from running code transform. e880e41
- Allow control over transformPresentation with autofix. #687
- Allow
afterActions
on generator registrations. #714 - Change
Applying Autofix
toEvaluating Autofix
(or similar). #719 - Don't stop auto fix goal when transformPresentation is to a different branch. #725
- Add and & or to aggregate PushTests. a928fdb
- Add adapt functionality from decorator handlers. 8068ee5
- Add support for reading project configuration from a yaml file. #733
- Add progressLog to CodeInspection and CodeTransform. #737
- Set commit author on autofixes. fcd10b8
- Improvements to message sending protocol . #741
- Support printf style write method on
ProgressLog
. #263
- BREAKING Clean up push impact invocation. #703
- Remove .* repos default from BitBucketRepoTargets. 2f1fd7a
- Rolar log url should use uniqueName not name to avoid collision. #710
- Deprecate deployers. #734
- Pass context to project loader for code inspections. 80d367b
- Make setGoalsWhen respect enclosing PushTest. #708
- Use correct base branch for raising autofix PRs. ff68974
FulfillmentCallbacks
aren't running on goals without pre conditions. #701- When a GoalExecutionListener fails, the goal stays in progress. #739
- ExecuteGoalResult from a ProjectListener is not persisted. #738
1.4.1 - 2019-04-01
- Fix ChildProcessOnProject interface. 903693d
1.4.0 - 2019-04-01
- Provide the URL to the local SDM so it can give instructions. #690
- Add project-aware goal invocation converter. #697
- Default formatDate to UTC. #695
- GitHub lazy project loader honors branch. 72d0b02
1.3.0 - 2019-03-14
- Make full clone an option on CodeInspection Goal. #643
- Add mergeOptions method. 939c04c
- Stream files during code transform. #585
- Add PreferenceStore interface. #658
- Add services to a FulfillableGoal. e5e09df
- Add branchAwareCodeTransform to make it target branch aware. #659
- Support parameter prompting from command listeners. #661
- Support @Value in parameter declaration . #648
- Enhance the typedoc within CodeTransformRegistration. #665
- Add parameters to EventHandlerRegistration. 230db78
- Provide a useful implementation of onTransformResults. #666
- Add conditional command registration. #676
- Introduce goal signing and verification. #678
- Add types that help you specify what your Configuration is. #679
- Adds Gitlab repo targets for commands. #683
- Populate the SHA on projects when loading them. #652
- Make goal scheduling more plugable. #656
- Make LogSuppressor the default for logInterpreter. 6a921e2
- Deprecate lower case enum values. f556259
- Improve startingPoint handling in generators. #663
- Deprecate paramsMaker. #667
- Accept extensions starting with . in isMaterialChange. #674
- Deprecated
createGoal()
. 8b27e81 - Deprecate lower case enum values. f556259
- Deprecate paramsMaker. #667
- ChainTransforms swallows exceptions. #668
- Add parameters to EventHandlerRegistration. 230db78
- Remove atomist webhook handling from generators. 498bc1c
- Errors in machine function can get swallowed and ignored. #654
- Make lazy project loader work for generators. 2e0ed3e
- Do not swallow exceptions thrown by transforms in generators. #664
- ChainTransforms swallows exceptions. #668
1.2.0 - 2018-12-27
- Allow more options to be passed to createGoal. ab89243
- Add dryRun flag to CodeTransform invocations. #613
- Add helpers for
doWithRepos
anddoWithProject
. #615 - Provide spawnLog with consistent spawn interface. #620
- Add exec and spawn to doWithProject callback. #618
- Add goal function to create a new GoalWithFulfillment. 311a273
- Allow to register
GoalExecutionListener
on aGoalWithFulfillment
. #624 - Allow state computation in push rule evaluation. #630
- Add actionableMenu to create menus from CommandHandlerRegistrations. 9ddfe18
- Provide useful error messages when project generation fails. #634
- Add
targets.branch
toCodeTransform
targeting. #636 - Add ability to select goal based on push in DSL. #642
- BREAKING Introduce LazyProjectLoader and LazyProject interfaces. #625
- Don’t abort code transform on many repos if one repo fails. #626
- Rename enrichInvocation to attachFact. #632
- Stronger typing on actionable(Command|Menu). 1a3e3e2
- Change default code transform branch name to use proper date. 87a5514
- Deprecate sdmGoal on GoalInvocation. dbb25d2
- Remove old Builder interface; moved to sdm-pack-build. 6211aef
- Execute startupListeners before scheduling the triggered listeners. #611
- Using
createGoal
with space indisplayName
creates invaliduniqueName
. #623 - Fix issues when pushTest is missing on project listener. 7fd6fab
- Update doc on goal execution listener. #639
1.1.0 - 2018-12-08
- Add support for canceling goals. #572
- Add review listeners that set goal result state. #573
- Fingerprints do not support deployments to staging. #579
- Update child_process usage. #584
- CommandHandlerRegistrations supporting hints for "autoSubmit". #577
- Add support for trigger listeners. #595
- Add
Queue
goal to queue goal sets. #597
- Make
code
onExecuteGoalResult
optional. #586 - Polishing: use readonly arrays. #591
- Run PushMappings sequentially. #594
- Update child_process usage. #584
- Configuration Validation Issue. #578
1.0.1 - 2018-11-09
- Add WellKnownGoals. #566
- Expose push to inspection and autofixes and remove broken considerOnlyChangedFiles option. #568
- Add decision manager to decide on final approval vote. 68ff03e
- Add slackQuestionMessage. 1cb71e2
- Allow to disable sending of review errors to slack. 04da438
- Map SdmGoals to Goals for custom descriptions, without hard-coding a list. #294
- BREAKING Remove
considerOnlyChangedFiles
setting on autofix and inspection registrations. This should be handled specific registrations. #568 - Add externalUrls on ExecuteGoalResult and deperate targetUrls. 687a9ed
- Replace
Promise<any>
withPromise<void>
. #570
1.0.0-RC.2 - 2018-10-30
- Reading projectConfigurationValue falls back to SDM config. 49d928a
- Add convenience goal project listeners for after and before. 4b8ab7e
- Add
setNoMoreGoals
to push rule DSL - Add ability to run through entire GoalSets without causing side effects. #551
- Add fetchGoalsFromPush method to read goals from subscription. #559
- Store multiple external urls per goal with link and label. #557
- Add version number to SdmGoal and use in compositeId instead of ts. #552
- Add createPredicatedGoal. #560
- Expose structure of push tests and push rules. #558
- Add commit-images link to GraphQL. #561
- Set goal state command doesn't get goals for multiple goal sets correct. #563
1.0.0-RC.1 - 2018-10-15
- Add tags to ExtensionPack metadata. #543
- BREAKING Remove well known goals. #541
- BREAKING Remove SDM-level goal methods. #545
- BREAKING Remove old style registration methods. #546
- BREAKING Remove client exports from SDM. #547
- For finding changes in the push, use the list of commits and not
before
. #293
1.0.0-M.5 - 2018-09-26
- New states for stopped and canceled goals. #533
- BREAKING Test. #534
- Support code level project listeners. #536
- Add pre-approval states for goals. #537
- Make environment optional on GoalDefinition. #530
- ExecuteGoalResult should not extend HandlerResult. #469
- Typo: getGoalDefintionFrom. #529
- Typo: getGoalDefintionFrom. #529
1.0.0-M.4 - 2018-09-16
- Prepare to hook in client startup events. #520
- When a new-style goal has no implementation, fail it. #512
- Fingerprint listeners should get all of the fingerprints delivered to…. #519
- BREAKING Deprecate per SDM methods related to specific goals. #518
- No such file or directory
~/.atomist.log
. #514 - Pass depth down to
git clone
in order to correctly diff the changes. #513
1.0.0-M.3 - 2018-09-04
- Added
EnforceableProjectInvariantRegistration
. - Added
AutoInspectRegistration
. - Register shutdown hooks to clean up cloned directories. #494
- Allow to set description from a
ExecuteGoal
. #1d18bf9 - Add
IsPushToPullRequest
push test. #496 - Add reason to a goal approval vote. #eaf2f60
- Allow goals to receive implementations and listeners. #504
- Starting point should be able to handle a Promise returning function. #500
- Add typed
Build
goal to registerBuilder
instances. #506 - Goal names are now automatically generated based on source code location. #507
- BREAKING
AutofixRegistration.parameters
method renamed toparametersInstance
. - BREAKING
CodeTransformRegistration.react
method renamed toonTransformResults
. - BREAKING
CodeInspectionRegistration.react
method renamed toonInspectionResults
. - BREAKING
ReviewerRegistration.action
renamedinspect
. - BREAKING Rename
ReviewGoal
-> `CodeInspectionGoal. #e30b6c1 - BREAKING Evaluate pushTest when selecting goal implementations. #493
- BREAKING
addNewRepoWithCodeListener
renamedaddFirstPushListener
. - Push tests for adding a goal implementation are not run. #490
- Transform-testNaming. #502
- BREAKING Remove unimplemented property observesOnly. #501
- BREAKING No longer export
EditResult
. UseTransformResult
CodeTransform
functions no longer need to returnProject
orTransformResult
1.0.0-M.1 - 2018-08-27
- Prepare for 1.0.0 release.
0.4.8 - 2018-08-27
- Specific logging on cleanup of cached project. #483
0.4.7 - 2018-08-24
0.4.6 - 2018-08-24
0.4.5 - 2018-08-23
0.4.4 - 2018-08-22
- CachingProjectLoader doesn’t clean file system resources. #482
0.4.3 - 2018-08-21
0.4.2 - 2018-08-17
0.4.1 - 2018-08-09
- By default, address channels on a transform. #474
- Key types from
automation-client
are now exported by this module, which serves as the main Atomist API.
- Fixed name of OnIssueAction GraphQL subscription.
- OnNewIssue GraphQL subscription.
0.4.0 - 2018-08-07
- Add paging for goals. #436
- Add DSL for creating Goals. #437
- Add "build aware" code transform support. Replaces "dry run" support presently in
sdm-core
. CodeTransform
now takes a second argument of typeCommandListenerInvocation
for consistency and to expose more context to transforms.CodeInspecton
registration to run a non-mutating command against one or more repositories.- Add goal set completion listener. #275
- Support BitBucket. #225
CodeTransform
registration can now specify areact
method to run after transforms are complete.- Add ability to extract and report goal Progress. #455
- Add predicate mapping cost analyzer. #459
- Collect names of Goal and Goals instances in contributor model. #461
- Add
GoalExecutionListener
to track goal execution within an SDM. - Add support voting on goal approval in an SDM. #465
- Add goal locking model through
LockingGoal
andGoals.andLock()
- BREAKING Command handler and autofix registrations are now strongly typed, defaulting to
NoParameters
rather thanany
. - BREAKING Remove deprecated
addEditor
SDM method, and deprecatedcreateTransform
method onProjectOperationRegistration
. - BREAKING
addPushReaction
renamedaddPushImpactListener
for consistency. - BREAKING
addNewRepoWithCodeAction
renamedaddNewRepoWithCodeListener
for consistency. - BREAKING
CodeTransformRegistration.editMode
is replaced bytransformPresentation
. - BREAKING
CommandHandler
registrations must now specify alistener
.createCommand
alternative is removed. - BREAKING Review listeners must now have names. Introduced
ReviewListenerRegistration
- Make a better workaround for not getting org token on custom events. #279
- Link is missing on npm publish goal. #447
0.3.1 - 2018-07-05
- Timeout goals after 10mins or config value. #427
- Allow generator registrations to specify a starting point. #425
- Rename "editor" to "codeTransform" for clarity. #424
- BREAKING
onAnyPush
becomes a function to avoid side effects. - BREAKING
CodeTransform
is now an alias forSimpleProjectEditor
to make the commonest case natural. UseCodeTransformRegisterable
to return anEditResult
. - Generators can now have parameter types that don't extend
SeedDrivenGeneratorParameters
, as this will be mixed in.
- Rename to GoalInvocation; deprecate status. #426
- Do not memoize pre-emptively. #431
0.3.0 - 2018-06-16
- BREAKING Broke out
sdm
andsdm-core
.