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

chore: update versions #1012

Merged
merged 1 commit into from
Jun 13, 2024
Merged

chore: update versions #1012

merged 1 commit into from
Jun 13, 2024

Conversation

github-actions[bot]
Copy link
Contributor

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.

Releases

@arktype/attest@0.8.0

Minor Changes

  • #1011 2be4f5b Thanks @ssalbdivad! - ### Throw by default when attest.instantiations() exceeds the specified benchPercentThreshold

    Tests like this will now correctly throw inline instead of return a non-zero exit code:

    it("can snap instantiations", () => {
    	type Z = makeComplexType<"asbsdfsaodisfhsda">
    	// will throw here as the actual number of instantiations is more
    	// than 20% higher than the snapshotted value
    	attest.instantiations([1, "instantiations"])
    })

    Snapshotted completions will now be alphabetized

    This will help improve stability, especially for large completion lists like this one which we updated more times than we'd care to admit 😅

    attest(() => type([""])).completions({
    	"": [
    		"...",
    		"===",
    		"Array",
    		"Date",
    		"Error",
    		"Function",
    		"Map",
    		"Promise",
    		"Record",
    		"RegExp",
    		"Set",
    		"WeakMap",
    		"WeakSet",
    		"alpha",
    		"alphanumeric",
    		"any",
    		"bigint",
    		"boolean",
    		"creditCard",
    		"digits",
    		"email",
    		"false",
    		"format",
    		"instanceof",
    		"integer",
    		"ip",
    		"keyof",
    		"lowercase",
    		"never",
    		"null",
    		"number",
    		"object",
    		"parse",
    		"semver",
    		"string",
    		"symbol",
    		"this",
    		"true",
    		"undefined",
    		"unknown",
    		"uppercase",
    		"url",
    		"uuid",
    		"void"
    	]
    })

Patch Changes

  • Updated dependencies [2be4f5b]:
    • @arktype/util@0.0.49
    • arktype@2.0.0-dev.24

@arktype/schema@0.1.16

Patch Changes

@arktype/util@0.0.49

Patch Changes

@ssalbdivad ssalbdivad merged commit 1aa6064 into main Jun 13, 2024
@ssalbdivad ssalbdivad deleted the changeset-release/main branch June 13, 2024 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (merged or closed)
Development

Successfully merging this pull request may close these issues.

None yet

1 participant