Skip to content

Commit

Permalink
v6.1.0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Nov 28, 2023
1 parent e8fddeb commit bdcdbbe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
6 changes: 1 addition & 5 deletions IDEAS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ let trimContract: S.contract<string => string> = S.contract(s => {

- Move S.inline to a separate codegen module

## v6.1

- S.schema (codename "matcher")

## v6.2
## v6.2

- ppx

Expand Down
2 changes: 1 addition & 1 deletion docs/js-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ Besides the individual bundle size, the overall size of the library is also sign

At the same time **rescript-schema** is the fastest composable validation library in the entire JavaScript ecosystem. This is achieved because of the JIT approach when an ultra optimized validator is created using `eval`.

| | rescript-schema@6.0.0 | [email protected] | [email protected] |
| | rescript-schema@6.1.0 | [email protected] | [email protected] |
| ----------------------------------------- | --------------------- | --------------- | -------------- |
| **Total size** (minified + gzipped) | 9.67 kB | 13.4 kB | 6.73 kB |
| **Example size** (minified + gzipped) | 5.53 kB | 12.8 kB | 965 B |
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rescript-schema",
"version": "6.0.0",
"version": "6.1.0",
"description": "The fastest composable parser/serializer for ReScript (and TypeScript)",
"keywords": [
"ReScript",
Expand All @@ -12,11 +12,8 @@
"Encode",
"Decode",
"Validation",
"Transform",
"Contract",
"Mapping",
"Struct",
"Jzon",
"rescript-struct",
"Zod",
"Superstruct",
"Runtypes",
Expand Down
2 changes: 1 addition & 1 deletion packages/ppx/src/ppx_struct.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "ppx_struct"
version: "6.0.0"
version: "6.1.0"
synopsis: "PPX for the fastest composable parser/serializer for ReScript (and TypeScript)"
description: """
PPX for the fastest composable parser/serializer for ReScript (and TypeScript)
Expand Down

1 comment on commit bdcdbbe

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: bdcdbbe Previous: 1d28c51 Ratio
Parse string 816087158 ops/sec (±0.19%) 819610349 ops/sec (±0.10%) 1.00
Serialize string 816905122 ops/sec (±0.14%) 819846717 ops/sec (±0.06%) 1.00
Advanced object schema factory 448880 ops/sec (±0.46%) 447933 ops/sec (±1.47%) 1.00
Parse advanced object 47213675 ops/sec (±0.22%) 46531317 ops/sec (±1.53%) 0.99
Create and parse advanced object 33576 ops/sec (±0.70%) 33412 ops/sec (±1.40%) 1.00
Parse advanced strict object 22029613 ops/sec (±1.12%) 22330607 ops/sec (±0.65%) 1.01
Serialize advanced object 806764779 ops/sec (±0.12%) 808065693 ops/sec (±0.25%) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.