Skip to content

chore(deps): update dependency octokit-plugin-create-pull-request to v5#119

Merged
gr2m merged 1 commit intomainfrom
renovate/octokit-plugin-create-pull-request-5.x
Aug 20, 2023
Merged

chore(deps): update dependency octokit-plugin-create-pull-request to v5#119
gr2m merged 1 commit intomainfrom
renovate/octokit-plugin-create-pull-request-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jun 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
octokit-plugin-create-pull-request ^4.0.0 -> ^5.0.0 age adoption passing confidence

Release Notes

gr2m/octokit-plugin-create-pull-request (octokit-plugin-create-pull-request)

v5.1.0

Compare Source

Features

v5.0.0

Compare Source

Features
BREAKING CHANGES
  • The meaning of null has changed!

Previously the following snippet was causing a file deletion.

files: {
  "file/to/delete.txt": null
}

If you want to retain this behavior you must use the DELETE_FILE Symbol

import { createPullRequest, DELETE_FILE } from 'octokit-plugin-create-pull-request';

files: {
  "file/to/delete.txt": DELETE_FILE
}

If you want to trigger a file deletion from an update function, you can now do so by returning the deleteFile Symbol.

import { createPullRequest, DELETE_FILE } from 'octokit-plugin-create-pull-request';

files: {
  "file/to/delete.txt": ({ exists, encoding, content }) => {
    const fileContent = Buffer.from(content, encoding).toString("utf-8")

    if (fileContent.includes('abc')) {
      // trigger file deletion
      return DELETE_FILE
    }

    // do not alter file content
    return null;
  }
}

v4.2.2

Compare Source

Bug Fixes
  • build: add script to fix package.json before publishing (#​127) (f961a6d)

v4.2.1

Compare Source

Bug Fixes

v4.2.0

Compare Source

Features

v4.1.2

Compare Source

Bug Fixes
  • deps: bump yaml and semantic-release (3064d0b)

v4.1.1

Compare Source

Bug Fixes
  • add check to make sure that the head and the base are different (#​115) (10e9a30)

v4.1.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@gr2m gr2m merged commit c4241d2 into main Aug 20, 2023
@gr2m gr2m deleted the renovate/octokit-plugin-create-pull-request-5.x branch August 20, 2023 17:59
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 3.3.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant