Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump true-myth from 6.2.0 to 8.0.1 #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 23, 2024

Bumps true-myth from 6.2.0 to 8.0.1.

Release notes

Sourced from true-myth's releases.

v8.0.1

🐛 Bug Fix

  • #811 fix: do not set sourceRoot in tsconfigs (@​chriskrycho) – this should make source maps resolve correctly!

Committers: 1

v8.0.0

This is a pretty small “breaking” release: it makes a change so True Myth is more type safe than it was before, specifically when constructing known-Ok or known-Err types with Result.ok and Result.err. In earlier versions, if you wrote Result.ok(123), the type would be Result<number, unknown>. New contributor @​auvred pointed out that in that case, we know there is never an error type, though, so we can use the never type. This is breaking in that you may have to explicitly annotate some types where you did not before, because of the assignability rules for unknown and never (cf. this playground).

Net, very little of your code should have to change, but where it does, it will be safer than it was before! Thanks to @​auvred for the improvement!

💥 Breaking Change

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

🚀 Enhancement

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

📝 Documentation

Committers: 2

v7.4.0

🚀 Enhancement

📝 Documentation

Committers: 2

v7.3.0

🚀 Enhancement

  • #756 Forbid null and undefined as arguments to Maybe.just (@​chriskrycho)

    Note: This is not a breaking change, but a feature: it is what we always wanted, and aligns the types with the runtime behavior. However, it may in some cases require additional type annotations when working directly with a Result and using toolbelt functions. Specifically, there were some cases where the old implementation unsafely allowed unknown, which necessarily includes null | undefined, and could therefore end up with a Maybe<unknown>, and indeed via the unconstrained generic could move from Result<null, string> to Maybe<null> using e.g. the transposeResult method. This is no longer possible! 🎉

Committers: 1

... (truncated)

Changelog

Sourced from true-myth's changelog.

8.0.1 (2024-08-22)

🐛 Bug Fix

  • #811 fix: do not set sourceRoot in tsconfigs (@​chriskrycho) – this should make source maps resolve correctly!

Committers: 1

8.0.0 (2024-08-11)

This is a pretty small “breaking” release: it makes a change so True Myth is more type safe than it was before, specifically when constructing known-Ok or known-Err types with Result.ok and Result.err. In earlier versions, if you wrote Result.ok(123), the type would be Result<number, unknown>. New contributor @​auvred pointed out that in that case, we know there is never an error type, though, so we can use the never type. This is breaking in that you may have to explicitly annotate some types where you did not before, because of the assignability rules for unknown and never (cf. this playground).

Net, very little of your code should have to change, but where it does, it will be safer than it was before! Thanks to @​auvred for the improvement!

💥 Breaking Change

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

🚀 Enhancement

  • #789 fix: set error type in Result.ok and ok type in Result.err to never by default (@​auvred)

📝 Documentation

Committers: 2

7.4.0 (2024-07-10)

🚀 Enhancement

📝 Documentation

Committers: 2

7.3.0 (2024-05-26)

🚀 Enhancement

... (truncated)

Commits
  • 9cbff00 Release 8.0.1
  • 1bcbfc2 Merge pull request #811 from true-myth/fix-source-maps
  • 3d033f5 fix: do not set sourceRoot in tsconfigs
  • 16a69df Merge pull request #810 from true-myth/dependabot/npm_and_yarn/types/node-22.5.0
  • 7c8a0eb Bump @​types/node from 22.4.2 to 22.5.0
  • 77e1d0f Merge pull request #808 from true-myth/dependabot/npm_and_yarn/types/node-22.4.2
  • fc058e3 Bump @​types/node from 22.4.1 to 22.4.2
  • deccc63 Merge pull request #806 from true-myth/dependabot/npm_and_yarn/types/node-22.4.1
  • 7dd52d4 Merge pull request #807 from true-myth/dependabot/npm_and_yarn/typedoc-0.26.6
  • d435339 Bump typedoc from 0.26.5 to 0.26.6
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [true-myth](https://github.com/true-myth/true-myth) from 6.2.0 to 8.0.1.
- [Release notes](https://github.com/true-myth/true-myth/releases)
- [Changelog](https://github.com/true-myth/true-myth/blob/main/CHANGELOG.md)
- [Commits](true-myth/true-myth@v6.2.0...v8.0.1)

---
updated-dependencies:
- dependency-name: true-myth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants