Skip to content

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 29 Jun 20:31
· 85 commits to main since this release

Changes

  • fix(kernel): 🐛 Harden env and dependency injection runtime

Release details

Pull request notes

Summary

  • Treat blank optional environment variables as absent, and use defaults for blank optional values with defaultValue.
  • Keep required blank environment variables failing with a specific validation error.
  • Improve environment validation errors for missing, blank and invalid parsed values.
  • Filter known non-actionable autowire warnings from type-only/default declaration files without hiding actionable warnings.
  • Cover overrides for external references generated from @haskou/ddd-kernel subpath imports.
  • Add runtime compatibility fixtures for ts-node and dist CommonJS using public subpaths, environmentSchema and dependencyInjection overrides.

Validation

  • yarn install --frozen-lockfile
  • yarn typecheck
  • yarn lint
  • yarn build
  • yarn test:coverage
  • yarn docs:build
  • yarn format:check
  • yarn --cwd example typecheck