Skip to content

Commit

Permalink
Release 2.0 (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Daymon <daymxn@users.noreply.github.com>
  • Loading branch information
daymxn and daymxn authored Oct 8, 2024
1 parent 80b86f5 commit 6f70645
Show file tree
Hide file tree
Showing 32 changed files with 43 additions and 151 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-penguins-yawn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-pants-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dry-onions-yawn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dull-lies-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/early-ducks-kiss.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eighty-maps-approve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-jokes-mate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-kids-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-kangaroos-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-dragons-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-boats-applaud.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-buttons-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-lamps-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-penguins-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/long-dancers-exist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lucky-pans-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mean-fans-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-insects-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-eels-rest.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-jobs-greet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pink-kangaroos-breathe.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serious-ants-jump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serious-dolphins-move.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-goats-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-phones-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-walls-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-frogs-vanish.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-fishes-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-shoes-repair.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-cows-speak.md

This file was deleted.

42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# @rbxts/expect

## 2.0.0

### Major Changes

- d88869f: Migrated `equal` to point to `deepEqual` instead of a shallow version. Added the `shallowEqual` and `shallowEquals` methods to support shallow equality. `eq` also still points to shallow equal.

### Minor Changes

- 80b86f5: Added support for the `finite` matcher
- 873feaa: Added support for the `endWith` and `endsWith` matchers
- 41cf37a: Added support for the `between` and `within` matchers
- b5d5364: Added support for the `positive` and `negative` matchers
- 9449d8c: Added support for the `match` and `matches` matchers
- 9449d8c: Added support for the `matchExactly` matcher as an alias for `deepEqual`
- d74e9e9: Added the matchers `lessThan`, `lt` and `below`
- d74e9e9: Added the matchers `lessThanOrEqualTo`, `lte` and `most`
- 80b86f5: Added support for supplying custom message overrides by providing a second argument to `expect`
- 80b86f5: Added support for the `key` and `property` matchers
- 20aa380: Added support for the `defined`, `ok`, `exist`, `exists`, `undefined`, `null` and `nil` matchers
- 15fdec0: Added support for the `containExactly` matcher
- 4ffd43d: Added support for the `startWith` and `startsWith` matchers
- 03675f0: Added support for the `some` matcher
- d74e9e9: Added the matchers `greaterThan`, `gt` and `above`
- da58032: Added support for the `true`, `false`, `truthy` and `falsy` matchers
- 22ae31e: Added support for the `even` and `odd` matchers
- e7a2d6b: Added support for the `pattern` matcher
- 80b86f5: Added support for the `satisfy` and `satisfies` matchers
- 80b86f5: Added support for the `all` matcher
- d74e9e9: Added the NOP `at` for numbers
- 94f2f58: Added support for the `near` and `closeTo` matchers
- 15fdec0: Added support for the `containExactlyInOrder` matcher
- d74e9e9: Added the matchers `greaterThanOrEqualTo`, `gte`, and `least`
- 07bd1a0: Added the `getNearestDefinedProxy` function for propagating defined values in deeply nested null chains

### Patch Changes

- 4ffd43d: Fixed an issue where `length` wasn't properly checking empty arrays and objects
- 07bd1a0: Fixed a bug that prevented proxies from indexing null values
- 15fdec0: Fixed an issue preventing `encode` from properly encoding null values
- 03675f0: Fixed an issue with `err` not throwing whenever the underlying function didn't throw
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rbxts/expect",
"version": "1.0.0",
"version": "2.0.0",
"description": "Test-agnostic assertion library for ROBLOX.",
"main": "out/init.luau",
"scripts": {
Expand Down

0 comments on commit 6f70645

Please sign in to comment.