Skip to content

TSqlMapManager version property and cache validity check - #10

Merged
belisoful merged 1 commit into
pradosoft:masterfrom
belisoful:sqlmap-manager-version
Oct 23, 2026
Merged

belisoful merged 1 commit into
pradosoft:masterfrom
belisoful:sqlmap-manager-version

Conversation

@belisoful

Copy link
Copy Markdown
Member
  • TSqlMapManager::VERSION holds the package version (1.0.0).
  • TSqlMapManager::getVersion() (the Version property) returns the version that built the manager, in the form of Prado::getVersion(). It is serialized with the manager, so a manager restored from the application cache reports the version that wrote the entry, or null for an entry written by the framework copy.
  • TSqlMapConfig discards a cached manager whose version is not VERSION and rebuilds it from the config files. The migration guide no longer asks for a cache clear after upgrading.
  • Unit tests cover the new manager, serialization, a pre-version entry, and TSqlMapConfig reusing a current cached manager and replacing a stale one.

@belisoful
belisoful merged commit 798cebd into pradosoft:master Oct 23, 2026
11 checks passed
@belisoful
belisoful deleted the sqlmap-manager-version branch October 23, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant