Skip to content

ts-to-zod: v0.0.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 17:39
c621d4b

0.0.4 (2023-12-06)

Features

  • complex value schema generation within user folder (b2beb37)
  • complex value schema generation within user folder (a85c704)
  • export more helper utilities, including import statement generation (54a061b)
  • export more helper utilities, including import statement generation (71e8e79)
  • generate prettified code, ignore generated code in watch mode (7887d5d)
  • implement include and select magic schema generation (1eace8f)
  • implement include and select magic schema generation (61cda64)
  • implement magic schema generation for selection, pageResponse (a2416cd)
  • implement magic schema generation for selection, pageResponse (74d9d5a)
  • implement stl.types.endpoint support, along with CJS and ESM support. (1ad5450)
  • implement stl.types.endpoint support, along with CJS and ESM support. (fbeb815)
  • initial schema class with validate transform implementation (9aaf3d5)
  • node_modules generation configuration, support for nested packages (9229f41)
  • rename magic to codegenSchema (90eb489)
  • rich diagnostics skeleton (fd79050)
  • rich diagnostics skeleton (ce38718)
  • significantly improve diagnostics quality (0a323f6)
  • significantly improve diagnostics quality (bf04b13)
  • stl.types.endpoint implementation work (115ebdf)
  • stl.types.endpoint implementation work (543eda2)
  • support default schema values (1ddcae3)
  • support inlining Zod schemas into magic schemas (c7f179a)
  • support inlining Zod schemas into magic schemas (bd9911a)
  • use all caps instead of lowercased HTTP methods in endpoints (6c25c78)

Bug Fixes

  • cli: don't generate invalid characters within generated module names (080820a)
  • cli: generate Refine correctly, error on failure to export stainless subclasses (812eee3)
  • cli: module generation fixes (bef0ebb)
  • correctly attribute origin of properties in diagnostics (ed261ef)
  • correctly attribute origin of properties in diagnostics (ba30a98)
  • correctly handle certain type alias and generic cases (25b9e53)
  • correctly handle certain type alias and generic cases (f01f00c)
  • emit error when encountering Zod schema type (cc53600)
  • emit error when encountering Zod schema type (6991dad)
  • functional support for in type alias definition position (c97a5bc)
  • generate error on illegal typeof uses (6a70631)
  • generate package imports with absolute paths (b91399a)
  • generate package imports with absolute paths (cb1703c)
  • handle more complex enum and class usages (ce7b938)
  • handle more complex enum and class usages (795a9ef)
  • handle multiple declarations for symbol correctly (7a5de0c)
  • handle multiple declarations for symbol correctly (fa81f8a)
  • import z constant in generated files (49a50a4)
  • import z constant in generated files (e9d1867)
  • malfunctioning conditional type over any (860f62a)
  • malfunctioning conditional type over any (da42f1c)
  • mangle imported types within generated files (02839f6)
  • mangle imported types within generated files (d7c0ebe)
  • minor cleanup (8a8691e)
  • minor cleanup (d55b035)
  • properly export root type schemas (5bdf953)
  • properly export root type schemas (cf7228b)
  • string regex validation generation, expand object schema (584c766)
  • string regex validation generation, expand object schema (8870365)
  • strip .ts extension off import paths (9b6e8c3)
  • strip .ts extension off import paths (0fdc1db)
  • support enum and class generation properly (218a3bd)
  • support enum and class generation properly (8e50352)
  • update to pass diagnostics root and use correct import (7f43ac1)
  • update to pass diagnostics root and use correct import (2cc1839)
  • use correct schema value when importing type (4873796)
  • various new schema type fixes (02145d7)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • stainless bumped to 0.1.0