Skip to content

And Now More Optimizations

Choose a tag to compare

@bschollnick bschollnick released this 15 Nov 15:45
· 94 commits to master since this release

Version 3.90 (November 15, 2025)

Technology: Django 6.0 Alpha, HTMX, Code Organization & Optimization

Version 3.90 focuses on significant code organization improvements through model renaming for clarity, materialization optimizations to reduce memory usage, and streamlined gallery search processes for better performance.

Major Enhancements:

Code Organization & Clarity:

  • Model Renaming: Renamed IndexData to FileIndex to better clarify its purpose as the primary file index model
  • Directory Model Refactoring: Renamed IndexDirs to DirectoryIndex for improved code clarity and consistency with naming conventions
  • Helper Method Migration: Moved IndexData helper methods into the FileIndex model/class for better encapsulation and organization
  • Model Separation: Split IndexData and IndexDirs into separate files for better code organization and maintainability

Performance & Memory Optimizations:

  • Materialization Reduction: Reduced unintended query materializations to minimize memory usage and prevent potential memory leaks
  • Gallery Search Optimization: Streamlined the gallery list search process for improved query performance
  • Import Refactoring: Fixed inline imports and relocated helper functions to more logical locations for better code organization

HTMX Enhancements:

  • HTMX Optimizations: Additional HTMX performance improvements for smoother partial page updates

Bug Fixes:

  • Sidebar Sort Options: Fixed template sort options in the sidebar that were not submitting properly when changed