- Update dependencies.
- Update CI configurations.
- Migrate to webpack 5.
- Add fall back processing to get
globalThis
,Object
, andFunction
. (to check for unsafe keywords) - Update dependencies.
- Update dependencies.
- Migrate to TypeScript 4.0.
- Fix empty string literal parsing.
- Update dependencies.
- Update CI configurations.
- Add
assertType<T>(data, ty, ctx?)
assertion type guard function. - Generate the type name const enum
Schema
when serializing the schema. - Edit README.
- Update dev dependencies.
- Add
declare type|interface|enum|const enum
statement. - Refactoring:
- Move and separate files.
- Extract a compiler docComment function.
- Fix README.
- Update dev dependencies.
- Fix typo.
- Add pass-through
declare var|let|const
statement. - Add
const enum
definition. - Add
/* @tynder-pass-through ... */
directive. - Typed
external
statement and/* @tynder-external ... */
directive.
[FIX]
Fix codegen: Fix type alias, repeated types and oneOf types (CSharp, Protobuf, GraphQL).
[FIX]
Fix and improve codegen output (CSharp, Protobuf3).- Update CI configurations.
- Add
C#
type definition code generation. - Improve code generation (TypeScript, Protobuf, GraphQL).
[FIX]
Fix TypeScript code generation: object member non-ascii symbol name should be enclose with quotation.
- Add type guard functions
isType
. [FIX]
Fixdate
,lcdate
,datetime
,lcdatetime
stereotypes.- Constructor returns wrong month if passed month's day of month is shorted than current month.
- Type of
ValidationError::ctx
is changed toPartial<ValidationContext>
.
[FIX]
Fix d.ts code generation: empty objects generate invalid code.
[FIX]
Fix d.ts code generation: additional-props entry is not output when other member entries are not exist.
- Add
unique-non-null
constraint. [FIX]
Fixunique
andunique-non-null
constraint bug.
- Add
@constraint
decorator andunique
constraint implementation. - Add spec codes.
- Add
@meta
decorator.- User defined custom properties (meta informations).
- Output to the compiled schema.
- User defined custom properties (meta informations).
- Add spec codes.
- Update dev dependencies.
- Add eslint configurations.
- Edit github actions CI configuration.
- Add
first-date-of-fy(mo)
operator todata
anddatetime
stereotype formula.- fiscal year operator.
- Add spec codes.
[FIX]
Fix stereotype, forceCast, and recordType decorators: when optional type, it should be decorated with ty.optional.v0.3.4
fix is broken.
[FIX]
Fix stereotype, forceCast, and recordType decorators: when optional type, it should be decorated with ty.optional.
[FIX]
Fix compiler: Fix character class that can be used in symbols.
- Improve one-of assertion validation error message.
- Add
@recordType
decorator.- If the decorated member field of object is validated, the union type is determined.
[FIX]
Fix error handling and reporting of stereotype.- Improve playground.
- Add
@stereotype
decorator.- Perform custom validation.
- Add standard stereotypes.
date
- date (UTC timezone)
lcdate
- date (local timezone)
datetime
- datetime (UTC timezone)
lcdatetime
- datetime (local timezone)
- Add
@forceCast
decorator.- Validate after forcibly casting to the assertion's type.
- Add spec codes.
[FIX]
Fix serializer & deserializer bugs.- RegExp pattern additonal props are not serialize/deserialize correctly.
- Add spec codes.
[FIX]
Fix serializer & deserializer bugs.- Object member meta info format is wrong. (serializer)
- Optional info is lost in named type case. (serializer)
- Extended interface has unexpected duplicated member properties. (deserializer)
- Add spec codes.
- A grammar for referencing other interface members has been added.
[FIX]
Fix meta info lost during serialization.- Occurs when serializing named non-primitive types.
- Update dependencies.
[FIX]
Fix validation reporting. (incorrect parent name)
- Change the
dataPath
format for validation errors.- Path separator after
type
is changed from.
to:
.- before changed:
File.acl.(0:repeated).ACL.target
- after changed:
File:acl.(0:repeated).ACL:target
- before changed:
- Path separator after