-
Basil v2026.01.002 - Critical Bug Fix Release
StableSome checks failedBasil CI/CD Pipeline / Code Linting (push) Successful in 1m12sBasil CI/CD Pipeline / Shared Package Tests (push) Successful in 1m28sBasil CI/CD Pipeline / API Tests (push) Successful in 2m1sBasil CI/CD Pipeline / Web Tests (push) Successful in 1m40sBasil CI/CD Pipeline / Security Scanning (push) Successful in 1m22sBasil CI/CD Pipeline / Build All Packages (push) Successful in 1m29sBasil CI/CD Pipeline / E2E Tests (push) Has been skippedBasil CI/CD Pipeline / Trigger Deployment (push) Has been cancelledBasil CI/CD Pipeline / Build & Push Docker Images (push) Has been cancelledreleased this
2026-01-17 06:41:02 +00:00 | 26 commits to main since this release🚨 Critical Bug Fix
This release fixes a critical production bug where adding quick tags to recipes would delete all ingredients and instructions.
What's Fixed
Critical Bug Fix - Recipe Update Endpoint
- Fixed: Adding tags via quick tag feature no longer deletes ingredients and instructions
- Root Cause: PUT /recipes/:id endpoint was deleting ALL relations before updating, even when only tags were being modified
- Solution: Changed endpoint to only delete relations that are explicitly included in the update request
- Impact: Recipes that lost data will need to be manually restored from backups
Test Updates
- Updated recipe update tests to validate new patch-like behavior
- Tests now verify that only specified relations are deleted during updates
Version Policy Changes
Implemented consistent version numbering policy:
- Format: YYYY.MM.PPP (e.g., 2026.01.002)
- Policy: Version increments with every production deployment
- Documentation: Added comprehensive version management section to CLAUDE.md
Technical Details
Changed Files:
packages/api/src/routes/recipes.routes.ts- Fixed update endpoint logicpackages/api/src/routes/recipes.routes.real.test.ts- Updated testspackages/api/src/version.ts- Version bump to 2026.01.002packages/web/src/version.ts- Version bump to 2026.01.002CLAUDE.md- Documented version policy
Commits:
c8ecda6: hotfix: only delete recipe relations that are being updated7df625b: test: update recipe update test for new behavior0480f39: chore: bump version to 2026.01.002 and document version policy
Upgrade Notes
This is a critical hotfix and should be deployed immediately. No database migrations required.
Contributors
Previous Version: v2026.01.001
Downloads