Releases: supabase-community/seed
Releases · supabase-community/seed
Release list
v0.98.0
Breaking changes 🚨
There is no more backend when using Snaplet seed. This means that some features will also be affected
- To make use of the AI data generated feature you will have to add your own OpenAI or Groq key see README
- For fields with unique constraints (example email) will currently default to
copycat.sentencesince 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),
},
]);
- 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
Bugfixes 🐛
- Only consider unique indexes when introspecting SQLite databases
v0.97.19
Bugfixes 🐛
- Compatibility with
vitest-@snaplet/seedwas not import-able in vitest
v0.97.18
Bugfixes 🐛
- Added compatibility for Vitess based MySQL databases (Planetscale)
v0.97.17
New Features 🎉
- If you use a custom configuration path, for example:
prisma/seed/seed.config.ts, you can save it to yourpackage.jsonto avoid using the--configoption for each CLI command. You can read more in the Configuration Reference.
v0.97.16
Bugfixes 🐛
- Bug where global connect and plan connect option weren't properly merged togethers
v0.97.15
Bugfixes 🐛
- Fix an aliasing bug for child relationships on prisma projects
v0.97.13
What's Changed
- chore: fix error type style by @avallete in #171
- feat: Improve sync re-run waiting times by @justinvdm in #172
Full Changelog: v0.97.12...v0.97.13
v0.97.12
Improvements 🛠️
- In our
initandsynccommands, 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
Bugfix 🐛
- Correctly escape the configuration path on Windows when generating assets