Skip to content

Latest commit

 

History

History
438 lines (296 loc) · 25.1 KB

CHANGELOG.md

File metadata and controls

438 lines (296 loc) · 25.1 KB

Changelog

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.

Fixed

  • ProgressLog is not populated for code transforms. #745

1.5.1 - 2019-06-04

Changed

  • Update deps. 4adc725
  • Reduce the log noise in error cases. a90e5cf
  • Remove usage of externalKey in log. 760cedf

Fixed

  • 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

Added

  • 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 to Evaluating 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

Changed

  • 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

Deprecated

  • Session ID being used as Bearer in Authorization header. #689
  • Deprecate deployers. #734

Fixed

  • 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

Fixed

  • Fix ChildProcessOnProject interface. 903693d

1.4.0 - 2019-04-01

Added

  • Provide the URL to the local SDM so it can give instructions. #690
  • Add project-aware goal invocation converter. #697

Changed

  • Default formatDate to UTC. #695

Fixed

  • GitHub lazy project loader honors branch. 72d0b02

1.3.0 - 2019-03-14

Added

  • 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

Changed

  • 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

  • Deprecated createGoal(). 8b27e81
  • Deprecate lower case enum values. f556259
  • Deprecate paramsMaker. #667
  • ChainTransforms swallows exceptions. #668
  • Add parameters to EventHandlerRegistration. 230db78

Removed

  • Remove atomist webhook handling from generators. 498bc1c

Fixed

  • 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

Added

  • Allow more options to be passed to createGoal. ab89243
  • Add dryRun flag to CodeTransform invocations. #613
  • Add helpers for doWithRepos and doWithProject. #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 a GoalWithFulfillment. #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 to CodeTransform targeting. #636
  • Add ability to select goal based on push in DSL. #642

Changed

  • 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

Deprecated

  • Deprecate sdmGoal on GoalInvocation. dbb25d2

Removed

  • Remove old Builder interface; moved to sdm-pack-build. 6211aef

Fixed

  • Execute startupListeners before scheduling the triggered listeners. #611
  • Using createGoal with space in displayName creates invalid uniqueName. #623
  • Fix issues when pushTest is missing on project listener. 7fd6fab
  • Update doc on goal execution listener. #639

1.1.0 - 2018-12-08

Added

  • 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

Changed

  • Make code on ExecuteGoalResult optional. #586
  • Polishing: use readonly arrays. #591
  • Run PushMappings sequentially. #594

Deprecated

  • Update child_process usage. #584

Fixed

  • Configuration Validation Issue. #578

1.0.1 - 2018-11-09

Added

  • 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

Changed

  • 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> with Promise<void>. #570

1.0.0-RC.2 - 2018-10-30

Added

  • 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

Fixed

  • Set goal state command doesn't get goals for multiple goal sets correct. #563

1.0.0-RC.1 - 2018-10-15

Added

  • Add tags to ExtensionPack metadata. #543

Removed

  • 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

Fixed

  • For finding changes in the push, use the list of commits and not before. #293

1.0.0-M.5 - 2018-09-26

Added

  • New states for stopped and canceled goals. #533
  • BREAKING Test. #534
  • Support code level project listeners. #536
  • Add pre-approval states for goals. #537

Changed

  • Make environment optional on GoalDefinition. #530
  • ExecuteGoalResult should not extend HandlerResult. #469

Deprecated

  • Typo: getGoalDefintionFrom. #529

Fixed

  • Typo: getGoalDefintionFrom. #529

1.0.0-M.4 - 2018-09-16

Added

  • Prepare to hook in client startup events. #520

Changed

  • When a new-style goal has no implementation, fail it. #512
  • Fingerprint listeners should get all of the fingerprints delivered to…. #519

Deprecated

  • BREAKING Deprecate per SDM methods related to specific goals. #518

Fixed

  • 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

  • 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 register Builder instances. #506
  • Goal names are now automatically generated based on source code location. #507

Changed

  • BREAKING AutofixRegistration.parameters method renamed to parametersInstance.
  • BREAKING CodeTransformRegistration.react method renamed to onTransformResults.
  • BREAKING CodeInspectionRegistration.react method renamed to onInspectionResults.
  • BREAKING ReviewerRegistration.action renamed inspect.
  • BREAKING Rename ReviewGoal -> `CodeInspectionGoal. #e30b6c1
  • BREAKING Evaluate pushTest when selecting goal implementations. #493
  • BREAKING addNewRepoWithCodeListener renamed addFirstPushListener.
  • 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. Use TransformResult
  • CodeTransform functions no longer need to return Project or TransformResult

Fixed

  • Fix incorrect print statement. #497
  • SDM doesn't start with 1.0.0-M.1. #495

1.0.0-M.1 - 2018-08-27

Changed

  • Prepare for 1.0.0 release.

0.4.8 - 2018-08-27

Added

  • 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

Fixed

  • 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

Added

  • 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.

Changed

  • Fixed name of OnIssueAction GraphQL subscription.

Deprecated

  • OnNewIssue GraphQL subscription.

0.4.0 - 2018-08-07

Added

  • 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 type CommandListenerInvocation 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 a react 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 and Goals.andLock()

Changed

  • BREAKING Command handler and autofix registrations are now strongly typed, defaulting to NoParameters rather than any.
  • BREAKING Remove deprecated addEditor SDM method, and deprecated createTransform method on ProjectOperationRegistration.
  • BREAKING addPushReaction renamed addPushImpactListener for consistency.
  • BREAKING addNewRepoWithCodeAction renamed addNewRepoWithCodeListener for consistency.
  • BREAKING CodeTransformRegistration.editMode is replaced by transformPresentation.
  • BREAKING CommandHandler registrations must now specify a listener. createCommand alternative is removed.
  • BREAKING Review listeners must now have names. Introduced ReviewListenerRegistration

Fixed

  • 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

Added

  • Timeout goals after 10mins or config value. #427
  • Allow generator registrations to specify a starting point. #425

Changed

  • Rename "editor" to "codeTransform" for clarity. #424
  • BREAKING onAnyPush becomes a function to avoid side effects.
  • BREAKING CodeTransform is now an alias for SimpleProjectEditor to make the commonest case natural. Use CodeTransformRegisterable to return an EditResult.
  • Generators can now have parameter types that don't extend SeedDrivenGeneratorParameters, as this will be mixed in.

Deprecated

  • Rename to GoalInvocation; deprecate status. #426

Removed

  • Do not memoize pre-emptively. #431

0.3.0 - 2018-06-16

Changed

  • BREAKING Broke out sdm and sdm-core.