yosr-seed 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # yosr-seed
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - be8968b: Add MongoDB as a FastAPI `database` choice (ADR 0024): PyMongo async API with lifespan-shared client, startup + script indexes, required seed script, integer public ids via atomic counters (concurrency-safe), Compose `mongo:8.0.34`, throwaway test databases, and gate ephemeral Mongo — not SQLAlchemy or Motor.
8
+ - Updated dependencies [be8968b]
9
+ - @yosr-ai/template-fastapi@0.2.2
10
+ - @yosr-ai/template-next-fullstack@0.2.2
11
+ - @yosr-ai/template-hono@0.2.2
12
+ - @yosr-ai/template-vite-react@0.2.2
13
+ - @yosr-ai/template-astro-site@0.2.2
14
+
3
15
  ## 0.2.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -71,7 +71,7 @@ npx create-yosr-seed my-site --template astro-site
71
71
 
72
72
  `fastapi`: an API-only notes service (FastAPI, Pydantic v2, Ruff, Pyright, pytest) with:
73
73
 
74
- - Database: none (in-memory), SQLite, or Postgres (SQLAlchemy 2 + Alembic)
74
+ - Database: none (in-memory), SQLite, or Postgres (SQLAlchemy 2 + Alembic), or MongoDB (PyMongo async)
75
75
  - Auth: none or one shared API key
76
76
  - Deploy: none or Docker + Compose
77
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yosr-seed",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Yosr Seed CLI. Creates a project from a template.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://seed.yosr.ai",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@clack/prompts": "1.8.1",
31
- "@yosr-ai/template-fastapi": "0.2.1",
32
- "@yosr-ai/template-hono": "0.2.1",
33
- "@yosr-ai/template-next-fullstack": "0.2.1",
34
- "@yosr-ai/template-vite-react": "0.2.1",
35
- "@yosr-ai/template-astro-site": "0.2.1",
31
+ "@yosr-ai/template-fastapi": "0.2.2",
32
+ "@yosr-ai/template-hono": "0.2.2",
33
+ "@yosr-ai/template-next-fullstack": "0.2.2",
34
+ "@yosr-ai/template-vite-react": "0.2.2",
35
+ "@yosr-ai/template-astro-site": "0.2.2",
36
36
  "ajv": "8.20.0",
37
37
  "ajv-formats": "3.0.1",
38
38
  "prettier": "3.9.10"