Changes for version 5.26.6 - 2026-11-13
- [SHARED MASTER ENGINE & REQUEST-SCOPED SESSION SUPPORT (srv)]
- Added 'srv' / '_srv' constructor option and srv() accessor in AmberDB.pm to support request-scoped AmberDB sessions backed by a persistent master engine.
- Shared master schema/database/normalizer caches (_dbase, _table, _norm), base path/config defaults (_path, _cfg), and compiled locale state (_lang, _locale, _collator, regexes/maps) across per-request instances without re-initializing on every request.
- Locked '_srv' field in AmberDB::new() when provided.
- [CONFIGURATION STANDARDIZATION & SIMPLE MODE MODERNIZATION]
- Transitioned legacy 'simple' mode flag to canonical 'use_simple' across engine internals, guides, and documentation.
- Consolidated internal configuration storage ($self->{_cfg}) to maintain a single 'use_simple' key, eliminating redundant dual-key tracking.
- Preserved full backward compatibility in AmberDB::Base::config():
- Getter: $adb->config('simple') is retained as a transparent fallback and resolves to $self->{_cfg}->{use_simple}.
- Setter: $adb->config(simple => $val) automatically maps to $self->{_cfg}->{use_simple}.
- Constructor: AmberDB->new(cfg => { simple => 1 }) automatically normalizes input to { use_simple => 1 }.
- Updated test suite (t/amberdb_simple_mode.t) to assert single-key storage in _cfg and verify two-way getter/setter interoperability between 'simple' and 'use_simple'.
- [NAMESPACE CLEANUP & REMOVAL OF AMBIGUOUS METHOD ALIASES]
- Removed legacy typeglob aliases ('str' and 'short' in AmberDB::Date, 'by_code' and 'all' in AmberDB::Locale::Currency, and 'reindex' in AmberDB::Tools::Index) to prevent ambiguous method pollution on inherited AmberDB instances and eliminate 'used only once' compiler warnings.
Documentation
High-performance Command-Line Console & Embedded Management Utility for AmberDB
Modules
High-performance embedded NoSQL database engine for Perl
Array, matrix manipulation, and set operations utility
Date manipulation, chronological ID generation, range calculation, and formatting utility
Multilingual text processing, collation, number/currency formatting, and search normalization engine
Database maintenance, CLI reindexing, migrations, and bulk conversion toolset