Skip to content

Commit

Permalink
chore: update versions (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 13, 2024
1 parent 2be4f5b commit 1aa6064
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 84 deletions.
5 changes: 0 additions & 5 deletions .changeset/eighty-ties-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/holy-moly-guacamole.md

This file was deleted.

71 changes: 0 additions & 71 deletions .changeset/thin-boxes-film.md

This file was deleted.

78 changes: 78 additions & 0 deletions ark/attest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,83 @@
# @arktype/attest

## 0.8.0

### Minor Changes

- [#1011](https://github.com/arktypeio/arktype/pull/1011) [`2be4f5b`](https://github.com/arktypeio/arktype/commit/2be4f5b391d57ad47dc6f4c0e4c9d31ae6b550c5) Thanks [@ssalbdivad](https://github.com/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:

```ts
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 😅

```ts
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`](https://github.com/arktypeio/arktype/commit/2be4f5b391d57ad47dc6f4c0e4c9d31ae6b550c5)]:
- @arktype/util@0.0.49
- arktype@2.0.0-dev.24

## 0.7.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion ark/attest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arktype/attest",
"version": "0.7.10",
"version": "0.8.0",
"author": {
"name": "David Blass",
"email": "david@arktype.io",
Expand Down
9 changes: 9 additions & 0 deletions ark/schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @arktype/schema

## 0.1.16

### Patch Changes

- [#1011](https://github.com/arktypeio/arktype/pull/1011) [`2be4f5b`](https://github.com/arktypeio/arktype/commit/2be4f5b391d57ad47dc6f4c0e4c9d31ae6b550c5) Thanks [@ssalbdivad](https://github.com/ssalbdivad)! - ### Improve discrimination logic across several issues (see primary release notes at [ArkType's CHANGELOG](../type/CHANGELOG.md))

- Updated dependencies [[`2be4f5b`](https://github.com/arktypeio/arktype/commit/2be4f5b391d57ad47dc6f4c0e4c9d31ae6b550c5)]:
- @arktype/util@0.0.49

## 0.1.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion ark/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arktype/schema",
"version": "0.1.15",
"version": "0.1.16",
"license": "MIT",
"author": {
"name": "David Blass",
Expand Down
6 changes: 6 additions & 0 deletions ark/util/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @arktype/util

## 0.0.49

### Patch Changes

- [#1011](https://github.com/arktypeio/arktype/pull/1011) [`2be4f5b`](https://github.com/arktypeio/arktype/commit/2be4f5b391d57ad47dc6f4c0e4c9d31ae6b550c5) Thanks [@ssalbdivad](https://github.com/ssalbdivad)! - ### Add a new `arrayEquals` util for shallow array comparisons

## 0.0.48

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion ark/util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arktype/util",
"version": "0.0.48",
"version": "0.0.49",
"author": {
"name": "David Blass",
"email": "david@arktype.io",
Expand Down

0 comments on commit 1aa6064

Please sign in to comment.