Skip to content

Releases: fuma-nama/fumadb

[email protected]

21 Nov 10:20
a316c92

Choose a tag to compare

Patch Changes

  • bbd0ac4: fix: prismaAdapter to handle unique constraint violations gracefully

[email protected]

06 Nov 15:04
8304df8

Choose a tag to compare

Minor Changes

  • 03ec630: feat: supports uuid column

[email protected]

30 Oct 13:22
543c958

Choose a tag to compare

Patch Changes

  • 51bd4a2: adapter expose name field

[email protected]

04 Sep 08:51
71fd044

Choose a tag to compare

Patch Changes

[email protected]

08 Aug 12:05
f273b62

Choose a tag to compare

Minor Changes

  • 155c48b: [breaking] Change syntax for column builder to simplify types

    import { table, column, idColumn } from "fumadb/schema";
    
    const users = table("users", {
      // `defaultTo# fumadb for generated default value
      id: idColumn("id", "varchar(255)").defaultTo$("auto"),
      timestamp: column("timestamp", "date").defaultTo$("now"),
      name: column("name", "string").defaultTo$(() => myFn()),
    
      // or database-level default value
      image: column("image", "string").defaultTo("haha"),
    
      // nullable
      email: column("email", "string").nullable(),
    });

Patch Changes

  • a681f98: Support composite unique constraints
  • d8acc31: Improve from-database migration to introspect varchar length

[email protected]

07 Aug 05:07
1aa32ab

Choose a tag to compare

Patch Changes

  • a1dc58c: disallow disabling tables to avoid breaking relations
  • 94a6168: Support internal version control on all adapters
  • 009d838: Support backward compatible orm() API, deprecate abstract
  • 65d9e96: Migrate SQLite specific transformations to dedicated transformer
  • a0b2a88: Default to drop unused tables to avoid conflicts with custom up/down
  • 8525880: Support name variants migration on consumer-side without history.
  • 6158b45: Fix condition builder types
  • 65d9e96: Support migration transformer API

[email protected]

31 Jul 14:15
aa3348b

Choose a tag to compare

Patch Changes

  • e681b1a: Fix default value auto migration
  • 5c702a1: [breaking] Require string table name instead of table object in relation builder
  • 41336be: Improve CLI experience
  • b217b3c: Introduce schema variants

[email protected]

29 Jul 10:55
55ac4a2

Choose a tag to compare

Patch Changes

  • 691e0f9: Remove parameters from output migration SQL
  • 849273e: MongoDB [breaking]: Use the missing field instead of using NULL
  • 849273e: Drop SQL only <> operator
  • 51f6494: Implement MongoDB migration engine
  • 142cb38: Support createAdapter() API
  • 51f6494: Make createMigrator sync

[email protected]

26 Jul 11:58
3702b00

Choose a tag to compare

Patch Changes

  • a19ff3c: [Breaking] Remove abstract table/column API, use string instead
  • 736c28c: Breaking: Redesign API to support adapters with fumadb().client() function, drop the old configure()
  • aaf30ae: Support name variants API
  • 5e675ee: Implement application-level foreign key layer for MongoDB

[email protected]

20 Jul 07:54
a9159e3

Choose a tag to compare

Patch Changes

  • cfbe836: Implement soft transaction + return ids on createMany
  • 9c86db9: support duplicated null values for MongoDB
  • 9c86db9: Support relation disambiguation