Skip to content

Releases: sorenlouv/backport

v8.3.1

05 Apr 20:06
Compare
Choose a tag to compare
  • fix: —until and —since should apply when using —pr-filter in #329
  • fix: only show shield.io badge for public repos in #328

v8.3.0

25 Mar 23:57
Compare
Choose a tag to compare
  • Validate target user specified branch #324 #325

v8.1.0

21 Mar 18:57
Compare
Choose a tag to compare

8.1.0 changes (#319)

  • Replace option ci with interactive
  • Add options: publishStatusCommentOnSuccess,publishStatusCommentOnFailure and publishStatusCommentOnAbort
  • Rename HandledError to BackportError
  • Improvements to tests

v8.0.0

21 Mar 18:56
Compare
Choose a tag to compare

Fix formatting of github comment (#317)

New signature of backportRun

const result = await backportRun({
  options: {
    accessToken: '...',
    repoOwner: 'elastic',
    repoName: 'kibana',
    pullNumber: 12
  }
});

Other improvements

  • Improved json output when running in CI
  • Added exitCodeOnFailure to prevent the process from setting a non-zero exit code on failure
  • replace insecure exec with slightly more secure spawn
  • Lots of tests

v7.4.0

21 Mar 18:55
Compare
Choose a tag to compare

Don’t exit with error if individual backports fail (#316)
This limits the usage of process.exit(1) to only be used in cli mode and only for unexpected/critical errors.

v7.3.0

22 Feb 12:16
Compare
Choose a tag to compare

What's Changed

  • fix: Add filepath to conflict message (#306)
  • feature: Infer git config user.email and git config user.name (#307)

v7.2.0

20 Feb 09:54
Compare
Choose a tag to compare
  • Feature: Output json (instead of text) when running in --ci mode (#300)
  • Feature: Add support for merge commits (#303)

v7.0.0

10 Feb 06:43
Compare
Choose a tag to compare

Improve clone speed for big repos (#293)
When initiating the backport process from an existing repository, the clone process can be sped significantly by cloning the local repository instead of the remote repository. For big repositories this changed the clone time from 15 minutes to less than 1 minute.

Bug fix: Show commits in list regardless of merge method (#297)
A bug introduced previously caused some commits to not show up if the resulting pull request was merged or rebased, as opposed to squash merged.
With the fix all commits should again be displayed regardless of merge method.

v6.1.5

17 Jan 23:22
Compare
Choose a tag to compare

--until and --since flags (#286)

Ability to filter commits by date

backport --all --since "2020-02-03" --until "2020-02-04"

--dir flag (#288)

By default the temporary repo will be checked out in ~/.backport/repositories/{project}. This option allows the user to specify the location of the temporary repository for the project.

--publishStatusComment (#288)

This setting makes it possible to disable posting of status comments on source pull requests

v6.1.1

05 Jan 23:00
Compare
Choose a tag to compare
  • username is no longer required but instead inferred from accessToken
  • upstream has been replaced by repoOwner and repoName
  • --all has been changed to a cli-only flag. It now simply sets author=null.

Public API:

  • Add getCommits API: Retrieve information about commits and whether they are backported
  • Rename run to backportRun