[PR #66] [CLOSED] Bump github.com/pkg/errors from 0.8.1 to 0.9.0 #190

Closed
opened 2026-02-25 22:31:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/evenh/intercert/pull/66
Author: @dependabot-preview[bot]
Created: 1/13/2020
Status: Closed

Base: masterHead: dependabot/go_modules/github.com/pkg/errors-0.9.0


📝 Commits (1)

  • d0953c9 Bump github.com/pkg/errors from 0.8.1 to 0.9.0

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -0)

📄 Description

Bumps github.com/pkg/errors from 0.8.1 to 0.9.0.

Release notes

Sourced from github.com/pkg/errors's releases.

errors 0.9.0 is a preparation release for a 1.0 final release. Also we were working on removing support for Go 1.8, 1.9 and 1.10 and earlier, and become compatible this package with new way of errors on Go 1.13.

We tried to move into runtime.CallerFrames but this was not possible, you can show the explanation here: Issue 188.

The motivation for do the backward compatible this package with Go 1.13 is that you can migrate the easy way for this to the new way.

Now you could use the methods, Is and As, and the Unwrap() interface like on the standard library.

The method Cause is now compatible with fmt.Errorf("%w", err) and with the Unwrap() interface.

On the same way the methods related with wrapping on this package now are compatible with Cause and Unwrap() interface.

Improvements

  • .travis.yml Now use make file.
  • reduce allocations when printing stack traces. Thanks @cstockton
  • Reduce allocations in Stacktrace.Format
  • Add Support to Go 1.13. Thanks @jayschwa, @Sherlock-Holo and @puellanivis.
  • Add json.Marshaler support to the Frame type. Thanks @flimzy

Bugs fixed

  • .travis.yml Adjust Go versions. Thanks @komuw, @aperezg
  • minor fix in an example to print Stack Trace. Thanks @bep.
  • Remove not necessary code.
  • Clean up documentation. Thanks @seh.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/evenh/intercert/pull/66 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 1/13/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/go_modules/github.com/pkg/errors-0.9.0` --- ### 📝 Commits (1) - [`d0953c9`](https://github.com/evenh/intercert/commit/d0953c9cf761fe097c30e6407ed3c490d20bbee7) Bump github.com/pkg/errors from 0.8.1 to 0.9.0 ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -0) </details> ### 📄 Description Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.1 to 0.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pkg/errors/releases">github.com/pkg/errors's releases</a>.</em></p> <blockquote> <p>errors 0.9.0 is a preparation release for a 1.0 final release. Also we were working on removing support for Go 1.8, 1.9 and 1.10 and earlier, and become compatible this package with new way of errors on Go 1.13.</p> <p>We tried to move into <code>runtime.CallerFrames</code> but this was not possible, you can show the explanation here: <a href="https://github-redirect.dependabot.com/pkg/errors/issues/188">Issue 188</a>.</p> <p>The motivation for do the backward compatible this package with Go 1.13 is that you can migrate the easy way for this to the new way.</p> <p>Now you could use the methods, <code>Is</code> and <code>As</code>, and the <code>Unwrap()</code> interface like on the standard library.</p> <p>The method <code>Cause</code> is now compatible with <code>fmt.Errorf(&quot;%w&quot;, err)</code> and with the <code>Unwrap()</code> interface.</p> <p>On the same way the methods related with <code>wrapping</code> on this package now are compatible with <code>Cause</code> and <code>Unwrap()</code> interface.</p> <h1>Improvements</h1> <ul> <li><code>.travis.yml</code> Now use make file.</li> <li>reduce allocations when printing stack traces. Thanks <a href="https://github.com/cstockton">@cstockton</a></li> <li>Reduce allocations in Stacktrace.Format</li> <li>Add Support to Go 1.13. Thanks <a href="https://github.com/jayschwa">@jayschwa</a>, <a href="https://github.com/Sherlock-Holo">@Sherlock-Holo</a> and <a href="https://github.com/puellanivis">@puellanivis</a>.</li> <li>Add json.Marshaler support to the Frame type. Thanks <a href="https://github.com/flimzy">@flimzy</a></li> </ul> <h1>Bugs fixed</h1> <ul> <li><code>.travis.yml</code> Adjust Go versions. Thanks <a href="https://github.com/komuw">@komuw</a>, <a href="https://github.com/aperezg">@aperezg</a></li> <li>minor fix in an example to print Stack Trace. Thanks <a href="https://github.com/bep">@bep</a>.</li> <li>Remove not necessary code.</li> <li>Clean up documentation. Thanks <a href="https://github.com/seh">@seh</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pkg/errors/commit/49f8f617296114c890ae0b7ac18c5953d2b1ca0f"><code>49f8f61</code></a> Support Go 1.13 error chains in <code>Cause</code> (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/215">#215</a>)</li> <li><a href="https://github.com/pkg/errors/commit/004deef56200d8bd57ebfd6f8734c08fbd003f6d"><code>004deef</code></a> remove unnecessary use of fmt.Sprintf (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/217">#217</a>)</li> <li><a href="https://github.com/pkg/errors/commit/6d954f502eb89cd315e4baae5b0e0db516d6f787"><code>6d954f5</code></a> feat: support std errors functions (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/213">#213</a>)</li> <li><a href="https://github.com/pkg/errors/commit/7f95ac13edff643b8ce5398b6ccab125f8a20c1a"><code>7f95ac1</code></a> Add support for Go 1.13 error chains (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/206">#206</a>)</li> <li><a href="https://github.com/pkg/errors/commit/91f169312d9bf0c7709dc198651b9505ba85a239"><code>91f1693</code></a> travis.yml: add Go 1.13</li> <li><a href="https://github.com/pkg/errors/commit/ca0248e19befb8f46baae51a5a9951dd47740db5"><code>ca0248e</code></a> fix travis, 1.10 doesnt support by unconvert anymore</li> <li><a href="https://github.com/pkg/errors/commit/27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7"><code>27936f6</code></a> travis.yml: add Go 1.12 (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/200">#200</a>)</li> <li><a href="https://github.com/pkg/errors/commit/856c240a51a2bf8fb8269ea7f3f9b046aadde36e"><code>856c240</code></a> Add json.Marshaler support to the Frame type. (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/197">#197</a>)</li> <li><a href="https://github.com/pkg/errors/commit/ffb6e22f01932bf7ac35e0bad9be11f01d1c8685"><code>ffb6e22</code></a> Reduce allocations in StackTrace.Format (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/194">#194</a>)</li> <li><a href="https://github.com/pkg/errors/commit/565c8d0e9792ca31d3879306655fc323a949241b"><code>565c8d0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pkg/errors/issues/193">#193</a> from pkg/fixedbugs/188</li> <li>Additional commits viewable in <a href="https://github.com/pkg/errors/compare/v0.8.1...v0.9.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=github.com/pkg/errors&package-manager=go_modules&previous-version=0.8.1&new-version=0.9.0)](https://dependabot.com/compatibility-score.html?dependency-name=github.com/pkg/errors&package-manager=go_modules&previous-version=0.8.1&new-version=0.9.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 22:31:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/intercert#190
No description provided.