Skip to content

v2.2.0 Enterprise

Latest

Choose a tag to compare

@hamzadenizyilmaz hamzadenizyilmaz released this 31 May 20:05
· 2 commits to main since this release

ReelManager v2.2.0 Enterprise Release Notes

Release: ReelManager v2.2.0 Enterprise
Previous Version: ReelManager v2.1.0 Enterprise
Release Type: Enterprise Feature Release
Status: Stable
Target Users: Electronics engineers, PCB designers, embedded developers, R&D teams, component inventory managers, makers, small production teams


Overview

ReelManager v2.2.0 Enterprise is a major usability, reliability, documentation, backup, update-management and system-administration release.

This version focuses on making ReelManager more suitable for real-world use as a professional electronic component inventory management platform. The update improves dashboard readability, language handling, audit logging, backup/export workflows, footer structure, GitHub release integration, system update safety and enterprise-level administration.

The main goal of this release is to make the system easier to maintain, easier to publish on GitHub, safer to update, and more practical for production-like environments.


What Changed Since v2.1.0 Enterprise

Version v2.1.0 Enterprise introduced the foundation of ReelManager as a full-featured electronic component inventory platform. It included component management, BOM/project management, label printing, datasheet enrichment, GitHub documentation, CI/CD, settings, basic activity logs and a modern SaaS-style frontend.

Version v2.2.0 Enterprise improves and stabilizes that foundation with:

  • A redesigned updates page
  • Safer update workflow
  • Version compatibility checks
  • Automatic backup before update
  • SQL database backup export
  • Improved dashboard labels
  • Better multilingual behavior
  • Detailed activity log pages
  • Better backup and remote transfer validation
  • Smaller and more professional footer
  • Improved GitHub-ready documentation
  • Enterprise-grade release documentation

Highlights

1. Redesigned Updates Page

The /updates page has been redesigned to provide a more professional and focused update management experience.

The page now includes:

  • Current installed version
  • Latest GitHub release version
  • Version compatibility status
  • Update availability indicator
  • Safer update action
  • Security warning area
  • One-time information panel
  • Clear system state messaging

The previous layout displayed too much repeated information. In v2.2.0, the information panel is only shown once per browser/session, improving the user experience.


2. One-Time Update Information Panel

The update information shown on the right side of the /updates page is now displayed only once.

After the user visits /updates and sees the information block, the system stores this state in the browser and does not show the same explanatory panel again.

This prevents unnecessary UI clutter for users who regularly check the update page.


3. Version Compatibility Protection

The update system now checks whether the installed version and the latest available GitHub version are the same.

If both versions are compatible and no update is required:

  • The update action is blocked
  • The update button is disabled or shown as unnecessary
  • A clear message is shown to the user
  • No files are changed
  • No git pull or update command is executed

This prevents unnecessary update attempts and reduces the risk of accidental file changes.


4. Automatic Full Backup Before Update

Before any system update operation, ReelManager now creates an automatic backup.

The backup process includes:

  • Application project files
  • Backend files
  • Frontend files
  • Configuration-related files
  • SQL database export
  • Backup manifest metadata

The backup folder follows a timestamped structure:

backups/
  update-YYYY-MM-DDTHH-MM-SS/
    project-files/
    database-backup.sql
    manifest.json

The manifest.json file includes metadata about the backup process, such as:

  • Backup date
  • Current application version
  • Target update version
  • Backup paths
  • Database export status
  • Update safety status

This makes updates safer and easier to recover from.


5. SQL Database Backup Export

v2.2.0 adds SQL backup export support.

Previously, backup/export features were primarily JSON-based. This release introduces SQL export functionality for better database-level portability.

New backup behavior:

  • JSON export remains available
  • SQL export is now supported
  • SQL export can be used before updates
  • SQL export can be downloaded from the backup settings page

Backend endpoint:

GET /api/settings/backup/export?format=sql

This allows administrators to export a database backup in SQL format.


6. Improved Backup and Remote Transfer Validation

The backup and remote transfer section now validates required connection fields before testing.

The system now warns the user if required values are missing, such as:

  • Host
  • Port
  • Username
  • Remote path
  • Protocol selection

If FTP/SFTP data is incomplete, the test operation does not silently fail. Instead, a clear validation message is shown.

This improves reliability and prevents confusing connection-test behavior.


7. Dashboard Metric Label Fixes

The dashboard previously displayed technical keys such as:

totalComponents
totalStock
lowStockItems
outOfStockItems

In v2.2.0, these labels are now converted into proper user-facing text.

Turkish labels:

Toplam Komponent
Toplam Stok
Düşük Stok
Stokta Olmayan

English labels:

Total Components
Total Stock
Low Stock
Out of Stock

This makes the dashboard more professional and easier to understand.


8. Centralized Language Handling

Language behavior has been improved and centralized.

The selected language from Settings is now applied consistently across the interface.

Supported languages:

  • Turkish
  • English

The language selector now displays proper language names instead of short technical labels:

Türkçe
English

This is more user-friendly than showing only TR / EN.


9. Activity Log Detail Pages

Activity logs are now more detailed and easier to inspect.

The activity log list now includes a Detail action. Clicking it opens a dedicated log detail page:

/activity/:id

The log detail page can show:

  • HTTP method
  • Localized method label
  • Request path
  • Route
  • Status code
  • Localized status label
  • Duration in milliseconds
  • Query parameters
  • Route parameters
  • Request body
  • User information
  • IP address
  • User agent
  • Origin
  • Referer
  • Request ID
  • Timestamp

This gives administrators better visibility into system activity.


10. New Activity Log Detail Endpoint

Backend support was added for reading a single activity log record.

New endpoint:

GET /api/activity-logs/:id

