• v1.3.0 e58fd35ee4

    mchus released this 2026-02-11 19:24:25 +03:00 | 75 commits to main since this release

    Summary

    Introduced article generation with pricelist categories, added local configuration storage, and expanded sync/export capabilities. Simplified article generator compression and loosened project update constraints.

    Changes

    Main Features: Articles + Pricelist Categories

    • Article generation pipeline
      • New generator and tests under internal/article/
      • Category support with test coverage
    • Pricelist category integration
      • Handler and repository updates
      • Sync backfill test for category propagation

    Local Configuration Storage

    • Local DB support
      • New localdb models, converters, snapshots, and migrations
      • Local configuration service for cached configurations

    Export & UI

    • Export handler updates for article data output
    • Configs and index templates adjusted for new article-related fields

    Behavior Changes

    • Cross-user project updates allowed
      • Removed restriction in project service
    • Article compression refinement
      • Generator logic simplified to reduce complexity

    Breaking Changes

    None identified. Existing APIs remain intact.

    Files Modified

    1. internal/article/* - Article generator + categories + tests
    2. internal/localdb/* - Local DB models, migrations, snapshots
    3. internal/handlers/export.go - Export updates
    4. internal/handlers/pricelist.go - Category handling
    5. internal/services/sync/service.go - Category backfill logic
    6. web/templates/configs.html - Article field updates
    7. web/templates/index.html - Article field updates

    Stats: 33 files changed, 2059 insertions(+), 329 deletions(-)

    Commits

    • 5edffe8 - Add article generation and pricelist categories
    • e355903 - Allow cross-user project updates
    • e58fd35 - Refine article compression and simplify generator

    Testing Checklist

    • Tests not run (not requested)

    Migration Notes

    • New migrations:
      • 022_add_article_to_configurations.sql
      • 023_add_server_model_to_configurations.sql
      • 024_add_support_code_to_configurations.sql
      • Ensure migrations are applied before running v1.3.0
    Downloads