Skip to content

Releases: prisma-idb/idb-client-generator

Release 0.22.1

04 Jan 17:36
f3e9c12

Choose a tag to compare

0.22.1 (2026-01-04)

Bug Fixes

  • proper enum array handling f1a673f
  • refactor import paths and add enum support to validators 67900fa
  • throw error if clientImport not provided 6633217
  • update prismaSingletonImport paths for consistency 98098d6

Release 0.22.0

04 Jan 15:52
4a2b425

Choose a tag to compare

0.22.0 (2026-01-04)

Bug Fixes

  • add check for non-empty enums before exporting 5159cda

Features

  • add support for exporting TypeScript enums from Prisma schema 924036a

Release 0.21.0

04 Jan 14:18
ebc6251

Choose a tag to compare

0.21.0 (2026-01-04)

Bug Fixes

  • add 'pull' tab to type 0caad0b
  • correct coderabbit path filters 43b22a1
  • enhance array handling in intersectArraysByNestedKey function 412ac7d
  • ensure safe handling of arrays in intersectArraysByNestedKey function 1b1bd53
  • improve byte comparison logic in genericComparator function bf90a22
  • make emits async to persist outbox changes in case of crashes 7698b34
  • outbox table keyPath 37cc59d
  • propagate silent parameter during creates 4a494cd
  • remove backoff implementation for now 933d797
  • sync loop issue during updates/upserts c6e865f
  • update min and max handling logic for boolean fields in aggregate functions aeecb37
  • usage paths 2c9bac5

Features

  • add attachRecordsToLogs function and enhance LogsWithRecords type for better record handling 3c34cee
  • add outbox config options 0b4bf45
  • add outbox sync functionality to createUtilsFile and implement sync worker code e7e722c
  • add prisma-zod-generator 5bd2156
  • add prismaSingletonImport support in generator configuration and batch processor 002f77f
  • add PullTab component and integrate pull changes functionality into the sync workflow 22ddd41
  • add silent option to CRUD methods for event emission control 42f7c53
  • add todo model for testing sync functions 992eb32
  • enhance event emission with record data for create, update, and delete operations 568a0c7
  • enhance model filtering and add silent option for event emissions e8e8543
  • enhance sync handling with oldKeyPath and scopeKey in applySyncBatch 4cb40e1
  • enhance sync worker with backoff strategy and processing state management fea0698
  • implement applyRemoteChanges functionality and integrate cursor management in PullTab component 61e4b80
  • implement keyPath and record validation for entities in pull process 39c08d7
  • implement outbox sync functionality with model tracking and event handling 89754bb
  • move to remote function for better testing 7f0fa7a
  • new package for testing sync capabilities 6fc39a6
  • refactor outbox sync implementation and add OutboxEventIDBClass 6fae232
  • setup prisma and fonts d5aef2c
  • sync: implement sync functionality with server and manage outbox events 608f89b
  • update entityKeyPath type to Array<string | number> and enhance sync handling d87a8bf
  • use adapter auto for endpoint testing a6a6c74

Release 0.20.1

23 Nov 14:23
1b38330

Choose a tag to compare

0.20.1 (2025-11-23)

Release 0.20.0

23 Nov 14:14
932c880

Choose a tag to compare

0.20.0 (2025-11-23)

Bug Fixes

  • move to prisma 7 and allow import path configuration b8de4e7

Features

Release 0.19.1

26 Aug 14:39
e814562

Choose a tag to compare

0.19.1 (2025-08-26)

Bug Fixes

  • correct keyword ordering and field counting (2832a36)

Release 0.19.0

15 Aug 16:25
06b716d

Choose a tag to compare

0.19.0 (2025-08-15)

Features

  • modify creation to handle models with no required fields (d1a775f)

Release 0.18.0

11 Aug 18:34
2bbec10

Choose a tag to compare

0.18.0 (2025-08-11)

Features

  • migrate to code-block-writer for improved performance (9cb52f2)
  • update packages and add optional generator params skeleton (c5b4afa)

Release 0.17.0

14 Apr 14:01
b2f5bc6

Choose a tag to compare

0.17.0 (2025-04-14)

Features

  • add TestUuid model with UUID default and corresponding tests (70c2f01)

Release 0.16.0

24 Mar 11:04
1034833

Choose a tag to compare

0.16.0 (2025-03-24)

Features

  • reset database function (8bcf29d)