Skip to content

Latest commit

 

History

History
311 lines (203 loc) · 24.8 KB

CHANGELOG.md

File metadata and controls

311 lines (203 loc) · 24.8 KB

Changelog

[0.12.4]

Dependencies

  • Upgraded to covector@0.12.4

[0.12.3]

Enhancements

  • 294a3c0 (#354 by @jbolda) The action now supports running in dry run mode. This enables testing of workflows and publish sequences prior to publishing.

Bug Fixes

  • 9f85eae (#355 by @jbolda) The URL to create a change file on forks was broken. It was incorrectly pointing at the root repo.
  • e81201f (#350 by @chippers) Fix GitHub pull request comment link to correctly point at the docs.

Dependencies

  • Upgraded to covector@0.12.3

[0.12.2]

Dependencies

  • Upgraded to covector@0.12.2

[0.12.1]

Bug Fixes

  • 055a319 (#343 by @jbolda) Missed some logger function which were improperly passed an non-message object. If rendering an object, it requires msg and renderAsYAML.

Dependencies

  • Upgraded to covector@0.12.1

[0.12.0]

  • e5d2be5 (#322 by @echocaro) On comment post error, upload the content instead as an artifact. This prevents the workflow from failing on a fork, and allows another workflow with permissions to handle the work from there.

New Features

  • c78050e (#324 by @jbolda) Handle workflow_run to enable generating a comment, uploading it as an artifact and post the comment in a workflow which has appropriate permissions.

Enhancements

  • e2c83dc (#318 by @jbolda) Add exports to package.json for improved capability and an enhanced experience when developed covector and testing locally.
  • dda5430 (#337 by @jbolda) When there are no changes, also include a link to create a new change file.
  • c72c060 (#316 by @jbolda) Use node v20 in GitHub Action.
  • ce43ad7 (#319 by @jbolda) Add logger instance to allow custom loggers based on the usage context. It enables different structured logs for the CLI vs within a GitHub Action, as well as for local development and testing.

Dependencies

  • Upgraded to covector@0.12.0

Changes Supporting Covector Development

  • ce43ad7 (#319 by @jbolda) Switch to Vitest for the test runner. This improves speed and enables improved ability to update to current standards. Additionally, we use pino-test with the changes to the logger to more specifically check log output. Along with this, we switch multiple test fixtures to run commands that would return more standard output across OS which reduces test flakiness.

[0.11.0]

  • 9480736 (#299 by @jbolda) Return additional status content from covector to enable posting a comment in PR providing additional context of the expected change files.
  • 9202dca (#307 by @jbolda) Pass createContext function from action through to changelog to enable passing specific context usable within changelogs.
  • 9480736 (#299 by @jbolda) Add option to post a comment in a GitHub pull request comment lifting the context from covector.
  • 2db4d6e (#309 by @jbolda) The GitHub comment was previously rather terse. We are now including the sha within the comment so as to make it clear when the command last ran.
  • 9202dca (#307 by @jbolda) Query the GitHub API for the PR creator, and highlight their names in the changelogs for recognition of their contribution.
  • 737ebed (#310 by @jbolda) Fix links within GitHub by removing the explicit markdown syntax to allow GitHub Flavored Markdown to resolve, render and interlink the Version Packages PR with the change files and their PRs.

Dependencies

  • Upgraded to covector@0.11.0

[0.10.2]

Dependencies

  • Upgraded to covector@0.10.2

[0.10.1]

Dependencies

  • Upgraded to covector@0.10.1

[0.10.0]

New Features

  • 54f9d7a(#280) Support built-in commands to simplify typical operations.

Enhancements

  • 5b7ab24(#274) Add support to Cargo's build-dependencies and target-specific dependencies.

Dependencies

  • Upgraded to covector@0.10.0

[0.9.0]

Dependencies

  • 7b6201c(#264) Bump Typescript to v4.9, and deeply update types in the lower level functions to start.

New Features

  • 0b33560(#244) Add changelog tags (section or category) to group different change files.

Enhancements

  • 2ba699d(#243) Update the changelog format to fix multi-line change files and reduce commit noise.

[0.8.0]

  • Run the Github Action with Node v16. The previous version, Node v12, will no longer be supported.
    • d40c111 chore(action): Use Node.js 16.x (#249) on 2022-12-19
  • Update @actions/core and @actions/github to remove deprecation warnings.
    • 3783b53 chore(action): Update actions/core and actions/github dependencies (#248) on 2022-12-21
  • Update multiple devDeps, semver, yargs, inquirer, and packages in our action. This is primarily internal upgrades and don't affect external APIs.
  • Remove the to-vfile package as a dependency. This allows us to focus our file reference to our specific needs, and one less dependency to maintain. With this change, we also converted a handful of promises into generators for better compatibility and control with effection.
  • Set the target_commitish field on created releases.
    • 8f4bad1 feat: set target_commitish for the release, closes #250 (#251) on 2022-12-22
  • Upgrade to effection v2. This is primarily an internal improvement, but will enable future features such as fetching from an endpoint to check if a version of a package was published. It also brings an updated dependency to gracefully shutdown windows processes.

[0.7.0]

  • The action created a release for any publish keys in pkgManger, but didn't do it for anything specified in packages. This meant that if you elected not to use pkgManager, it would not create a release. This has been fixed and it will now create a release. We also added some debug output to improve the debugging experience.
    • 695feed fix packages release creation (without pkgManagers) and add debug output (#226) on 2021-09-23
  • Include information about the created release in the actions outputs
    • 028ae89 Release info in action output (#221) on 2021-09-09

[0.6.2]

  • Preview version template overwrites the prerelease identifier
    • Bumped due to a bump in covector.
    • b6e21bc Preveiw versioning for packages in prerelease mode (#217) on 2021-07-08

[0.6.1]

  • The ability to adjust the Github Release git tag was previously added, and the fallback used only worked for JavaScript packages. This fix uses the package nickname instead which will work for any package manager.
    • Bumped due to a bump in covector.
    • e4eb944 fix: github release tag using package nickname (#218) on 2021-07-02

[0.6.0]

  • Adds the ability to update a Github Release if it exists and is a draft, or create it if it doesn't yet exist.
    • 6742580 feat: publish existing draft GitHub Release (#211) on 2021-06-18
  • Allow one to specify the releaseTag that determines the Github Release tag used. This also let's you specify false to explicitly skip creating a Github Release for the package. resolves #203, resolves #204.
    • 6742580 feat: publish existing draft GitHub Release (#211) on 2021-06-18

[0.5.0]

  • Adjust output from assemble and covector to expose the template that is piped into each command. This allows us to set it as an output in the github action.
    • 5797e79 feat: github action output template pipe (#208) on 2021-05-18
  • The status command did not previously have any output to act on. Add a new output that contains the covector output.
    • e8c98f5 feat: yaml and generic file support (#196) on 2021-05-07
  • Bump @effection/node which fixes and now supports node 16 on Windows. (Other platforms had full support.)
    • 78222c4 bump @effection/node for node@16 windows support (#210) on 2021-05-28
  • This switches to using Typescript project references to build (previously rollup). It should affect the underlying packages or use.
    • a9aedb1 chore: build workflow updates (#175) on 2021-04-07
    • 5506b19 feat: add preview command to covector (#187) on 2021-05-05
    • e388cc7 feat: prerelease mode and publishing (#180) on 2021-05-13
  • Pass head branch name into covector for running preview in action Tag gets piped into template in assemble Fix published boolean bug in command
    • 2bdc840 feat: Add dist-tag for preview publishing... and fix the published boolean bug (#200) on 2021-05-13
  • Add preview command for versioning and publishing preview packages
    • f6db347 feat: preparations of covector/action for building and publishing preview packages (#179) on 2021-04-13
    • 5506b19 feat: add preview command to covector (#187) on 2021-05-05
  • Action generates pull request comments when it runs covector preview
    • b528f44 feat: pr comment generator for covector preview (#191) on 2021-05-05

[0.4.3]

  • Mock out full Github Release flow to help in testing the Github Action. Adjust command pipe to function to fix undefined being piped to Github Release body.
    • a7e1b20 fix: mock out full GitHub release flow (#172) on 2021-03-27

[0.4.2]

  • Pipe the previous command output into function commands. This is primarily for the Github Releases which injects functions and will need the changelog output from pkgCommandsRan.
    • 66539a8 fix: GitHub release pipe (#164) on 2021-03-24

[0.4.1]

  • The action dist folder was accidentally gitignored. We want to commit it so actions can run directly from the dist without install.
    • ac2f857 chore: fix gitignore for action (#160) on 2021-03-18

[0.4.0]

  • Bump effection to stable v1.

[0.3.4]

  • Fix init Rust based packages coming in as undefined.
    • Bumped due to a bump in covector.
    • 1b8eca7 fix: rust based packages undefined (#151) on 2021-02-22

[0.3.3]

  • The result of the action had the covector output scoped, and further on logs failed. Hoist it so it is in the correct scope.
    • e0ceae9 fix: action output result undefined (#145) on 2021-02-14

[0.3.2]

  • The core method was not passed to the release util in the Github Action. This failed the Github Release creation.
    • c9026bd fix: core not passed in action (#143) on 2021-02-14

[0.3.1]

  • Switch to currying github context as binding returned undefined.
    • 5b60ba1 fix: curry github release info (#141) on 2021-02-14

[0.3.0]

  • Add extra outputs for which packages published and a list of packages. This is useful for chaining runs of the action together.
    • 7d3b0d6 feat: add action output to better show which packages published (#130) on 2020-11-26
  • Some workflows require different actions for different packages. Most of this can be codified into config. However there are cases where you may need to run a command for a dynamic set of packages.
  • Add modifyConfig property that takes a function which can modify the config file that is loaded. This will likely only be used in the Github Action to inject a JavaScript function into the publish sequences which creates a Github Release.
    • 6dc90bf feat: reorder GitHub release step (#136) on 2021-02-09

[0.2.6]

  • The command sequence was piping to the return correctly, but in publish, we didn't properly concat the text. Fix that.
    • Bumped due to a bump in covector.
    • 095fe43 fix: proper pipe publish output in action (#114) on 2020-07-21

[0.2.5]

  • Add extra outputs that says which command was run (for version-or-publish) and if something was published.
    • 65aad0f feat: adjust action output for better follow on step responses (#111) on 2020-07-19

[0.2.4]

  • Increase default timeout and allow it to be set from config.
    • Bumped due to a bump in covector.
    • a80e2ee chore: increase default timeout (#106) on 2020-07-17

[0.2.3]

Bumped due to dependency.

[0.2.3]

  • Fix create release and upload errors on publish.
    • f0443c1 fix: create release on publish (#100) on 2020-07-14

[0.2.2]

Bumped due to dependency.

[0.2.2]

  • In --dry-run mode, output the expected commands with data piped in.
    • Bumped due to a bump in covector.
    • 1bb67ea fix: missing publish pipe (#94) on 2020-07-10

[0.2.1]

  • Shift getPublishedVersion check prior to commands running. Without this, postpublished would never run (since packages were just published and are update to date).
    • Bumped due to a bump in covector.
    • 922d224 fix: getPublishedVersion check shift (#92) on 2020-07-10

[0.2.0]

  • Added new dryRunCommand to specify a different command to run instead in --dry-run mode instead of skipping the specified command.
    • Bumped due to a bump in covector.
    • 3ca050c feat: advanced commands (#71) on 2020-07-06
  • Change files were being deleted too quickly for git info to be retrieved. Shift to end of sequence.
    • Bumped due to a bump in covector.
    • 85bff4b fix: delay change file deletion for git info retrieval (#82) on 2020-07-09
  • Pull and set git meta information on change files as an array of commits. This can then be piped into changelogs.
    • Bumped due to a bump in covector.
    • cc19486 feat: new command package and piped git info (#78) on 2020-07-09
    • de3248d feat: dep bump note in changelog (#87) on 2020-07-10
  • Allow complex commands specified as an object. This let's one specify a dryRunCommand that is executed in --dry-run mode instead (so no accidental publishes!) or to set pipe to true that the output is returned from the main covector function. The pipe likely won't be used directly, but can be consumed within the action to create a Github Release, etc.
    • Bumped due to a bump in covector.
    • 3ca050c feat: advanced commands (#71) on 2020-07-06
  • Version commands used to only run on changes, but ignore parents. Reconfigure that we resolve the parents and run commands on both direct changes and changes through a dependency.
    • Bumped due to a bump in covector.
    • 3ca050c feat: advanced commands (#71) on 2020-07-06
  • Adjust covector publish command to return the pkg as part of the out.
    • Bumped due to a bump in covector.
    • a1ac9f7 feature: github release on publish (#76) on 2020-07-08
  • Split out child_process commands into separate package.
    • Bumped due to a bump in covector.
    • cc19486 feat: new command package and piped git info (#78) on 2020-07-09

[0.1.1]

Bumped due to dependency.

[0.1.0]

Bumped due to dependency.

[0.0.3]

Bumped due to dependency.

[0.0.2]

Bumped due to dependency.