Closed arogachev closed 6 months ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Introduction of Migrations The system has been upgraded with new database migrations. They will make it easier to control the evolution of the database schema, making it more flexible to changes in the future.
Decoupling of Storage Layers The storage systems have been decoupled to build a more robust application structure. This means backend data storage systems can now change without affecting the rest of the application.
Removal of Duplicate Code Efforts have been made to remove any redundancy in the codebase, making the code cleaner and more efficient.
Adoption of Snake Case for Attributes The item attribute names now follow the 'snake_case' format to enhance readability and consistency across the codebase.
Decreased Size for String Columns The size of string columns has been decreased to optimize memory usage and improve performance.
Added Customizable Separator A new feature now allows for a customizable separator for joining and splitting item names, providing more flexibility on how data is presented.
Implementation of Interface Methods Interface methods have been implemented in the codebase, laying a clear contract for classes to follow.
Renaming of getAccessTree() to getHierarchy()
To reflect its functionality better, getAccessTree()
is now getHierarchy()
. This makes the code more self-explanatory.
Removal of CLI Dependencies & SQLite Usage Command-line interface dependencies and SQLite usage have been removed to streamline the code and technology stack.
Resolution of Hardcoding Issues The hardcoded table names in the tree traversal queries have been removed, making it more adaptable for changes.
Performance Enhancements Several adjustments have been made to improve the system's performance.
Renaming of getChildren() to getDirectChildren()
The getChildren()
method is now getDirectChildren()
, which better explains its purpose of only retrieving the immediate children.
Bug Fixes Several bugs, including some related to renaming and ignored assignment dates, have been fixed to ensure that the system works as expected.
PHP Version Upgrade Finally, the PHP version has been upgraded to 8.1 to leverage the latest language features and improvements.