Enforce/check compatibility with secret/internal APIs#573
Enforce/check compatibility with secret/internal APIs#573
Conversation
…chema definitions and refinements, and refine various type and regex functionalities.
… handling and new unit tests.
…ort` to use `parsedNumber`, and integrate `port` into the ArkType scope.
…, and enhance `number` and `boolean` coercion in `arkenv`.
…ransformation, supporting numeric refinements.
…ding numeric and boolean values.
…ve boolean from the root scope.
…t coercion from their definitions and from the `type` export, relying on global coercion instead.
…bers, booleans, ranges, and optional properties.
…s in `createEnv` by introducing loose parsing keywords.
… add a test for this behavior.
…ent its behavior, edge cases, and internal API reliance.
…dd `process.env` isolation to tests
…nce coercion with internal property helpers and version checks.
…move the external compatibility workflow, and update related documentation and tests.
🦋 Changeset detectedLatest commit: af0d408 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
📦 Bundle Size Report
✅ All size limits passed! |
|
Closing in favor of #578 which is uses 100% public API. |
Since we are using secret/internal APIs in #228, we need to somehow enforce or check the compatibility, given that arktype is a peerDependency (and not a direct dependency we can pin).
Alternatively, avoid the usage of secret/internal APIs altogether, if possible. We are only using them for coercion currently (not in the
mainbranch yet).