Skip to content

Lager Guru v3.1.0

Release date: 2025-12-08
Git tag: v3.1.0
Branch: feature/tenant-editions-syste

🔥 Summary

This release introduces the foundational Tenant Edition System, enabling multi-tier subscription management for Lager Guru. This system allows super-admins to assign different editions (FREE, PRO, ENTERPRISE) to tenants, controlling feature access and usage limits.

✨ Added

Core Edition System

  • Editions Table: New editions table with FREE, PRO, and ENTERPRISE tiers
  • Tenant Editions Management: tenant_editions table linking tenants to their assigned editions
  • Edition Assignment UI: Admin interface for assigning and managing tenant editions
  • Module Access Control: Edition-based module availability checking
  • Edition Resolver Service: Centralized edition resolution and feature gating

Database Schema

  • editions table with name, display_name, and description
  • tenant_editions table with assignment tracking (assigned_by, assigned_at)
  • Proper foreign key relationships and indexes
  • Idempotent migration scripts

Documentation

  • Tenant Editions Management guide
  • Edition feature matrix documentation
  • Module access control documentation

🔧 Improved

  • Multi-tenant Architecture: Enhanced with edition-based feature control
  • Access Control: Granular module access based on tenant edition
  • Admin Tools: New super-admin capabilities for edition management

⚙ Migration Notes

  • No Breaking Changes: This is an additive-only release
  • Database Migration Required: Run the tenant editions migration (20251217000000_create_tenant_editions.sql)
  • Default Edition: Existing tenants will need to be assigned an edition (defaults to FREE)
  • Backward Compatible: All existing functionality remains unchanged

Edition Tiers

FREE Edition

  • Basic modules: Dashboard, Shipments, Drivers, Basic Settings
  • Limits: 10 pick lists, 5 zones, 3 workers, 5 drivers

PRO Edition

  • All FREE modules plus: Inventory, Pick & Pack, Maintenance, Safety, Equipment Tracking, Auto Assignment, Routing
  • Limits: 100 pick lists, 50 zones, 20 workers, 30 drivers

ENTERPRISE Edition

  • All PRO modules plus: Floor Plan Visualization, Slotting AI
  • Unlimited usage

🔒 Security

  • Edition checks are enforced at both UI and API levels
  • RLS policies respect edition-based module access
  • Service role can override edition checks for admin operations

📦 Download / View Release

View Release on GitHub

Released under Commercial License