This endpoint powers the /activity/:id frontend page.


11. More Detailed Audit Logging

The logging system was improved to provide more useful information for administrators.

The system can now record:

  • API method
  • API path
  • Route
  • Status code
  • Response duration
  • Query data
  • Parameter data
  • Request body
  • User identity
  • IP address
  • User agent
  • Origin
  • Referer
  • Request timestamp
  • Request ID

Sensitive fields are masked before being stored.

Masked fields include:

password
token
secret
apiKey
authorization
clientSecret
refreshToken
accessToken

This improves security while still keeping logs useful.


12. Professional Footer Redesign

The footer was reduced in height and redesigned to be more suitable for a professional SaaS-style dashboard.

The new footer includes:

  • Application name
  • Version information
  • GitHub link
  • Language indicator
  • Short corporate description

The footer is now smaller, less visually heavy and better aligned with the rest of the interface.


13. GitHub Release Integration

The update page can check GitHub release information.

The system can compare:

  • Installed version
  • Latest available GitHub version

The release check requires backend internet access.

The update mechanism is protected by an environment variable:

ALLOW_SYSTEM_UPDATE=true
APP_VERSION="v2.2.0"

By default, the system remains in safe mode. If update execution is disabled, the system can check the version but does not modify files.


14. Safer Update Execution

Update execution is intentionally protected.

The system does not automatically update unless:

  • A newer version exists
  • Versions are not already compatible
  • The update feature is explicitly enabled
  • Backup completes successfully

This reduces the risk of accidental production changes.


15. Improved Settings Structure

The settings area now better supports enterprise-style administration.

Settings areas include:

  • General system settings
  • Default route selection
  • Users
  • Security
  • Language
  • Datasheet API configuration
  • Printer and label settings
  • Appearance and design
  • Backup
  • Detailed logs
  • Updates

This makes the settings area more complete and easier to expand.


Updated Pages

/dashboard

Updated dashboard labels and metric display.

/updates

Redesigned update page with:

  • Version check
  • One-time info panel
  • Safe update blocking
  • Backup-before-update behavior

/activity

Improved log list display.

/activity/:id

New activity log detail page.

/settings

Improved settings categories and administration flow.

/settings/backup

Improved backup export and remote transfer validation.


Updated Backend Endpoints

Activity Logs

GET /api/activity-logs
GET /api/activity-logs/:id
GET /api/activity-logs/summary

Backup

GET /api/settings/backup/export
GET /api/settings/backup/export?format=json
GET /api/settings/backup/export?format=sql
POST /api/settings/backup/test

Updates

GET /api/updates/check
POST /api/updates/apply

Environment Variables

The following environment variables are relevant to v2.2.0 update and backup behavior:

APP_VERSION="v2.2.0"
ALLOW_SYSTEM_UPDATE=false
GITHUB_REPOSITORY="hamzadenizyilmaz/ReelManager-Electronics-Component-Inventory-Manager"

To allow real update execution:

ALLOW_SYSTEM_UPDATE=true

For safety, update execution should remain disabled unless the administrator fully understands the update workflow.


Backup Behavior

Before update execution, ReelManager now creates a backup.

Backup includes:

  • Project files
  • SQL database export
  • Manifest metadata

Example backup structure:

backups/update-2026-06-01T12-30-00/
  project-files/
  database-backup.sql
  manifest.json

The backup process is designed to support rollback and manual recovery.


Security Notes

v2.2.0 improves security in the following areas:

  • Sensitive fields are masked in logs
  • Update execution is disabled by default
  • Same-version updates are blocked
  • Backup is required before update
  • Remote backup test requires validation
  • Logs provide better traceability

Administrators should still avoid storing sensitive API keys directly in frontend-accessible storage.

Recommended production behavior:

  • Store secrets in backend .env
  • Use a secure vault where possible
  • Disable update execution unless required
  • Review backup files before storing remotely
  • Restrict /settings, /updates and /activity to admin users

Migration from v2.1.0 Enterprise

1. Pull or replace project files

Update project files from the v2.2.0 package.

2. Update backend dependencies

cd backend
npm install

3. Validate Prisma schema

npx prisma validate

4. Run migration if required

npm run prisma:migrate

5. Seed if needed

npm run prisma:seed

6. Start backend

npm run dev

7. Update frontend dependencies

cd frontend
npm install

8. Clear build cache

Remove-Item -Recurse -Force .next -ErrorAction SilentlyContinue

9. Build frontend

npm run build

10. Start frontend

npm run dev

Recommended Post-Update Checks

After upgrading to v2.2.0 Enterprise, verify:

  • Dashboard metric labels are readable
  • Settings language selection works
  • /updates shows the current version
  • Same-version update is blocked
  • Backup export works
  • SQL backup export works
  • Remote backup test validates missing fields
  • Activity log list loads
  • Activity log detail page opens
  • Footer is smaller and readable
  • GitHub release check works

Known Notes

  • GitHub update check requires backend internet access.
  • Real update execution requires ALLOW_SYSTEM_UPDATE=true.
  • SQL export depends on database access and environment configuration.
  • FTP/SFTP transfer behavior depends on configured server credentials.
  • Browser-based printer detection may require WebUSB/WebSerial support and user permission.

Upgrade Recommendation

All users of v2.1.0 Enterprise are encouraged to upgrade to v2.2.0 Enterprise.

This release improves:

  • Safety
  • Backup reliability
  • Update management
  • Logging
  • Dashboard readability
  • Admin experience
  • GitHub publication quality

Credits

ReelManager is developed as an open-source electronic component inventory management platform for electronics, PCB, embedded systems and R&D workflows.

GitHub Repository:

https://github.com/hamzadenizyilmaz/ReelManager-Electronics-Component-Inventory-Manager