Zurück zur Startseite

    Änderungsprotokoll

    Alle Änderungen und Aktualisierungen an LOVWARE

    Version 0.0.7

    2026-02-17
    Security Hardening & Input Validation

    Security

    Edge Function Hardening

    • •Shopware API Input Validation - Action whitelist (Store + Admin API) and UUID regex validation for projectId (shopware-api/index.ts)
    • •Sanitized Error Messages - Generic error messages instead of technical details in 4 Edge Functions (shopware-api, ai-chat, claude-chat, security-log)
    • •Security-Log Field Sanitization - Server-side determination of user_id, ip_address, user_agent instead of client data (security-log/index.ts)
    • •API Type Validation - Strict validation of `api` parameter to 'store' or 'admin' (shopware-api/index.ts)

    Technical

    • •Action Whitelists - 23 Store API and 13 Admin API actions explicitly defined (shopware-api/index.ts)
    • •Error Logging Server-Side - Detailed errors only in server logs, no longer in API responses

    Version 0.0.6

    2025-01-25
    SEO Blog, Component Revisions & Navigation Cleanup

    Added

    Blog & Content

    • •Blog System - Complete SEO-optimized blog with article overview, categories, search and Schema.org structured data (Blog.tsx, BlogPost.tsx)
    • •VersionDiffViewer - Side-by-side and unified diff view for component revisions with statistics (VersionDiffViewer.tsx)

    Authentication

    • •Forgot Password Function - Email-based password reset flow with Supabase Auth integration (Auth.tsx)
    • •Password Strength Indicator - Visual assessment of password security with color coding (Auth.tsx)

    Enhanced

    Navigation & UI

    • •Navigation Centered - Logo and CTA area with fixed width for perfect centering of nav links (Navigation.tsx)
    • •Follow-Up Badges Extended - New categories: animation, typography, colors, spacing with prompt analysis (useAIChat.ts)

    Editor

    • •SnapshotHistoryDialog - Custom labels, diff comparison with current code, reset-to-default (SnapshotHistoryDialog.tsx)
    • •Blog i18n - Complete translations for blog section in DE and EN (blog.json)

    Changed

    • •Migration Feature Removed - Complete shop migration system removed (~20 files)
    • •Blog Link in Navigation - Replaced migration link in desktop and mobile navigation (Navigation.tsx)

    Technical

    • •diff Dependency - New library for code diff calculation (package.json)
    • •Schema.org Blog Data - BlogPosting and Blog structured data for SEO (Blog.tsx, BlogPost.tsx)
    • •run-migration Edge Function - Removed from supabase/config.toml

    Version 0.0.5

    2025-12-31
    API Health Monitoring & XSS Security

    Added

    API Monitoring

    • •check-api-health Edge Function - Automatic and manual API connection check for projects with cron job support
    • •ProjectCard Connection Status - Connection status display with product count, timestamp and 'Check Now' button
    • •Dashboard i18n Extended - New translations for connection status in DE and EN

    Security

    • •XSS Protection in PreviewPane - `escapeHtml()` for all dynamic API data (product names, images, categories, cart)
    • •XSS Protection in frontend-components-template - `escapeHtml()` and `sanitizeUrl()` for ProductList, ProductSearch, CartManager
    • •XSS Protection in checkout-flow - Sanitization of dynamic data in checkout process

    Technical

    • •supabase/config.toml - New Edge Function check-api-health configured
    • •Project Interface Extended - New fields for connection status tracking (last_api_test_at, last_api_test_success, last_product_count)

    Version 0.0.4

    2025-12-27
    SEO URLs & Export Flow

    Added

    SEO & URLs

    • •SEO-friendly Product URLs - `getProductSeoUrl()` method uses Shopware `seoUrls` with fallback to slug/ID
    • •seoUrls Association - Product API now loads seoUrls with `seoPathInfo` and `isCanonical`

    Export

    • •Export Success State - Dialog shows success view after export with ZIP download confirmation and deployment guide

    Enhanced

    • •Export Flow UX - 'Test Headers' button appears only after successful export
    • •Product Links - All product cards now use SEO URLs instead of IDs for better search engine optimization

    Technical

    • •Demo Data with seoUrls - All demo products and categories have seoUrls for consistent preview behavior
    • •Edge Function seoUrls - `getProducts()` and `getProduct()` load seoUrls with includes/associations
    • •Canonical URL Prioritization - `isCanonical` flag is preferred, then first seoUrl as fallback

    Version 0.0.3

    2025-12-22
    Major Editor Overhaul & API Best Practices

    Enhanced

    AI Editor

    • •AI Chat Only Careful Mode - Fast Mode removed, only thorough planning with confirmation
    • •ScopeSelector - New file selection dialog with folder grouping (layouts/pages/components)
    • •Auto-Scope Design Requests - Automatic component selection for design requests
    • •Scope Conflict Detection - Warning on scope/prompt mismatch

    Shopware API

    • •Context Token TTL 7 Days - Extended session duration (previously 24h)
    • •CORS Headers Extended - `sw-context-token` in Access-Control-Expose-Headers
    • •Countries/Salutations GET - Changed from POST to GET (better caching)
    • •Retry-Logic Backoff - Automatic retries on 429/5xx errors

    UI/UX

    • •Select-Dropdown UX - Native dropdown with `appearance: menulist`
    • •Privacy Notice Styling - More subtle without background

    Added

    Editor Components

    • •ProductSearch Class - Live search with debouncing, keyboard shortcuts (⌘K)
    • •SnapshotHistoryDialog - Version history with restore functionality
    • •CorrectionsManager - Autocorrect management for voice input
    • •SequentialProgressBar - Multi-file progress with time estimation
    • •ImageInsertDialog - Guided dialog for image insertion
    • •PlanModificationDialog - Modify plan afterwards
    • •ExecutionSummary - Summary after plan execution
    • •ImageLightbox - Fullscreen image view with zoom

    Shop Templates

    • •Login Template Completely New - Two-column layout with dynamic salutation/country selection
    • •Registration 3-Column Layout - Street | ZIP | City for address
    • •MultiStepCheckoutForm - 4-step checkout with login tab and Shopware integration

    Bugfixes

    • •getCustomer 403 Handling - Correct detection of 'not logged in' status
    • •Newsletter Management Removed - Misleading login benefit deleted
    • •Error Message Format - New `STATUS:ORIGINAL_ERROR` format for better error analysis

    Changed

    • •Fast Mode Removed - Only Careful Mode with plan confirmation
    • •Privacy Without Checkbox - Text notice with links only instead of required checkbox

    Technical

    • •Shopware Client Template - `getCountries()` and `getSalutations()` changed to GET
    • •Light Mode Enforcement - CSS override for form fields
    • •Search Results Dropdown - CSS with z-index: 1000
    • •Scope File Path Mapping - From Component IDs to File Paths

    Security

    • •IntegrityWarning System - Blocking for critical Shopware changes
    • •Shopware Data Protection Validator - Prevents unintended data changes
    • •Force Apply Option - Override with confirmation for experienced users

    Version 0.0.2

    2025-12-16
    Mobile & Responsive Release

    Enhanced

    • •Header Mobile Optimization - Responsive layout with optimized icon arrangement for mobile/tablet
    • •Off-Canvas Navigation - Mobile menu with slide-in animation and overlay
    • •Tablet View Optimization - Adjusted breakpoints and layouts for 769px-1024px
    • •Footer Mobile Layout - Single-column layout with accordion menus for link groups
    • •PDP Sticky Add-to-Cart - Fixed cart bar at bottom of screen for mobile

    Bugfixes

    • •Demo Product UUID Validation - Prevents 500 errors when adding demo products to cart
    • •ProductDetail JSX Variables - No more visible `{product.name}` template variables in preview

    Technical

    • •ProductDetail Scaffold - Converted to static HTML with DOM manipulation instead of JSX
    • •renderProductDetailPage - Extended function for dynamic product data population
    • •Edge Function Validation - UUID format check before Shopware API calls

    Version 0.0.1

    2025-12-15
    Initial Release

    Added

    Core Platform

    • •EditorLayout - Complete visual shop editor with Split/Code/Preview modes
    • •PreviewPane - Live preview with dynamic category/product navigation
    • •CapriEditor - Monaco-based code editor with syntax highlighting
    • •FileTree - Project structure navigation (Layouts, Pages, Components)
    • •AIChat - Dual-mode AI assistant (Fast/Careful Mode)
    • •CloudPanel - No-code shop configuration (Settings, Navigation, Filters)

    Scaffolds/Templates

    • •Header.astro - Responsive navigation with mega-menu & cart
    • •Home.astro - Astronomio landing page with hero, categories, featured products
    • •Footer.astro - 5-column footer with newsletter, trust badges, legal links
    • •ProductListing.astro - Product listing with/without sidebar (2 variants)
    • •ProductDetail.astro - Product detail page with gallery, tabs, reviews
    • •Checkout.astro - Shopify-inspired 3-step checkout
    • •Cart.astro - Shopping cart page with summary
    • •OrderConfirmation.astro - Order confirmation page
    • •Legal Pages - Impressum, Privacy Policy, Terms & Conditions templates

    Shopware 6 Integration

    • •37 API Endpoints (23 Store API, 14 Admin API)
    • •Multi-Tenant Edge Function with OAuth token caching
    • •Real-time Product Data in preview without export
    • •Complete E-Commerce Flow (Browse → Cart → Checkout → Order)
    • •Sales Channel Support for multi-shop configurations

    AI Features

    • •Fast Mode - Quick code generation with Auto-Apply option
    • •Careful Mode - Sequential component processing with confirmation
    • •Image Generation - AI-generated images via Gemini (Hero, Categories, Editorial)
    • •Smart Edit Mode - Minimal diff-based changes
    • •Per-Project Chat - Persistent conversations per project
    • •Expert Mode - 24h bypass for experienced developers

    Migration Tool

    • •6 Platform Connectors - Shopware 5, WooCommerce, Magento 1, JTL, Shopify, PrestaShop
    • •Batch Processing with resume functionality
    • •Real-time Progress and error logging
    • •CSV Export for error reports

    Export System

    • •ZIP Export with complete Astro project
    • •Security Headers for Vercel, Netlify, Apache, Nginx
    • •SEO Optimization (robots.txt, sitemap.xml, meta tags)
    • •Service Worker for offline functionality

    Price Components (PAngV-compliant)

    • •PriceDisplay - Product detail with RRP, VAT, shipping costs
    • •PriceInline - Compact product card prices
    • •PriceSummary - Checkout summary with tax breakdown
    • •PriceTiered - B2B volume pricing

    Pages

    • •Dashboard - Project overview with shop connections
    • •Editor - Main editing view
    • •Migrations - Migration wizard
    • •SecurityDashboard - Security overview
    • •Legal Pages - Impressum, Privacy Policy, Terms & Conditions

    Security

    • •RLS Policies on all critical tables
    • •Service-Role-Only access for credentials
    • •Rate Limiting (100 req/min per IP+Project)
    • •SSRF Protection in Edge Functions
    • •Security Validation before export
    • •Auto-generated Secure Passwords (16 characters)
    • •Shopware Data Protection prevents product data overwriting

    Technical

    • •15 Database Tables with RLS
    • •8 Edge Functions for backend logic
    • •9 Custom Hooks for React state
    • •i18n Support (DE/EN)
    • •Screenshot Function with 10s timeout
    • •Cookie Banner GDPR-compliant
    • •Dark Mode support