Skip to content

Releases: sebastianwessel/surrealdb-client-generator

v2.6.1

30 Aug 19:22
287dc3a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.6.0...v2.6.1

v2.6.0

25 Aug 10:53
d0073f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.3...v2.6.0

v2.5.3

15 Jul 20:59
d4c5d85
Compare
Choose a tag to compare

What's Changed

  • Make file operations async and ensure they are awaited correctly by @hammo92 in #44
  • Custom recordId zod type to Schema by @CiskaLV in #45
  • Fix nested arrays by @hammo92 in #48

New Contributors

Full Changelog: v2.5.2...v2.5.3

v2.5.2

12 Jul 19:11
56edfc1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.1...v2.5.2

Full Changelog: v2.5.0...v2.5.1

What's Changed

  • Improve record implementation to allow record strings by @hammo92 in #41

Full Changelog: v2.5.1...v2.5.2

v2.5.0

11 Jul 19:13
518dfce
Compare
Choose a tag to compare

What's Changed

Shout Out

@hammo92 did amazing work:

Full Changelog: v2.4.0...v2.5.0

v2.4.0

09 Jul 17:38
740b4de
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.3.0...v2.4.0

2.3.0

04 Jul 00:26
55512f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.0...2.3.0

2.2.0

22 Jun 16:33
2ecf28c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.2.0

v2.1.0

09 Jun 00:14
Compare
Choose a tag to compare

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

06 Jun 17:34
0802c95
Compare
Choose a tag to compare

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.

Fix

  • Does not support for "IF NOT EXISTS" syntax for DEFINE statements #7
  • Trouble connecting to my surrealdb instance #6
  • Fix default value issue for option schemaFile, which was forcing to write always to the database