Skip to content

Add Schema.isAscii pattern check - #8303

Merged
gcanti merged 6 commits into
Effect-TS:v4/next-minorfrom
harrysolovay:harry/schema-ascii-pattern-check
Oct 26, 2026
Merged

gcanti merged 6 commits into
Effect-TS:v4/next-minorfrom
harrysolovay:harry/schema-ascii-pattern-check

Conversation

@harrysolovay

@harrysolovay harrysolovay commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds a built-in isAscii check (regex ^[\x00-\x7F]*$) following the same conventions as isGUID and isULID, along with the matching SchemaRepresentation.isAsciiReviver, tests, typetest entry, and a changeset.

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Closes EFF-2690

@changeset-bot

changeset-bot Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5a7f073

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 33 packages
Name Type
effect Minor
@effect/opentelemetry Minor
@effect/vitest Minor
@effect/ai-anthropic Minor
@effect/ai-cloudflare Minor
@effect/ai-openai-compat Minor
@effect/ai-openai Minor
@effect/ai-openrouter Minor
@effect/ai-typesafe Minor
@effect/atom-react Minor
@effect/atom-solid Minor
@effect/atom-vue Minor
@effect/platform-browser Minor
@effect/platform-bun Minor
@effect/platform-deno Minor
@effect/platform-node-shared Minor
@effect/platform-node Minor
@effect/sql-clickhouse Minor
@effect/sql-d1 Minor
@effect/sql-libsql Minor
@effect/sql-mssql Minor
@effect/sql-mysql2 Minor
@effect/sql-pg Minor
@effect/sql-pglite Minor
@effect/sql-sqlite-bun Minor
@effect/sql-sqlite-do Minor
@effect/sql-sqlite-node Minor
@effect/sql-sqlite-react-native Minor
@effect/sql-sqlite-wasm Minor
@effect/docgen Minor
@effect/doctest Minor
@effect/graphql-generator Minor
@effect/openapi-generator Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@effect-janitor effect-janitor Bot added enhancement New feature or request 4.0 labels Sep 18, 2026
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 39.28 KB 39.28 KB 0.00 KB (0.00%)
basic.ts 7.15 KB 7.15 KB 0.00 KB (0.00%)
batching.ts 11.03 KB 11.03 KB 0.00 KB (0.00%)
brand.ts 6.83 KB 6.83 KB 0.00 KB (0.00%)
cache.ts 11.46 KB 11.46 KB 0.00 KB (0.00%)
config.ts 22.70 KB 22.70 KB 0.00 KB (0.00%)
differ.ts 21.83 KB 21.83 KB 0.00 KB (0.00%)
http-client.ts 26.26 KB 26.26 KB 0.00 KB (0.00%)
http-router.ts 36.57 KB 36.57 KB 0.00 KB (0.00%)
logger.ts 11.84 KB 11.84 KB 0.00 KB (0.00%)
metric.ts 9.38 KB 9.38 KB 0.00 KB (0.00%)
optic.ts 7.04 KB 7.04 KB 0.00 KB (0.00%)
pubsub.ts 15.91 KB 15.91 KB 0.00 KB (0.00%)
queue.ts 12.70 KB 12.70 KB 0.00 KB (0.00%)
schedule.ts 11.71 KB 11.71 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 13.95 KB 13.95 KB 0.00 KB (0.00%)
schema-binary.ts 40.89 KB 40.89 KB 0.00 KB (0.00%)
schema-class.ts 21.48 KB 21.48 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 29.45 KB 29.45 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 27.83 KB 27.83 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.20 KB 15.20 KB 0.00 KB (0.00%)
schema-string.ts 12.20 KB 12.20 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.14 KB 16.14 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 38.80 KB 38.80 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 26.01 KB 26.01 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 20.76 KB 20.76 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 20.90 KB 20.90 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.00 KB 21.00 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.03 KB 26.03 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.08 KB 21.08 KB 0.00 KB (0.00%)
schema.ts 20.68 KB 20.68 KB 0.00 KB (0.00%)
stm.ts 14.04 KB 14.04 KB 0.00 KB (0.00%)
stream.ts 10.26 KB 10.26 KB 0.00 KB (0.00%)

harrysolovay and others added 3 commits October 21, 2026 05:54
Adds a built-in `isAscii` check (regex `^[\x00-\x7F]*$`) following the
same conventions as `isGUID` and `isULID`, along with the matching
`SchemaRepresentation.isAsciiReviver`, tests, typetest entry, and a
changeset.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@effect-bot
effect-bot changed the base branch from main to v4/next-minor October 26, 2026 11:47
@gcanti
gcanti merged commit 842d900 into Effect-TS:v4/next-minor Oct 26, 2026
10 of 11 checks passed
@effect-bot effect-bot mentioned this pull request Oct 26, 2026
tim-smart pushed a commit that referenced this pull request Oct 26, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 26, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 26, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 26, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 26, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to yordis/effect that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 27, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit to wmaurer/effect that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
effect-bot added a commit that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
tim-smart pushed a commit that referenced this pull request Oct 28, 2026
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>

This branch is waiting to be deployed

1 waiting deployment
fork — 5a7f0734 Waiting Oct 26, 2026 by gcanti via approval-gate #23301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants