Releases: kafkas/typesync
Releases · kafkas/typesync
v0.10.0
Breaking Changes
double
types now compile tonumber
in Security Rules type validators- Renamed the
validatorNamePattern
option for thegenerate-rules
command totypeValidatorNamePattern
. - Renamed the
validatorParamName
option for thegenerate-rules
command totypeValidatorParamName
.
v0.9.0
v0.8.0
v0.7.0
New Features
- Implemented the
undefinedSentinelName
config option for Python. - Implemented a change to expose factory methods for schema and schema types.
- Implemented
generateRepresentation()
in the programmatic API.
Improvements
- The
debug
key inValidateOptions
is now optional. - The
startMarker
andendMarker
options are now required to be distinct non-empty strings. - Improved the check that searches for markers in the Rules file.
- Optional discriminant fields are now disallowed.
Breaking Changes
- Dropped support for mixed enums. Enum members must be either string or int.
v0.6.3
v0.6.2
v0.6.1
v0.6.0
New Features
- Implemented a programmatic API that allows developers to import
typesync-cli
into their Node applications and generate types programmatically. - Implemented the Security Rules generator. The new
generate-rules
command will generate and inject type validators for a given schema into the specified Security Rules file.
Breaking Changes
- Changed
platform
names to remove the language prefix and change the last:
to@
(e.g.ts:firebase:10
->firebase@10
) - Renamed the
platform
option totarget
. - Split
generate
intogenerate-ts
,generate-swift
, andgenerate-py
commands.