Skip to content

Commit

Permalink
chore: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and unional committed May 30, 2023
1 parent 2e73a0d commit 146ff06
Show file tree
Hide file tree
Showing 28 changed files with 79 additions and 166 deletions.
7 changes: 0 additions & 7 deletions .changeset/angry-boats-deliver.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/breezy-eagles-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/breezy-melons-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-pianos-attend.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/eleven-taxis-taste.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-pigs-fly.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/green-eggs-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-buttons-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-lizards-repeat.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/many-dodos-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-frogs-knock.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-nails-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/popular-kids-arrive.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/real-rabbits-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-fishes-lick.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/red-wasps-vanish.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shaggy-boats-smash.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shaggy-cats-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sixty-deers-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-bananas-hunt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-jars-worry.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/spotty-seahorses-join.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/ten-avocados-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-jokes-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-turkeys-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-moons-press.md

This file was deleted.

78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,83 @@
## [4.18.1](https://github.com/unional/type-plus/compare/v4.18.0...v4.18.1) (2022-12-09)

## 7.0.0

### Major Changes

- 91c954fb: Remove `Digit` and `DigitArray`.

They are internal types to begin with.
They were exported probably to fix the "type cannot be named" error.

- 469c8bd2: Fix array `PadStart`/`PadLeft` that triggers an infinite loop.

Change default `PadWith` from `any` to `unknown` (breaking).

### Minor Changes

- e11d43c5: Expose `FindLast` also as `ArrayPlus.FindList`.

Improved its handling of array.

- 25e5fcb2: add `NumericPlus`
- ee14247c: Add `ArrayPlus.SplitAt`
- a49abe20: Mark the following code as deprecated:

- `isType.t()`
- `isType.f()`
- `isType.never()`

- 4352d514: Add `StringToNumber`, `StringToBigint`, and `StringToNumeric`
- e93e366d: Add alternative `Partial<T>` type that works with `exactOptionalPropertyTypes`.
- 10af3634: Add `ArrayPlus.Reverse<A>`
- 82ffd7d9: Add `NumericToString`
- 72aca9d0: Add `MathPlus.ToNegative`
- 09495bec: Add `ArrayPlus.Entries<A>`.
- 3e0e199b: Add remaining types to `testType.*`.

`testType` is changed to a proxy to simplify implementation.

- 73bbcf0e: Add `PadStart`, deprecase `PadLeft`
- 65e84c4b: Expose `FindFirst` also as `ArrayPlus.Find`.

Improved its handling of array.

- d2997ded: Deprecate `Equal` and `NotEqual`. They are renamed to `IsEqual` and `IsNotEqual`.

`Equal` and `NotEqual` will be changed to `filter` variant (a.k.a. `parse` variant) in the future.

- 180a455e: Add `TuplePlus.PadStart`.
- 7bf5d39e: Add `StrictCanAssign<A,B>` and `testType.strictCanAssign()`
- 010a7880: Deprecate `assertType(subject constructor)`.
Add `T/F` to `Extendable` and `NotExtendable`.
- 74cc6545: Alias `Some` under `ArrayPlus.Some`.
- 4054c64b: `GreaterThan` and `Max` now support floating point and negative numbers, and `bigint`

### Patch Changes

- 84617522: `At` should return `V | undefined` for tuple when `N` is `number` (or `any` which includes `number`).
- aaffd23e: fix `Some<Array<number | string>, number>` to return `boolean`.
This is because besides `Array<number | string>` can be `[1, 'a']`,
it can also be:

```ts
const v: number | string = 123

const a: Array<number | string> = [v]
```

So `Some<Array<number | string>, number>` should distribute and return `boolean`.

- 4878eb07: `At` should return `V | undefined` for array.
- afc1840c: Add `Upper` and `Lower` for `IndexAt`.

This allow fine-grained control over the `IndexAt` behavior,
when the value is out of bounds.

This is used in cases where out-of-bounds values are coarsen to the upper and lower bound of the subject array.

- d31ea31f: Improve `Abs` to work with `bigint`

## 6.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "type-plus",
"version": "6.8.1",
"version": "7.0.0",
"description": "Provides additional types for TypeScript.",
"homepage": "https://github.com/unional/type-plus",
"bugs": {
Expand Down

0 comments on commit 146ff06

Please sign in to comment.