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

⬆️ Update dependency true-myth to v8 #398

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
true-myth (source) 7.4.0 -> 8.0.1 age adoption passing confidence

Release Notes

true-myth/true-myth (true-myth)

v8.0.1

Compare Source

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

v8.0.0

Compare Source

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

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 5 times, most recently from 5ae315b to 6f30230 Compare August 18, 2024 12:38
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 4 times, most recently from b3f2659 to a6fdc00 Compare August 26, 2024 05:08
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 4 times, most recently from cfcd07a to 8e79796 Compare September 4, 2024 04:45
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 5 times, most recently from cf999f3 to e3572a4 Compare September 11, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants