Releases: supabase-community/seed
Release list
v0.97.9
What's Changed
- fix: Wait for data generation jobs correctly by @justinvdm in #164
- fix(mysql): geometry default transforms by @avallete in #165
Full Changelog: v0.97.6...v0.97.9
v0.97.6
v0.97.5
v0.97.4
What's Changed
- feat: Add telemetry for init steps by @justinvdm in #162
Full Changelog: v0.97.3...v0.97.4
v0.97.3
What's Changed
- UX/Copy improvements for
npx @snaplet/seed initby @justinvdm in #161
Full Changelog: v0.97.2...v0.97.3
v0.97.2
v0.97.0
Breaking Changes 🚨
-
.snaplet/config.jsonnew "adapter" key: We changed the way we detect the adapter/dialect that you're using for generating your Seed Client for better integrations.
The adapter is now persisted to.snaplet/config.json.You can run
npx @snaplet/seed initagain which should update your.snaplet/config.jsonfile with the adapter you're using.If you want to do it manually, you can add the
adapterkey to your.snaplet/config.jsonfile.{ // possible values: "prisma" | "postgres" | "pg" | "better-sqlite3" | "mysql2" "adapter": "prisma" } -
Deeper Prisma integration: When using Prisma adapter, we now parse your prisma.schema and automatically reflect your model and field names in the generated Seed Client.
To apply this change, regenerate your Seed Client using
npx @snaplet/seed sync. -
Snaplet AI for better data: We've improved our AI workflow to provide the best data for your seeds. It also means that the data generated might be different from the previous versions.
New Features 🎉
- MySQL support 🐬: We now support MySQL databases! You can use the
mysql2adapter to connect to your database. - Global connect strategy: You can now pass a
connectoption when creating the Seed Client to automatically connect all generated data to the global store.const seed = await createSeedClient({ connect: true }) await seed.users(x => x(2)) // all the posts will be connected to the previously created users in the seed.$store await seed.posts(x => x(2))
Improvements 🛠️
- Optional login: Login is now optional, you can use
@snaplet/seedwithout an account in Snaplet Cloud.
v0.96.1
What's Changed
- improvements(adapters):
prisma.schemais used to define the seed client aliases by @jgoux in #140 - feat: Track version as property in analytics events by @justinvdm in #143
Full Changelog: v0.96.0...v0.96.1
v0.96.0
What's Changed
- feat: Support creating projects during init by @justinvdm in #107
- fix: refactor sequences by @jgoux in #110
- fix: sqlite datatype generation by @avallete in #108
- fix: Save user id when talking to API for identifying users on posthog by @justinvdm in #112
- feat: Automated LLM to generate examples by @CarelFdeWaal in #114
- feat: add project based telemetry by @avallete in #115
- chore: release 0.94.1 by @avallete in #116
- feat: use llm for text fields by @avallete in #113
- feat: add llm prompt under fingerprinting by @avallete in #117
- feat: Support
promptin config by @justinvdm in #118 - fix: Use SUCCESS status instead of COMPLETED by @justinvdm in #119
- fix: provide feedback about init connection by @avallete in #120
- Let the user know that their database has been seeded with data. by @CarelFdeWaal in #122
- Use a normal ts file for our example instead of .mts by @CarelFdeWaal in #123
- fix: cli config error handling by @avallete in #121
- fix: rootPath for monorepo setup by @avallete in #124
- fix: invalid path on windows by @avallete in #126
- feat: add usage metrics based on config to telemetry by @avallete in #127
- chore: upgrade quicktype-core by @avallete in #128
- fix: connect APIs should only look at id fields by @justinvdm in #125
- During sync add link to UI to data generator by @CarelFdeWaal in #130
- Emphasize link to Data generator by @CarelFdeWaal in #131
- chore: release 0.95.0 by @avallete in #129
- fix: Fix types for
connectfor composite primary key by @justinvdm in #132 - fix: Fix telemetry production check by @justinvdm in #133
- CI disable telemetry by @justinvdm in #134
- chore: bump buildjet runner by @avallete in #136
- chore: use builjet cache for nix by @avallete in #137
- feat(cli): possibility to init in a custom directory by @jgoux in #135
- improvements(core): remove callback form in connect and useless $store in model callback context by @jgoux in #139
Full Changelog: v0.92.2...v0.96.0