Skip to content

Releases: supabase-community/seed

v0.98.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 09:38
dd2644c

Breaking changes 🚨

There is no more backend when using Snaplet seed. This means that some features will also be affected

  1. To make use of the AI data generated feature you will have to add your own OpenAI or Groq key see README
  2. For fields with unique constraints (example email) will currently default to copycat.sentence since we don't have our custom model to identify the shape anymore. For these cases please define it in manually as in this example in the docs:
await seed.posts([
  {
    title: 'Hello World!',
    author: {
      email: (ctx) =>
        copycat.email(ctx.seed, {
          domain: 'acme.org',
        }),
    },
    comments: (x) => x(3),
  },
]);
  1. Older CLI clients will stop working on the 31st Aug 2024 since it relies on the backend API.

New Features 🎉

  • Snaplet can be used fully offline and is completely open source so bring your suggestion and make contributions.

v0.97.20

Choose a tag to compare

@github-actions github-actions released this 27 May 12:40

Bugfixes 🐛

  • Only consider unique indexes when introspecting SQLite databases

v0.97.19

Choose a tag to compare

@github-actions github-actions released this 21 May 07:17

Bugfixes 🐛

  • Compatibility with vitest - @snaplet/seed was not import-able in vitest

v0.97.18

Choose a tag to compare

@github-actions github-actions released this 21 May 05:40
2b6c282

Bugfixes 🐛

  • Added compatibility for Vitess based MySQL databases (Planetscale)

v0.97.17

Choose a tag to compare

@github-actions github-actions released this 16 May 16:34

New Features 🎉

  • If you use a custom configuration path, for example: prisma/seed/seed.config.ts, you can save it to your package.json to avoid using the --config option for each CLI command. You can read more in the Configuration Reference.

v0.97.16

Choose a tag to compare

@github-actions github-actions released this 16 May 08:41

Bugfixes 🐛

  • Bug where global connect and plan connect option weren't properly merged togethers

v0.97.15

Choose a tag to compare

@github-actions github-actions released this 14 May 12:39

Bugfixes 🐛

  • Fix an aliasing bug for child relationships on prisma projects

v0.97.13

Choose a tag to compare

@github-actions github-actions released this 13 May 13:08

What's Changed

Full Changelog: v0.97.12...v0.97.13

v0.97.12

Choose a tag to compare

@github-actions github-actions released this 09 May 07:32

Improvements 🛠️

  • In our init and sync commands, we now show total progress for all Snaplet AI jobs (we previously were only able to show progress some kinds of Snaplet AI jobs). We can pick up when the jobs have started sooner and let you opt to skip waiting for all jobs rather than only some of them. This way you have a more complete picture of what has happened, and have more control from start to end.

v0.97.11

Choose a tag to compare

@github-actions github-actions released this 06 May 16:36

Bugfix 🐛

  • Correctly escape the configuration path on Windows when generating assets