Releases: spacecodee/inventory-to-csv
Release list
v1.1.0
[1.1.0] - 2025-12-27
Added
- Barcode Management Enhancements:
- Barcode editing functionality with validation
- Dialog component for updating product barcodes
- Duplicate barcode validation before saving
- Edit button in product cards with improved accessibility
- Vendor role access to barcode print section
Changed
- Updated VENDEDOR role permissions to access barcode management features
Full Changelog: v1.0.0...v1.1.0
v1.0.0
[1.0.0] - 2025-12-26
Added
-
User Management System:
- Complete user management interface with CRUD operations
- Admin function to update user metadata
- Role-based access control with role guard
- User role management integrated with Supabase
- Enhanced authentication flow with comprehensive logging
-
Sales Management:
- New sales view with product card components
- Sales tracking and reporting functionality
- Integration with inventory system
-
Export Products Feature:
- Export products view with card components
- Enhanced filter options with date range selection
- Customizable export settings for different formats
-
Barcode Print Management:
- Complete barcode print preset management system
- Barcode print view with related components
- Printed status filter and display functionality
- Configurable print presets for different barcode formats
-
Price Management:
- New price management feature with update functionality
- Price card with image viewer functionality
- Bulk price update capabilities
-
Inventory Features:
- Inventory cards view with image viewer
- Search and filter functionality for inventory
- Sorting functionality for inventory items
- Enhanced inventory management features
-
Product Management:
- Complete product management system with CRUD operations
- Product creation and editing functionality
- Image gallery dialog for product images
- Random code generation for product fields
- Enhanced query parameter handling
- Improved product display with image gallery
-
AI Models Management:
- AI models management with CRUD operations
- AI model selection and configuration
- Enhanced filtering and pagination features
- Spartan UI dialogs integration
-
UI Enhancements:
- New layout with sidebar and routing structure
- Accordion functionality for sidebar items
- Enhanced dashboard layout and functionality
- Improved navigation element styling
Changed
-
Database Schema:
- Enhanced database schema with new triggers
- Added new tables for user management and roles
- Optimized database structure for better performance
-
Authentication Flow:
- Streamlined authentication flow
- Improved sign-in and user creation error handling
- Removed debug logs for cleaner production code
- Enhanced role management integration
-
Dashboard:
- Restructured dashboard component with template and styles
- Removed unused routes and components
- Improved overall layout and user experience
-
Products Manager:
- Improved image gallery dialog structure
- Enhanced product display with better UX
Technical
- Implemented role-based access control system
- Enhanced Supabase integration
- Improved error handling across the application
- Added comprehensive logging for authentication
- Optimized component structure and routing
- Enhanced state management with Angular signals
v0.9.0
[0.9.0] - 2025-12-10
Added
- PDF Export with Barcodes:
- New PDF printing feature for product lists with barcodes
- Options dialog for customizing PDF output:
- Date range filtering (from/to dates)
- Sorting options (by name, barcode, or creation date)
- Sort order (ascending/descending)
- Barcode size selection (small, medium, large)
- Toggle product name and barcode visibility
- Automatic layout calculation based on barcode size
- Small size uses 3 columns per page
- A4 format with proper pagination
- Real-time product count preview
- Products per page automatically calculated
- Barcode generation using JsBarcode (CODE128 format)
- SVG to PNG conversion for PDF embedding
- Page numbering in PDF footer
Technical
- Created
PdfPrintServicefor PDF generation logic - Created
PdfPrintDialogComponentfor user options - Added dependencies:
jspdf@3.0.4 - Integrated with existing product list functionality
- Implemented async barcode image generation to avoid OKLCH color issues
Full Changelog: v0.8.1...v0.9.0
v0.8.1
[0.8.1] - 2025-12-09
Fixed
- OpenRouter Integration:
- Fixed message content structure for OpenRouter SDK (changed
image_urltoimageUrlcamelCase) - Fixed image URL format (now correctly uses
data:URL string instead of URL object) - Improved error handling for vision models:
- Detects when a model doesn't support image input (error 404 with "No endpoints found that support image input")
- Provides user-friendly error messages suggesting vision-capable models
- Recommends free alternatives:
google/gemini-2.0-flash-exp:free,meta-llama/llama-3.2-11b-vision-instruct:free - Recommends paid alternatives:
anthropic/claude-3.5-sonnet,openai/gpt-4o
- Added comprehensive error messages for HTTP status codes (401, 404, 429)
- Enhanced API key and model validation before making requests
- Fixed message content structure for OpenRouter SDK (changed
Full Changelog: v0.8.0...v0.8.1
v0.8.0
[0.8.0] - 2025-12-09
Added
-
OpenRouter Support:
- New AI provider option: OpenRouter alongside Google Gemini
- Custom model ID input for OpenRouter models
- Support for any OpenRouter model (e.g.,
tngtech/deepseek-r1t2-chimera:free) - Access to hundreds of models from different providers
- Full localStorage persistence for OpenRouter model configuration
- Integrated streaming support for OpenRouter responses
-
Environment Configuration:
- Added
openrouterApiKeyto all environment files (development, production) - Updated
.env.local.examplewith OPENROUTER_API_KEY variable - Configuration examples for both Google Gemini and OpenRouter providers
- Added
-
Docker & CI/CD Updates:
- Updated Dockerfile to inject OPENROUTER_API_KEY during build
- Added
openrouter_api_keysecret to GitHub Actions deploy workflow - Updated
build-local.shto handle OpenRouter API key for local builds - All build systems now support both Google Gemini and OpenRouter providers
Changed
-
SystemConfigService:
- Added
aiProvidersignal to track selected provider (gemini/openrouter) - Added
openrouterModelsignal for custom model storage - New
updateAiProvider()method - New
updateOpenrouterModel()method - Removed Gemma models (incompatible with Google SDK, use OpenRouter for Gemma)
- Kept 6 Gemini models for Google provider
- Added
-
AiService:
- Added OpenRouter SDK integration (
@openrouter/sdk) - Dynamic provider and model selection based on configuration
- Separate methods for Gemini (
analyzeWithGemini) and OpenRouter (analyzeWithOpenRouter) analysis - Image handling for both providers with proper base64 encoding
- Streaming support for OpenRouter responses
- Error handling for missing API keys or model configuration
- Added OpenRouter SDK integration (
-
AiModelSettingsDialog:
- Provider selection dropdown (Google Gemini / OpenRouter)
- Conditional UI: shows Gemini model list or OpenRouter text input
- Enhanced layout with separated provider and model configuration
- Information panel showing both Gemini and OpenRouter details
-
GitHub Actions:
- Added OpenRouter API key to secrets in build-and-push step
- Maintained secure secret mounting via Docker BuildKit
Removed
- Gemma models from predefined list (use OpenRouter for access to Gemma models)
Full Changelog: v0.7.0...v0.8.0
v0.7.0
[0.7.0] - 2025-12-09
Added
- Extended AI Model Support - Gemma Models:
- Added 5 new Google Gemma models:
gemma-3-27b,gemma-3-12b,gemma-3-4b,gemma-3-2b,gemma-3-1b - Total supported models expanded from 6 to 11
- New models organized by family (Gemini vs. Gemma) in settings dialog
- Descriptions for each model indicating performance/cost tradeoff
- All Gemma models included in AI model selection configuration
- Added 5 new Google Gemma models:
Changed
- AiModelSettingsDialog:
- Reorganized model list display to show Gemini and Gemma models separately
- Updated model descriptions with Gemma-specific performance indicators
Full Changelog: v0.6.0...v0.7.0
v0.6.0
[0.6.0] - 2025-12-09
Added
- Configurable AI Model Selection:
- New settings dialog to select Google Gemini model
- Support for 6 models:
gemini-2.0-flash-lite,gemini-2.0-flash,gemini-2.5-pro,gemini-2.5-flash-lite,gemini-2.5-flash,gemini-3-pro-preview - Settings button in dashboard header (gear icon)
- Configuration persisted in browser localStorage
- Default model:
gemini-2.5-flash
Changed
-
SystemConfigService:
- Extended to manage AI model configuration
- Added
aiModelsignal for reactive state management - Added
updateAiModel()method to persist changes to localStorage - Exports
AI_MODELSconstant with available models
-
AiService:
- Now uses
SystemConfigServiceto get the configured model - Dynamic model selection instead of hardcoded model
- Model configuration applied to each AI analysis
- Now uses
Full Changelog: v0.5.0...v0.6.0
v0.5.0
[0.5.0] - 2025-12-04
Added
-
Automatic duplicate validation for product codes: New validation system that checks for duplicates in:
- Código Interno (Internal Code)
- Modelo (Model)
- Código de Barras (Barcode)
- Prevents duplicate data entry before saving to database
- Detailed error messages indicating which field(s) contain duplicates
-
Automatic code regeneration on duplicates: Intelligent retry mechanism with automatic code regeneration:
- New
regenerateCodes()method inAiServicefor fast code generation - New
addProductWithRetry()method inInventoryServicewith configurable retry attempts (default: 3) - Automatically regenerates duplicate codes without user intervention
- Improves data integrity and reduces inventory validation errors from AI-generated duplicates
- Transparent user experience with automatic retries
- New
Changed
-
Enhanced
InventoryService:- Injected
AiServicedependency for code regeneration capabilities - Refactored
addProduct()to include duplicate field validation - Added private
checkDuplicateFields()method for validation logic
- Injected
-
Updated
UploadComponent:- Changed from
addProduct()toaddProductWithRetry()for automatic retry capability - Improved error handling to display specific duplicate field information to users
- Better error messages from validation errors
- Changed from
Fixed
- Resolved issue with AI-generated duplicate Código Interno, Modelo, and Código de Barras
- Improved data validation workflow to prevent invalid inventory state
- Enhanced error messages to help users understand exactly what field caused the conflict
Full Changelog: v0.4.4...v0.5.0
v0.4.4
[0.4.4] - 2025-12-02
✨ Added
- Barcode Print Status Filtering & Sorting: Added sorting and filtering capabilities for the "Impreso" (Barcode Printed) column:
- Click column header to sort products by print status (printed first or not printed first)
- Filter panel with dropdown to filter by status: "Todos", "Impreso", "No impreso"
- Filter state syncs with URL query parameters
v0.4.3
[0.4.3] - 2025-12-01
Added
- Auto-mark as Printed: When printing a barcode, the product is automatically marked as printed in the database
- No manual action required after printing
- Toggle button still available for manual override
Changed
- Print Service Return Values: Print methods now return success status
printProductBarcodereturnsbooleanindicating print successprintBarcodesToPdfreturns array of printed product IDs