- 5233021: Implemented
firebase@11
target - 5168a0e: Implemented
react-native-firebase@20
andreact-native-firebase@19
targets.
- 321e107: Added
firebase-admin@13
target - 3807a68: Added
firebase-admin@10
target
- 0c3dd5a: Added support for react-native-firebase@21 target
- fc5f901: [BREAKING]
double
types now compile tonumber
in Security Rules type validators - 7502c83: [BREAKING] Renamed the
validatorNamePattern
option for thegenerate-rules
command totypeValidatorNamePattern
. - 7502c83: [BREAKING] Renamed the
validatorParamName
option for thegenerate-rules
command totypeValidatorParamName
.
- 5a612cc: Changed the indentation for "and" predicates in Security Rules output.
- 9cd5312: Implemented the Mermaid graph generator. The
generate-graph
command will now generate a Mermaid graph for a given schema and inject it into the specified Markdown file. - 9cd5312: [BREAKING] Document models are now required to have a
path
field.
- 2f7c904: Implemented the
objectTypeFormat
config option for TypeScript. - bc61fd4: JSON definition files can now include a
$schema
key. This key will be ignored since it's used to load the JSON schema. - ad6c602: Added an
any
type to the spec.
- 0706e1c: Implemented the
undefinedSentinelName
config option for Python. - 85476ec: Implemented a change to expose factory methods for schema and schema types.
- 6a4f0bc: [BREAKING] Dropped support for mixed enums. Enum members must be either string or int.
- bf3418f: Implemented
generateRepresentation()
in the programmatic API.
- 0effd25: The
debug
key inValidateOptions
key is now optional. - 441728a: The
startMarker
andendMarker
options are now required to be distinct non-empty strings. - 441728a: Improved the check that searches for markers in Rules file.
- fb2d7ba: Optional discriminant fields are now disallowed.
- ea55bee: Implemented a change that exposes the programmatic API as CommonJS.
- 3f39f7e: Fixed a bug where the process would exit with code 0 for failed commands. Exit code will now be 1 for errors.
- f76f431: Models are now sorted alphabetically in the schema.
- 339c4a7: [BREAKING] Renamed
platform
option totarget
. - b82f2ae: [BREAKING] Changed platform names to remove the language prefix and change the last
:
to@
(e.g.ts:firebase:10
->firebase@10
) - 7612def: Implemented a programmatic API which allows developers to import
typesync-cli
in their Node applications and generate types programmatically. - d48bd06: [BREAKING] Split
generate
intogenerate-ts
,generate-swift
andgenerate-py
commands. - 59c4a29: Implemented the Security Rules generator. The
generate-rules
command will generate and inject type validators for a given definition into the specified Security Rules file.
- 79d2420: Improved
validate
command to capture more error types.
- f5cdb96: Changed the default
indentation
to 2. - ac4beb4: Implemented
customPydanticBase
option that makes generated models extend from a custom Pydantic base class.
- f901a26: Fixed a bug where the Swift generator was ignoring the
indentation
parameter.
- 66c26bf: Fixed missing Swift doc comments.
- 97071de: Extra attributes for Pydantic classes in Python output are now disallowed by default.
- 97071de: Implemented the
additionalFields
config that allows arbitrary fields on object types.
- ca6c95f: Implemented the Swift generator and the 'swift:firebase:10' platform.
- 90752a3: Implemented
unknown
type.
- 54faaaa: Enums with duplicate member values or labels are now disallowed.
- 54faaaa: Enums with 0 members are now disallowed.
- 9925007: Fixed a bug where a simple union definition with an extra 'discriminant' key was parsed without errors.