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 #356

Merged
merged 1 commit into from
Oct 28, 2024
Merged

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 added the renovate label Aug 11, 2024
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 4 times, most recently from 35252bc to c00c04e Compare August 18, 2024 12:44
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 5 times, most recently from 9e12b52 to be0619b Compare August 24, 2024 01:04
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 5 times, most recently from db8735a to 0d58ad3 Compare September 2, 2024 03:11
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 7 times, most recently from b264fa4 to f11b8ba Compare September 9, 2024 22:54
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 8 times, most recently from 01c1fd1 to 9fb7b4f Compare September 17, 2024 14:29
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 5 times, most recently from fb80cde to f82ed90 Compare October 8, 2024 03:54
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 6 times, most recently from e922e02 to baadc0c Compare October 15, 2024 21:11
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 11 times, most recently from 2d2e3e1 to 093dc75 Compare October 23, 2024 10:15
@renovate renovate bot force-pushed the renovate/true-myth-8.x branch 4 times, most recently from 9b0c6c4 to 52697da Compare October 28, 2024 04:27
@screendriver screendriver merged commit 79418ca into main Oct 28, 2024
6 checks passed
@screendriver screendriver deleted the renovate/true-myth-8.x branch October 28, 2024 06:33
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