Skip to content

3.1.3

Choose a tag to compare

@fontebasso fontebasso released this 30 Jun 01:30
· 41 commits to main since this release
Immutable release. Only release title and notes can be modified.
3a2f617

What's Changed

API

  • Added validateEnv(schema, env) as a pure validation function.
  • Added loadSchemaFromPath(schemaPath, dynamicImport?).
  • Exported new types: EnvSchema, EnvValues, EnvValidationIssue, and EnvValidationResult.
  • validateEnvFromSchema remains compatible with previous usage.

Dependencies

  • Updated valitype from 2.0.2 to 3.0.0.

Security and Supply Chain

  • Added OpenSSF Scorecard workflow.
  • Added Renovate Bot configuration.
  • Added CODEOWNERS.
  • Pinned Docker images by SHA digest.
  • Added SRI hashes to documentation assets.
  • Scoped GitHub Actions permissions at the job level.

Quality

  • Added Jazzer.js fuzzing with 4 targets covering validation, custom validators, schemas, and encoding edge cases.

Compatibility

CLI, Docker usage, and validateEnvFromSchema continue to work as before.