effect-schema-compilers
effect-schema-compilers copied to clipboard
chore(deps): bump the npm group across 1 directory with 11 updates
Bumps the npm group with 11 updates in the / directory:
Package | From | To |
---|---|---|
@effect/schema | 0.64.16 |
0.67.1 |
@effect/typeclass | 0.23.15 |
0.24.13 |
effect | 2.4.15 |
3.1.4 |
fast-check | 3.17.1 |
3.18.0 |
typescript | 5.4.3 |
5.4.5 |
@effect/docgen | 0.4.0 |
0.4.3 |
@typescript-eslint/eslint-plugin | 7.4.0 |
7.8.0 |
@typescript-eslint/parser | 7.4.0 |
7.8.0 |
ajv | 8.12.0 |
8.13.0 |
eslint | 8.57.0 |
9.2.0 |
vitest | 1.4.0 |
1.6.0 |
Updates @effect/schema
from 0.64.16 to 0.67.1
Release notes
Sourced from @effect/schema
's releases.
@effect/schema
@0
.67.1Patch Changes
- Updated dependencies [
e41e911
]:
@effect/schema
@0
.67.0Minor Changes
#2634
d7e4997
Thanks@gcanti
! - ## Simplifying Type ExtractionWhen we work with schemas, it's common to need to extract their types automatically. To make this easier, we've made some changes to the
Schema
interface. Now, you can easily accessType
andEncoded
directly from a schema without the need forSchema.Schema.Type
andSchema.Schema.Encoded
.import { Schema } from "@effect/schema";
const PersonSchema = Schema.Struct({ name: Schema.String, age: Schema.NumberFromString, });
// same as type PersonType = Schema.Schema.Type<typeof PersonSchema> type PersonType = typeof PersonSchema.Type;
// same as Schema.Schema.Encoded<typeof PersonSchema> type PersonEncoded = typeof PersonSchema.Encoded;
Default Constructors
When dealing with data, creating values that match a specific schema is crucial. To simplify this process, we've introduced default constructors for various types of schemas:
Struct
s,filter
s, andbrand
s.[!NOTE] Default constructors associated with a schema
Schema<A, I, R>
are specifically related to theA
type, not theI
type.Let's dive into each of them with some examples to understand better how they work.
Example (
Struct
)import { Schema } from "@effect/schema";
const MyStruct = Schema.Struct({ name: Schema.NonEmpty, });
MyStruct.make({ name: "a" }); // ok
... (truncated)
Changelog
Sourced from @effect/schema
's changelog.
0.67.1
Patch Changes
- Updated dependencies [
e41e911
]:0.67.0
Minor Changes
#2634
d7e4997
Thanks@gcanti
! - ## Simplifying Type ExtractionWhen we work with schemas, it's common to need to extract their types automatically. To make this easier, we've made some changes to the
Schema
interface. Now, you can easily accessType
andEncoded
directly from a schema without the need forSchema.Schema.Type
andSchema.Schema.Encoded
.import { Schema } from "@effect/schema";
const PersonSchema = Schema.Struct({ name: Schema.String, age: Schema.NumberFromString, });
// same as type PersonType = Schema.Schema.Type<typeof PersonSchema> type PersonType = typeof PersonSchema.Type;
// same as Schema.Schema.Encoded<typeof PersonSchema> type PersonEncoded = typeof PersonSchema.Encoded;
Default Constructors
When dealing with data, creating values that match a specific schema is crucial. To simplify this process, we've introduced default constructors for various types of schemas:
Struct
s,filter
s, andbrand
s.[!NOTE] Default constructors associated with a schema
Schema<A, I, R>
are specifically related to theA
type, not theI
type.Let's dive into each of them with some examples to understand better how they work.
Example (
Struct
)import { Schema } from "@effect/schema";
const MyStruct = Schema.Struct({ name: Schema.NonEmpty, });
... (truncated)
Commits
c1b9a8f
Version Packages (#2733)e41e911
fix: vitest custom tester with toMatchObject (rebase) (#2732)50b8bd5
Schema / Document how to introducejsonSchema
annotation type constraints i...423dd38
Version Packages (#2724)d7e4997
Schema 0.67 (#2634)8c35b2f
Version Packages (#2716)55ac93a
Version Packages (#2711)121d6d9
Class API: avoid access before initialization when creating a class w… (#2710)e4c9c13
Version Packages (#2680)2e1cdf6
ensure all type ids are annotated withunique symbol
(#2679)- Additional commits viewable in compare view
Updates @effect/typeclass
from 0.23.15 to 0.24.13
Release notes
Sourced from @effect/typeclass
's releases.
@effect/typeclass
@0
.24.13Patch Changes
- Updated dependencies [
e41e911
]:
@effect/typeclass
@0
.24.12Patch Changes
- Updated dependencies [
1f6dc96
]:
Changelog
Sourced from @effect/typeclass
's changelog.
0.24.13
Patch Changes
- Updated dependencies [
e41e911
]:0.24.12
Patch Changes
- Updated dependencies [
1f6dc96
]:0.24.11
Patch Changes
- Updated dependencies [
2e1cdf6
]:0.24.10
Patch Changes
- Updated dependencies [
e5e56d1
]:0.24.9
Patch Changes
0.24.8
Patch Changes
0.24.7
Patch Changes
- Updated dependencies [
18de56b
]:0.24.6
... (truncated)
Commits
c1b9a8f
Version Packages (#2733)8c35b2f
Version Packages (#2716)e4c9c13
Version Packages (#2680)74f07b8
Version Packages (#2675)ebd8656
Version Packages (#2657)5cd63d2
Version Packages (#2641)69d974b
Version Packages (#2638)0517e3e
Version Packages (#2616)2b30749
Version Packages (#2612)ba67a5b
Version Packages (#2596)- Additional commits viewable in compare view
Updates effect
from 2.4.15 to 3.1.4
Release notes
Sourced from effect's releases.
[email protected]
Patch Changes
- #2732
e41e911
Thanks@mikearnaldi
! - Call Equal.equals internally in order inputs were passed.[email protected]
Patch Changes
- #2706
1f6dc96
Thanks@sukovanej
! - rebuild packages
Changelog
Sourced from effect's changelog.
3.1.4
Patch Changes
- #2732
e41e911
Thanks@mikearnaldi
! - Call Equal.equals internally in order inputs were passed.3.1.3
Patch Changes
- #2706
1f6dc96
Thanks@sukovanej
! - rebuild packages3.1.2
Patch Changes
- #2679
2e1cdf6
Thanks@tim-smart
! - ensure all type ids are annotated withunique symbol
3.1.1
Patch Changes
- #2670
e5e56d1
Thanks@tim-smart
! - Allow structural regions in equality for testing3.1.0
Minor Changes
#2543
c3c12c6
Thanks@github-actions
! - add SortedMap.lastOption & partition apis#2543
ba64ea6
Thanks@github-actions
! - addTypes.DeepMutable
, an alternative toTypes.Mutable
that makes all properties recursively mutable#2543
b5de2d2
Thanks@github-actions
! - add Effect.annotateLogsScopedThis api allows you to annotate logs until the Scope has been closed.
import { Effect } from "effect";
Effect.gen(function* () { yield* Effect.log("no annotations"); yield* Effect.annotateLogsScoped({ foo: "bar" }); yield* Effect.log("annotated with foo=bar"); }).pipe(Effect.scoped, Effect.andThen(Effect.log("no annotations again")));
#2543
a1c7ab8
Thanks@github-actions
! - added Stream.fromEventListener, and BrowserStream.{fromEventListenerWindow, fromEventListenerDocument} for constructing a stream from addEventListener#2543
a023f28
Thanks@github-actions
! - addkind
property toTracer.Span
... (truncated)
Commits
c1b9a8f
Version Packages (#2733)e41e911
fix: vitest custom tester with toMatchObject (rebase) (#2732)8c35b2f
Version Packages (#2716)e4c9c13
Version Packages (#2680)3b3098a
standardize the imports across examples, closes #2659 (#2686)915ebec
internal: centralize code related to do notation (#2681)2e1cdf6
ensure all type ids are annotated withunique symbol
(#2679)74f07b8
Version Packages (#2675)e5e56d1
Allow structural regions in equality for testing & update vitest to 1.5.3 (#2...ebd8656
Version Packages (#2657)- Additional commits viewable in compare view
Updates fast-check
from 3.17.1 to 3.18.0
Release notes
Sourced from fast-check's releases.
New options for floating point arbitraries
Features
- (PR#4917) Add option to produce non-integer on
double
- (PR#4923) Add option to produce non-integer on
float
- (PR#4935) Produce "//" in web paths
Fixes
- (PR#4924) CI: Enable more advanced TS flags
- (PR#4925) CI: Explicitly test against Node 22
- (PR#4926) CI: Stabilize tests of
double
on small ranges- (PR#4921) Performance: More optimal
noInteger
ondouble
- (PR#4933) Script: Switch on more eslint rules
- (PR#4922) Test: Cover
noInteger
ondouble
via integration layersDirectly reference the official documentation from NPM
Fixes
- (PR#4853) CI: Build doc with full git history
- (PR#4872) CI: Stop caching Jest on CI
- (PR#4852) Doc: Show last update time on doc
- (PR#4851) Doc: Add last modified date to sitemap
- (PR#4868) Doc: Enhance SEO for homepage
- (PR#4888) Doc: Add tutorial for PBT with Jest
- (PR#4901) Doc: Use official doc for npm homepage
- (PR#4866) Test: Safer rewrite of Poisoning E2E
- (PR#4871) Test: Move tests to Vitest
- (PR#4863) Test: Explicitely import from Vitest
- (PR#4873) Test: Move to v8 for coverage
- (PR#4875) Test: Better mock/spy cleaning
Changelog
Sourced from fast-check's changelog.
3.18.0
New options for floating point arbitraries [Code][Diff]
Features
- (PR#4917) Add option to produce non-integer on
double
- (PR#4923) Add option to produce non-integer on
float
- (PR#4935) Produce "//" in web paths
Fixes
- (PR#4924) CI: Enable more advanced TS flags
- (PR#4925) CI: Explicitly test against Node 22
- (PR#4926) CI: Stabilize tests of
double
on small ranges- (PR#4921) Performance: More optimal
noInteger
ondouble
- (PR#4933) Script: Switch on more eslint rules
- (PR#4922) Test: Cover
noInteger
ondouble
via integration layers
3.17.2
Directly reference the official documentation from NPM [Code][Diff]
Fixes
- (PR#4853) CI: Build doc with full git history
- (PR#4872) CI: Stop caching Jest on CI
- (PR#4852) Doc: Show last update time on doc
- (PR#4851) Doc: Add last modified date to sitemap
- (PR#4868) Doc: Enhance SEO for homepage
- (PR#4888) Doc: Add tutorial for PBT with Jest
- (PR#4901) Doc: Use official doc for npm homepage
- (PR#4866) Test: Safer rewrite of Poisoning E2E
- (PR#4871) Test: Move tests to Vitest
- (PR#4863) Test: Explicitely import from Vitest
- (PR#4873) Test: Move to v8 for coverage
- (PR#4875) Test: Better mock/spy cleaning
Commits
3500faa
🔖 Update CHANGELOG.md for@fast-check/vitest
@0
.1.1,@fast-check/worker
@0
.3.1,...043d6ef
✨ Produce "//" in web paths (#4935)0bbef2c
🔨 Switch on more eslint rules (#4933)b618e44
⬆️ Update dependency eslint to v9 (#4869)f14cce0
⬆️ Update vitest monorepo to ^1.5.2 (#4927)93b3ad9
💚 Stabilize tests ofdouble
on small ranges (#4926)f497fec
✨ Add option to produce non-integer onfloat
(#4923)eea3714
✅ CovernoInteger
ondouble
via integration layers (#4922)c497d8f
⚡️ More optimalnoInteger
ondouble
(#4921)01e7ed0
⬆️ Update vitest monorepo to ^1.5.1 (#4918)- Additional commits viewable in compare view
Updates typescript
from 5.4.3 to 5.4.5
Release notes
Sourced from typescript's releases.
TypeScript 5.4.5
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 5.4.0 (Beta).
- fixed issues query for Typescript 5.4.1 (RC).
- fixed issues query for Typescript 5.4.2 (Stable).
- fixed issues query for Typescript 5.4.3 (Stable).
- fixed issues query for Typescript 5.4.4 (Stable).
- fixed issues query for Typescript 5.4.5 (Stable).
Downloads are available on:
TypeScript 5.4.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 5.4.0 (Beta).
- fixed issues query for Typescript 5.4.1 (RC).
- fixed issues query for Typescript 5.4.2 (Stable).
- fixed issues query for Typescript 5.4.3 (Stable).
- fixed issues query for Typescript 5.4.4 (Stable).
Downloads are available on:
Commits
27bcd4c
Update LKG9f33bf1
🤖 Pick PR #58098 (Fix constraints of nested homomorph...) into release-5.4 (#...71b2f84
Bump version to 5.4.5 and LKG892936f
🤖 Pick PR #58083 (Don't propagate partial union/inter...) into release-5.4 (#...38a7c05
release-5.4: Always set node-version for setup-node (#58117)b754fc3
🤖 Pick PR #57778 (fix type import check for default-i...) into release-5.4 (#...8eb3367
Bump version to 5.4.4 and LKGde9096b
🤖 Pick PR #57871 (Divide-and-conquer strategy for int...) into release-5.4 (#...06aae98
🤖 Pick PR #57973 (Compare package.json paths with cor...) into release-5.4 (#...6d8134e
🤖 Pick PR #57637 (Fixed a regression related to deter...) into release-5.4 (#...- Additional commits viewable in compare view
Updates @effect/docgen
from 0.4.0 to 0.4.3
Release notes
Sourced from @effect/docgen
's releases.
v0.4.3
Patch Changes
- 7add2b9: update dependencies
v0.4.2
Patch Changes
- 619a0e3: use
@effect/markdown-toc
instead of github dependencyv0.4.1
Patch Changes
- b9bfab0: add reporting of
tsc
andtsx
errors, closes #66
Changelog
Sourced from @effect/docgen
's changelog.
0.4.3
Patch Changes
- 7add2b9: update dependencies
0.4.2
Patch Changes
- 619a0e3: use
@effect/markdown-toc
instead of github dependency0.4.1
Patch Changes
- b9bfab0: add reporting of
tsc
andtsx
errors, closes #66
Commits
Updates @typescript-eslint/eslint-plugin
from 7.4.0 to 7.8.0
Release notes
Sourced from @typescript-eslint/eslint-plugin
's releases.
v7.8.0
7.8.0 (2024-04-29)
🚀 Features
- rule-tester: assert suggestion messages are unique (#8995)
- typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles glob restrictions (#8925)
🩹 Fixes
- eslint-plugin: [no-unsafe-argument] handle tagged templates (#8746)
- eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check (#8717)
- eslint-plugin: [consistent-type-assertions] handle tagged templates (#8993)
- eslint-plugin: [no-unsafe-return] handle union types (#9001)
- eslint-plugin: [no-unused-vars] clear error report range (#8640)
- utils: export ESLint backwards-compat functions (#8976)
❤️ Thank You
- auvred
@auvred
- Josh Goldberg ✨
- jsfm01
@jsfm01
- Kim Sang Du
@developer-bandi
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.1
7.7.1 (2024-04-22)
🩹 Fixes
- eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800)
- eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type (#8809)
- eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
(#8559)- eslint-plugin: [no-for-in-array] refine report location (#8874)
- eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type (#8912)
❤️ Thank You
- Abraham Guo
- Kirk Waiblinger
@kirkwaiblinger
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.0
7.7.0 (2024-04-15)
... (truncated)
Changelog
Sourced from @typescript-eslint/eslint-plugin
's changelog.
7.8.0 (2024-04-29)
🩹 Fixes
eslint-plugin: [no-unsafe-argument] handle tagged templates
eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check
eslint-plugin: [consistent-type-assertions] handle tagged templates
eslint-plugin: [no-unsafe-return] handle union types
eslint-plugin: [no-unused-vars] clear error report range
❤️ Thank You
- auvred
- Josh Goldberg ✨
- jsfm01
- Kim Sang Du
- YeonJuan
You can read about our versioning strategy and releases on our website.
7.7.1 (2024-04-22)
🩹 Fixes
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
eslint-plugin: [no-for-in-array] refine report location
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
❤️ Thank You
- Abraham Guo
- Kirk Waiblinger
- YeonJuan
You can read about our versioning strategy and releases on our website.
... (truncated)
Commits
ee677f6
chore(release): publish 7.8.08127873
fix(eslint-plugin): [no-unused-vars] clear error report range (#8640)216d1b0
fix(eslint-plugin): [no-unsafe-return] handle union types (#9001)51d2193
fix(eslint-plugin): [consistent-type-assertions] handle tagged templates (#8993)4bed24d
fix(eslint-plugin): [prefer-optional-chain] suggests optional chaining during...b0f7aa4
fix(eslint-plugin): [no-unsafe-argument] handle tagged templates (#8746)219b841
chore: resolve lint issues on main branch (#8966)3e19436
chore(release): publish 7.7.1b2552ca
fix(eslint-plugin): [no-unnecessary-type-assertion] allow non-null assertion ...fdeba42
fix(eslint-plugin): [no-for-in-array] refine report location (#8874)- Additional commits viewable in compare view
Updates @typescript-eslint/parser
from 7.4.0 to 7.8.0
Release notes
Sourced from @typescript-eslint/parser
's releases.
v7.8.0
7.8.0 (2024-04-29)
🚀 Features
- rule-tester: assert suggestion messages are unique (#8995)
- typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles glob restrictions (#8925)
🩹 Fixes
- eslint-plugin: [no-unsafe-argument] handle tagged templates (#8746)
- eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check (#8717)
- eslint-plugin: [consistent-type-assertions] handle tagged templates (#8993)
- eslint-plugin: [no-unsafe-return] handle union types (#9001)
- eslint-plugin: [no-unused-vars] clear error report range (#8640)
- utils: export ESLint backwards-compat functions (#8976)
❤️ Thank You
- auvred
@auvred
- Josh Goldberg ✨
- jsfm01
@jsfm01
- Kim Sang Du
@developer-bandi
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.1
7.7.1 (2024-04-22)
🩹 Fixes
- eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800)
- eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type (#8809)
- eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
(#8559)- eslint-plugin: [no-for-in-array] refine report location (#8874)
- eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type (#8912)
❤️ Thank You
- Abraham Guo
- Kirk Waiblinger
@kirkwaiblinger
- YeonJuan
@yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.0
7.7.0 (2024-04-15)
... (truncated)
Changelog
Sourced from @typescript-eslint/parser
's changelog.
7.8.0 (2024-04-29)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.7.1 (2024-04-22)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.7.0 (2024-04-15)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.6.0 (2024-04-08)
🚀 Features
- bump npm dependency ranges
❤️ Thank You
- Abraham Guo
- auvred
- Brad Zacher
You can read about our versioning strategy and releases on our website.
7.5.0 (2024-04-01)
🩹 Fixes
- parser: disallow
errorOnTypeScriptSyntacticAndSemanticIssues
❤️ Thank You
- Brad Zacher
- Kim Sang Du
- Mark de Dios
- Naru
- YeonJuan
... (truncated)
Commits
ee677f6
chore(release): publish 7.8.03e19436
chore(release): publish 7.7.1e44a1a2
chore(release): publish 7.7.0e1db872
chore(release): publish 7.6.0a6ab2cb
feat: bump npm dependency ranges (#8860)a14ba9d
chore(release): publish 7.5.0ecb6b55
docs: add homepage (#8742)d5615d7
fix(parser): disallowerrorOnTypeScriptSyntacticAndSemanticIssues
(#8784)- See full diff in compare view
Updates ajv
from 8.12.0 to 8.13.0
Release notes
Sourced from ajv's releases.
v8.13.0
- add named exports
- update dependencies
- update node.js
Commits
857ecac
fix: bump node version in publish job (#2423)f74ecdb
bump version to 8.13.0 (#2421)c64f528
chore: update typescript to 5.3.3 (#2406)5370b84
chore: bump ajv-formats to 3.0.1 (#2402)32dc833
chore: update remaining deps except typescript (#2396)f4a4c8e
Add named exports for main classes (#2389) fixes #2381 #21325c7f3b6
chore: update prettier to 3.0.3 (#2393)27a88ea
Fixing broken links in the docs/packages readme file (#2221)45685de
docs: fix broken link to error logging (#2362)27178f5
Merge pull request #2366 from laurens/patch-2- Additional commits viewable in compare view
Updates eslint
from 8.57.0 to 9.2.0
Release notes
Sourced from eslint's releases.
v9.2.0
Features
8485d76
feat:no-case-declarations
add suggestions (#18388) (Josh Goldberg ✨)a498f35
feat: update Unicode letter detection in capitalized-comments rule (#18375) (Francesco Trotta)Bug Fixes
Documentation
0f5df50
docs: Update README (GitHub Actions Bot)1579ce0
docs: update wording regarding indirect eval (#18394) (Kirk Waiblinger)f12a02c
docs: update to eslint v9 in custom-rule-tutorial (#18383) (唯然)Chores