Releases: sebastianwessel/surrealdb-client-generator
v2.6.1
v2.6.0
What's Changed
- Allow schema file only generation by @hammo92 in #57
- rename
surrealdb.js
tosurrealdb
by @zvictor in #53 - Version 2.6.0 by @sebastianwessel in #58
New Contributors
Full Changelog: v2.5.3...v2.6.0
v2.5.3
v2.5.2
What's Changed
- Fix generic by @hammo92 in #40
- Fix issue with Record arrays by @hammo92 in #42
- Improve record implementation to allow record strings by @hammo92 in #41
Full Changelog: v2.5.1...v2.5.2
Full Changelog: v2.5.0...v2.5.1
What's Changed
Full Changelog: v2.5.1...v2.5.2
v2.5.0
v2.4.0
What's Changed
- feat: Improve record handling #25 by @sebastianwessel in #34
Full Changelog: 2.3.0...v2.4.0
2.3.0
What's Changed
- Feat: Improve assertion handling by @hammo92 in #27
- fix: fix fails during login #28 by @sebastianwessel in #30
- fix: handling of array type #29 by @sebastianwessel in #31
- fix: handle defaults correctly #32 by @sebastianwessel in #33
New Contributors
Full Changelog: 2.2.0...2.3.0
2.2.0
What's Changed
- 9 add zod passthrough if table is schemaless by @sebastianwessel in #15
- fix: Incorrect handling of boolean value for --generateClient option … by @sebastianwessel in #16
- fix: TYPE option is not z.optional() #14 by @sebastianwessel in #17
- fix: Fields with Value set to future should not be part of InputSchem… by @sebastianwessel in #18
- fix: Add Zod passthrough if field is FLEXIBLE #10 by @sebastianwessel in #19
- fix: Fix handling of array of objects #20 by @sebastianwessel in #23
- feat: Handle array and string with allowed values #22 by @sebastianwessel in #24
Full Changelog: 2.1.0...2.2.0
v2.1.0
Version 2.1.0
The whole mapping from SurrealQL to zod schema and client generation has been refactored.
This fixes (hopefully) several bugs.
The mapping has been improved. It now supports nested structure definitions.
Bugfix:
Breaking Change
Special handling for lib surrealdb.node
has been removed completely.
Only surrealdb.js
is supported.
Full Changelog: 2.0.0...2.1.0
2.0.0
Version 2.0
Breaking changes
Version 2 has breaking changes!
The tool now uses surrealdb.js instead of surrealdb.node for interacting with a SurrealDB instance.
The change was made, because it seems that surrealdb.js is closer to the SurrealDB development process and more up to date in general.
This means, the option "memory" for connections is no longer available, and you need to run against a real running SurrealDB instance (use docker).
Also, option -f, --schemaFile
has no longer a default value assigned, because this was forcing to always write to the database.