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

Version Packages (beta) #368

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Version Packages (beta) #368

merged 2 commits into from
Mar 25, 2024

Conversation

unional
Copy link
Owner

@unional unional commented Sep 24, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

[email protected]

Major Changes

  • a27e32e: Update IsSymbol and variances
  • 3957e31: Update IsUnknown and IsNotUnknown. Reomove UnknownType and NotUnknownType.
  • d677a79: Remove StrictBigintType and NotStrictBigintType
  • 9e51d0b: Remove NonUndefined. Use Exclude instead.
    Remove NonNull. Use Exclude instead.
  • 25b5d31: Remove Positive, Negative, NumericType, NotNumericType,
  • 7e2ab39: Update IsTuple and variances.
  • 322a33d: Update IsString and its variances.

Minor Changes

  • 33c0208: Update IsFunction, IsNotFunction, IsStrictFunction, IsNotStrictFunction.

    Remove FunctionType, NotFunctionType, StrictFunctionType, NotStrictFunctionType.

  • 4c991f1: Add Assignable<A, B>.
    Deprecated CanAssign<A, B> and StrictCanAssign<A, B>.

  • d884894: Add $DefineInputOptions and $DefineBranchOptions.
    Add support of handing $any, $unknown, $never for IsAny.

    Add $ResolveBranch that fixes the unknown passthrough issue.

    The types will be able to use in the form of IsAny<T, { $then:..., $else:...}>, hopefully.

    It's still not recommended to do so, but at least it will not produce weird results.

    Will need to convert other types to support that and add tests for them.

  • 4dc227a: Update IsObject and variants

Patch Changes

  • 973cc4a: Move source under packages/type-plus.

@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (2f085bc) to head (153608b).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #368   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           43        43           
  Lines          233       233           
  Branches        51        51           
=========================================
  Hits           233       233           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@unional unional force-pushed the changeset-release/main branch 5 times, most recently from 7b87fd3 to ed8ceef Compare September 27, 2023 05:08
@unional unional force-pushed the changeset-release/main branch 8 times, most recently from eb06cc6 to dc6a1d0 Compare October 9, 2023 03:21
@unional unional force-pushed the changeset-release/main branch 7 times, most recently from bf2932e to 79be562 Compare October 16, 2023 06:37
@unional unional force-pushed the changeset-release/main branch 9 times, most recently from c4af29c to 8ceb996 Compare October 21, 2023 17:08
@unional unional force-pushed the changeset-release/main branch 5 times, most recently from 3674e93 to 6889c2d Compare November 14, 2023 13:41
@unional unional force-pushed the changeset-release/main branch 3 times, most recently from b5ce1d4 to ed18459 Compare November 24, 2023 18:27
@unional unional force-pushed the changeset-release/main branch 5 times, most recently from b754750 to eddb484 Compare December 14, 2023 04:37
@unional unional force-pushed the changeset-release/main branch from eddb484 to 72e329d Compare December 26, 2023 15:56
@unional unional force-pushed the changeset-release/main branch 3 times, most recently from 21bfc01 to 8ddbadd Compare January 4, 2024 23:25
@unional unional force-pushed the changeset-release/main branch 6 times, most recently from a84dd6a to 64fb753 Compare January 15, 2024 13:31
@unional unional force-pushed the changeset-release/main branch 2 times, most recently from 081e4b3 to b5ded97 Compare January 23, 2024 11:10
@unional unional force-pushed the changeset-release/main branch from b5ded97 to 153608b Compare March 25, 2024 02:31
@unional unional merged commit 042b60f into main Mar 25, 2024
7 checks passed
@unional unional deleted the changeset-release/main branch March 25, 2024 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant