Revision history for Object::Configure - Runtime Configuration for an Object

0.27	Wed Dec  2 04:28:21 PM EST 2026
	[ Incompatible Changes ]
	- Config files larger than 16K (16384 bytes) are now refused.
	  configure() croaks with "config file is too large (SIZE bytes;
	  the limit is 16384 bytes)" before parsing the file, and a hot
	  reload of a file that has grown past the limit warns and keeps
	  the object's current settings.  This applies to ancestor class
	  files and universal.yml too.  If you keep large data in a config
	  file, move it to a separate file and put its path in the config.

	[ Enhancements ]
	- New optional 'cache' argument to configure() and instantiate():
	  pass any object with get() and set() (CHI, Cache::Cache,
	  Cache::Memcached ...) and parsed config files are reused while
	  nothing that affects them has changed: about 3x faster
	  configure() for a two-file hierarchy.  The cache key covers the
	  file, every other file read for it, the class's environment
	  variables, the environment name, --CLASS__key=value arguments,
	  the current directory and module versions.  Without 'cache',
	  nothing changes.  If the cache fails, a warning is given and the
	  files are parsed as before.  Cached values are decrypted, so use
	  an in-memory cache if your config holds encrypted secrets.
	- Performance: configure() without a config file (environment
	  variables only) is about 23% faster.  It built two identical
	  Config::Abstraction parsers for the class itself; each one
	  searches every default config directory.  Results are unchanged.
	- register_object() now removes references to objects that no
	  longer exist as its list grows.  Before, they were only removed
	  when SIGUSR1 arrived, so a long-running program that registered
	  short-lived objects (for example one per request via
	  instantiate()) and never reloaded used more memory for every
	  object it ever made.  100,000 short-lived registrations now leave
	  19 entries instead of 100,000.
	- Hot reload now re-reads every file an object was configured from
	  (universal.yml, ancestor class files and its own files) and merges
	  them base-first, as configure() did.  Previously only the most
	  specific file was re-read, so edits to an ancestor's file or to
	  universal.yml triggered a reload but were ignored until restart.
	  configure() records the section each file was read with in a new
	  _config_sections key, parallel to _config_files.  Objects built by
	  hand without it keep the old behaviour.
	- Each config file is parsed once per reload, however many objects
	  use it, instead of once per object.  The parsers are kept between
	  reloads and refreshed with Config::Abstraction's reload() when it
	  is available (0.44 and later, now a recommended dependency); with
	  0.38 to 0.43 a new parser is built each time, as before.
	- SIGUSR1 is shared properly with other code (daisy chaining).  A
	  handler that was in $SIG{USR1} before the first object was
	  registered is now always called after Object::Configure's own
	  work, even if the reload or the hot-reload callback dies (that
	  failure is reported as "Object::Configure: hot reload failed:
	  ERROR" or the existing callback warning).  A handler given as a
	  sub name, such as 'main::on_usr1' or 'on_usr1', is now called;
	  before, it was skipped with a "Cannot chain" warning.  That
	  warning is now given only for a name with no sub behind it.
	- At program exit the previous SIGUSR1 handler is put back (in the
	  DESTROY of an internal guard object), but only if Object::Configure's
	  handler is still the installed one.  Previously the exit-time
	  restore was unconditional, which removed any handler that other
	  code had installed on top of ours.  An explicit call to
	  restore_signal_handlers() still restores unconditionally.

	[ Bug Fixes ]
	- get_signal_handler_info() reported hot_reload_active as true on
	  Windows after register_object(), although hot reload does not run
	  there.  It is now always false on Windows.
	- With the new 'cache' argument, changing a class's environment
	  variable (CLASS__key) did not invalidate its cached settings on
	  Windows, or on any platform when the variable's name was written in
	  a different case (CLASS__KEY): the cache key matched names case-
	  sensitively, but Config::Abstraction reads them in any case, and
	  Windows reports every name in upper case.
	- A program that had enabled hot reload usually exited with status 15
	  (or sometimes 9) instead of its real exit status: stopping the
	  watcher at program end overwrote $?.  disable_hot_reload() now
	  leaves $? alone, so "exit 0" exits 0 again.
	- Stopping the watcher (disable_hot_reload(), restore_signal_handlers()
	  or program end) took five seconds about one time in ten.  The
	  watcher's SIGTERM handler was a Perl sub, which could miss a signal
	  that arrived just before it went to sleep, so it was only killed
	  after the five-second timeout.  The watcher now uses SIGTERM's
	  default action and stops at once.
	- Calling enable_hot_reload() before any object was registered
	  (with register_object() or instantiate()) left SIGUSR1 unhandled,
	  so the first edit to a config file ended the program.
	  enable_hot_reload() now installs the handler itself.
	- restore_signal_handlers() now also stops the watcher.  Before, the
	  watcher kept running, and its next SIGUSR1 met the restored
	  handler; if that was DEFAULT, the program ended.
	- The watcher process now exits when the program that started it
	  dies without stopping it (POSIX::_exit, SIGKILL, a crash).  Before,
	  it ran forever, and sent SIGUSR1 to whatever process adopted it
	  (init, or a session manager such as systemd --user).  An orphaned
	  watcher also kept inherited pipes open, which made a test harness
	  wait forever.
	- Security (Windows): the path-traversal check on config_file (and on
	  config_path and hot-reload paths) could be bypassed on Windows.
	  Windows treats \ as a separator and strips trailing dots and
	  spaces from each path component, so "...", ".. " and "..\x.yml"
	  all reach the parent directory, but only "../" with exactly two
	  dots was refused.  On Windows those forms are now refused too.
	  Unix is unchanged: there "..." and backslashes are ordinary
	  filename characters.
	- instantiate() no longer dies with the internal message
	  "register_object: Usage ($class, $obj)" (or "$obj must be a
	  blessed reference") when the class's new() returns undef or an
	  unblessed reference and a config file was loaded.  The value
	  new() returned is now passed back to you unregistered, so a
	  constructor that signals failure by returning undef can be
	  checked as usual.
	- configure() no longer modifies the hash you pass it.  When a
	  config file was loaded, coderefs and arrayref loggers were
	  deleted from your args hash and never put back, so code that
	  re-used one args hash for several constructors lost them after
	  the first call.
	- A config_file given as a bare name (e.g. 'my-child.yml', relative
	  to the current directory) now finds ancestor config files in the
	  same directory.  Previously they were looked for in the root
	  directory, so values from base-class files were silently missing.
	- A config file found through config_dirs is now watched for hot
	  reload.  Previously it was loaded but edits to it were never
	  noticed.
	- croak_on_error is now honoured.  It was documented but ignored.
	  It is passed to Log::Abstraction only when you set it, so the
	  default behaviour (error() does not croak) is unchanged; the POD
	  wrongly said the default was 1.
	- The hot-reload watcher now notices a file replaced by an older
	  copy (cp -p, rsync -t, a VCS checkout) or changed in size within
	  the same second; it compares mtime, size and inode instead of
	  only "mtime is newer".  A file that an editor deletes and
	  re-creates is no longer dropped from the watch list for good.
	- The watcher child now exits with POSIX::_exit, so your program's
	  END blocks and destructors no longer run a second time in the
	  child (which could close shared database handles or remove temp
	  files).
	- enable_hot_reload() is now a no-op on Windows, as documented.
	  Previously it started a pseudo-process that polled forever.
	- reload_config() now counts only objects that actually had a
	  config file re-read, as documented.
	- _config_file is now set only when a config file was really
	  loaded, as documented, and holds the full path when the file was
	  found through config_dirs.  Previously it held whatever name you
	  passed even if nothing was found, so instantiate() registered the
	  object for hot reload of a file that did not exist.
	- A hot-reload callback that dies no longer throws out of the
	  SIGUSR1 handler into whatever code happened to be running; the
	  error is reported with carp and the reload carries on.
	  A previously installed coderef handler is now passed the signal
	  name when it is chained, as Perl itself would pass it.
	- disable_hot_reload() now always clears the watcher state.  If the
	  recorded pid was missing or 0 the state was left behind, and
	  enable_hot_reload() then refused ever to start a watcher again.
	- configure(), instantiate() and reload_config() no longer change
	  your $!.  Missing-file probes left it set to ENOENT, and because
	  reload_config() runs from the SIGUSR1 handler, $! could change
	  under unrelated code at any moment.
	- The "CLASS: FILE: OS-ERROR" croak for an existing but unreadable
	  config_file now always says "Permission denied" (in your locale).
	  It used to show whatever $! happened to hold beforehand, which
	  could be an unrelated error or nothing at all.
	- configure() no longer crashes ("Can't use string as a HASH ref")
	  when a config file is found but no installed parser can read it,
	  for example a YAML-style .conf without YAML::XS.  The file is now
	  skipped with "Warning: Can't load configuration from FILE: no
	  settings could be read", and your other values are kept.  Hot
	  reload of such a file leaves the object unchanged.
	- A logger that dies while logging "Configuration reloaded" no
	  longer makes reload_config() report the reload as failed; the
	  new settings were already applied.
	- config_dirs => [] (an empty list) now croaks for a missing
	  config_file, as leaving config_dirs out does, instead of silently
	  loading nothing.

	[ Changes ]
	- logger => 'NULL', a logger object or a coderef now always wins,
	  as arrayrefs already did.  Previously a logger: section in a site
	  file such as ~/.conf/local.yaml or universal.yml could replace
	  them, so an explicit 'NULL' could still produce logging, and only
	  when no config_file was given.  A hashref logger is unchanged: it
	  is options, and a config file's logger: section still overrides
	  its keys.
	- Error messages for an unreadable or path-traversing config_file
	  now name the class as My::Class rather than My__Class.  If you
	  match on the old form, update your pattern.
	- configure($class, %args) (a hash instead of a hashref) now croaks
	  with "params must be a hash reference" instead of Perl's "Not a
	  HASH reference".
	- enable_hot_reload() croaks if callback is given but is not a code
	  reference, instead of failing later inside the SIGUSR1 handler.
	- configure() croaks with "config_dirs must be an array reference"
	  when config_dirs is a string, instead of Perl's "Can't use string
	  as an ARRAY ref".
	- Documentation fixes and new LIMITATIONS entries (hot reload
	  re-reads only the most specific file; removed keys stay on the
	  object; the watcher only knows files loaded before it started).

0.26	Thu Nov 19 09:11:33 AM EST 2026
	[ Enhancements ]
	- Perl 5.26 is now the minimum.  Log::Abstraction 0.40 and later,
	  and Params::Validate::Strict 0.40 and later (needed by
	  Config::Abstraction), require 5.26, so on older perls the
	  dependencies could not be installed and installing
	  Object::Configure failed anyway.  Makefile.PL now says so, so
	  older perls get a clear "needs 5.26" message (and CPAN Testers
	  reports NA rather than FAIL).

	[ Bug Fixes ]
	- Object::Configure now needs Log::Abstraction 0.41.  Earlier versions
	  set Sub::Private's mode to enforce for the whole process when they
	  loaded, so loading Object::Configure changed how every other module
	  using Sub::Private behaved (private subs were wrapped instead of
	  removed, and code reading the mode saw "enforce").  Object::Configure
	  itself never set it.  If you cannot upgrade Log::Abstraction, that
	  is the version to ask for.
	- t/edge_cases.t no longer fails on Cygwin when run by a user in
	  the Administrators group (or anywhere chmod 0000 still leaves a
	  file readable).  The "unreadable config file" test now uses the
	  optional Test::Permissions to check whether chmod can really make
	  a file unreadable, and skips if it can't or if Test::Permissions
	  isn't installed.
	  Fixes https://matrix.perl-magpie.org/results/702aec9c-d9ff-11f1-a265-ec4270818d2b

0.25	Fri Nov  6 10:54:40 AM EST 2026
	[ Bug Fixes ]
	- Tests no longer hard-code a "use lib" path to a local Test::Returns
	  checkout.  Where that path existed but was unreadable, require() died
	  with "Permission denied" instead of falling back to the installed
	  Test::Returns, so t/domain.t, t/data-flow.t, t/edge_cases.t, t/path.t
	  and t/transaction.t failed to install.  Test::Returns is now loaded
	  from @INC like any other dependency.
	- t/unit.t: skip the alarm() remaining-time check on MSWin32, where
	  alarm() always returns 0.
	- Corrected the documented enable_hot_reload() fork error message to
	  match the one actually thrown ("Failed to fork config watcher: ...").

	[ Enhancements ]
	- The module now uses autodie.  kill() and fork() are exempted where
	  failure is expected or handled locally, so disable_hot_reload() still
	  cleans up if the watcher has already exited.
	- Added an AUTHOR section to the POD.

	[ Packaging ]
	- MIN_PERL_VERSION raised to 5.010: the code uses the // operator.
	- Declared runtime dependencies that were missing or listed only as test
	  dependencies: autodie, IPC::System::Simple, List::Util 1.33,
	  File::stat, POSIX, Time::HiRes.
	- Declared test dependencies Test::Exception and Test::More; removed
	  ExtUtils::MakeMaker from the runtime prerequisites.
	- Test::Memory::Cycle is now a recommended test dependency.
	- LICENSE metadata is now gpl_2, matching the POD.

0.24	2026-08-20T14:41:40-04:00
	[ Enhancements ]
	- configure() now validates the class name against /\A[A-Za-z_]\w*(?:::\w+)*\z/
	  and croaks on invalid input, preventing taint-mode failures and injection
	  through malformed package names.
	- Added $RE_PATH_TRAVERSAL guard in configure() and _reload_object_config():
	  any config_file path containing ../ or /.. sequences is rejected with croak
	  before any filesystem probe, preventing directory traversal attacks.
	- disable_hot_reload() now checks PID > 1 && PID != $$ before sending SIGTERM,
	  preventing accidental signalling of PID 1 (init) or the parent process itself.
	- enable_hot_reload() and _run_config_watcher() now use defined-or (//) for the
	  interval parameter and clamp negative/zero values to $DEFAULT_INTERVAL,
	  preventing integer-wrap and busy-poll from a caller-supplied zero/negative value.
	- Memoised _get_inheritance_chain() with %_chain_cache (keyed by class name):
	  repeated calls for the same class return immediately, eliminating redundant
	  mro::get_linear_isa traversals. Benchmarks show ~7x speedup on repeated calls.
	- Memoised _find_class_config_file() with %_find_cache (keyed by NUL-joined
	  class+base+dirs): eliminates repeated filesystem probes for the same ancestor
	  class. Benchmarks show ~27x speedup on repeated calls.
	- Replaced grep { $_ eq 'UNIVERSAL' } @mro with List::Util::any (XS,
	  short-circuits on first match).
	- _find_class_config_file() now copies $dir to a local scalar before stripping
	  the trailing slash, avoiding aliased mutation of the caller's config_dirs array.
	- Added t/cgi_security.t: 17-subtest security pen-test suite covering path
	  traversal, null-byte injection, command injection, CRLF injection, env-prefix
	  collision, XSS, config_dirs traversal, DoS, object injection, registry
	  poisoning, signal safety, arbitrary file read, deep-merge DoS, and input
	  validation guard clauses.
	[ Bug Fixes ]
	- Fixed instantiate(): 'class' key was read from %params but not deleted, causing
	  it to propagate through configure() as a spurious config key and end up in the
	  blessed object's hash, polluting its namespace. Changed $params->{'class'} to
	  delete $params->{'class'} (D~ data-flow anomaly - dead store without delete).
	- Fixed class-name validation regex: \w+ after :: permitted digit-first components
	  (e.g. Bad::1Bad was accepted). Corrected to [A-Za-z_]\w* so each :: component
	  must start with a letter or underscore, matching Perl's actual identifier rules.
	- Fixed _reload_object_config(): the $RE_PATH_TRAVERSAL guard was positioned AFTER
	  the -f filesystem test, meaning traversal paths for non-existent files were silently
	  ignored rather than rejected. Guard now fires before the -f check.
	- Config::Abstraction, Log::Abstraction, and Return::Set all use eval internally
	  protect the caller's $@ from being clobbered by our internal eval blocks.
	- Fix https://github.com/nigelhorne/Object-Configure/issues/7

	- configure(): added $RE_PATH_TRAVERSAL guard for config_path (the env-only branch).
	  Previously, a caller with env-var control could set ClassName__config_path=../../etc/shadow
	  to force the hot-reload watcher to stat arbitrary system files (mtime side-channel via
	  SIGUSR1) and cause fatal taint violations under -T. Now rejected with croak before any
	  filesystem probe, matching the existing config_file guard.
	- register_object(): added blessed($obj) guard. The POD has always required a blessed
	  reference, but the code only checked defined(). An adversary or buggy caller could push
	  thousands of unblessed entries, causing reload_config() to iterate them on every SIGUSR1
	  and degrading throughput proportionally (DoS). Unblessed refs now croak immediately.

	[ Tests ]
	- Expanded t/edge_cases.t from 28 to 62 subtests: added destructive, pathological,
	  boundary-condition, and security subtests across all public and private functions:
	    * Param-type hostility: undef params defaults to {} (intentional); arrayref params
	      surfaces Perl type error (documented hostile-input behaviour).
	    * Global variable integrity: $@, $_, and alarm() are all verified not to be
	      clobbered by configure() across its full code path.
	    * Return-type contracts (Test::Returns): configure() satisfies { type => hashref }
	      schema; reload_config() satisfies { type => integer } schema.
	    * Security / injection: null byte, CR, LF, and shell metacharacters (space ; | $)
	      in class name are rejected; _reload_object_config() traversal guard verified to
	      fire before -f filesystem check even for non-existent traversal paths.
	    * Filesystem hostility: directory as config_file (graceful), dangling symlink
	      (croaks with locale-safe OS error), unreadable file / chmod 000 (locale-safe
	      EACCES croak), config_dirs entry that is a plain file (ignored), empty-string
	      config_dirs entry (no crash).
	    * _deep_merge() boundary: (undef,undef)->undef, (undef,hashref)->overlay,
	      (hashref,scalar)->scalar, (hashref,arrayref)->arrayref, 50-level nesting no stack
	      overflow.
	    * Registry/signal safety: register_object(undef,*) and register_object(*,undef)
	      croak with usage; unblessed hashref now croaks (security fix S2);
	      disable_hot_reload() idempotent; enable_hot_reload(0/-9999) clamped to default;
	      double enable_hot_reload() is a no-op (no double-fork).
	    * Upstream failure (Mockingbird): Config::Abstraction::new returning 0 causes
	      carp and continues; configure() returns a valid hashref.
	    * DoS resilience: 500-key params hash handled without crash.
	    * Context safety: configure() in list context returns exactly one hashref.
	    * Regressions: digit-first :: component still rejected; traversal guard fires
	      before -f for non-existent paths; instantiate() with undef/missing class croaks;
	      caller-supplied _config_file/_config_files keys preserved in result.
	- Added t/data-flow.t: 24 Define-Use (DU) chain subtests covering %stashed_values
	  stash-restore, $array_logger priority, %_find_cache memoization (both hit and
	  undef sentinel), %_chain_cache copy semantics, @config_files_to_load sort order,
	  _deep_merge non-mutation of inputs, carp_on_warn propagation, weak-ref GC
	  lifecycle, reload_config() dead-ref pruning, caller params non-mutation,
	  _config_file set-once semantics, %_config_file_stats synchronous population,
	  env_prefix :: -> __ conversion, %tracked_files duplicate-file guard, O~ file
	  descriptor leak check (/proc/self/fd), $@/$_ non-pollution, _build_logger()
	  paths (undef/NULL/passthrough), and instantiate() 'class' key non-leakage.
	- Expanded t/integration.t from 19 to 27 subtests: added optional-deps subtest
	  (Test::Without::Module), env-var precedence E2E, GC weak-ref pruning verification
	  (exercises the reload_config() bug fix), arrayref logger capture, logger isolation
	  between two concurrent objects, 3-level inheritance merge order, _config_file_stats
	  population, and security E2E (traversal + invalid class in full constructor workflow).
	  Key fixes applied during test writing:
	    - Arrayref loggers must use ->warn() (not ->debug()): 'debug' has syslog priority 7,
	      above the default Log::Abstraction threshold (warning = 4), so debug calls are
	      silently dropped; hashref logger specs are also not stashed before the config
	      merge, so a site-local UNIVERSAL logger config can override an explicit level.
	    - _config_file_stats is only populated via the primary-file branch (-r $config_file);
	      the fallback directory scan does not record stats.  Tests that verify stat tracking
	      must supply an absolute config_file path.
	- Expanded t/function.t from 35 to 55 subtests: added white-box coverage for the
	  S2 class-name guard (8 invalid partitions + 2 valid boundary cases), S1 path-traversal
	  guard, _reconfigure_logger() (2 subtests), _reload_object_config() (3 subtests
	  including traversal and private-key filtering), register_object() weak-reference
	  storage, restore_signal_handlers() after synthetic install, enable_hot_reload()
	  early-return guard, _find_class_config_file() trailing-slash non-mutation,
	  _get_inheritance_chain() memoisation cache, _deep_merge() arrayref replacement,
	  configure() env-var merge flow, and Test::Memory::Cycle circular-reference check.
	- Expanded t/unit.t from 35 to 48 subtests: added API message ledger (tracks all
	  POD-documented error/warning messages; final subtest asserts ledger is empty),
	  coverage for the new invalid-class and path-traversal croak messages, mocked
	  Config::Abstraction::new to trigger the "Warning: Can't load configuration" carp,
	  $@ preservation test, alarm() non-interference test, _config_files metadata,
	  arrayref-logger priority over config-file logger, and instantiate() hot-reload
	  registration side-effect.
	- Added t/domain.t: 41 EP/BVA subtests covering all input domains for all public
	  and private functions: class-name valid/invalid partitions, config_file/config_path
	  traversal boundaries, logger spec types (undef/NULL/arrayref/hashref/blessed),
	  register_object() unblessed-croak boundary (security fix S2), _deep_merge() type
	  combinations, _build_logger() all spec types, and combinatorial edge cases.
	- Added t/path.t: 52 CFG path-coverage subtests exhausting every branching path
	  through configure(), register_object(), reload_config(), enable_hot_reload(),
	  disable_hot_reload(), _build_logger(), _find_class_config_file(), _deep_merge(),
	  _reload_object_config(), and _reconfigure_logger() - including signal-handler
	  chaining, config_path env-only stat branch, and injected upstream failures.
	- Added t/transaction.t: 14 multi-step lifecycle subtests verifying state
	  consistency at every phase boundary and correct behaviour on mid-flight
	  failures: configure() full pipeline (T1), C::A failure rollback (T2),
	  env-override precedence chain file<env (T3), register->reload->update
	  synchronous hot-reload flow (T4), GC weak-ref pruning on reload (T5),
	  multi-object reload with partial GC (T6), same-class push semantics (T7),
	  nonexistent-config resilience (T8), _reload_object_config exception isolation
	  (T9), instantiate() lifecycle (T10-T11), and enable/disable watcher lifecycle
	  including idempotency (T12-T14).

0.23	2026-06-28T09:55:21-04:00
	[ Refactoring ]
	- Replaced hand-rolled _walk_isa / _get_inheritance_chain with mro::get_linear_isa
	  (handles diamond inheritance correctly; UNIVERSAL appended manually when absent).
	  _walk_isa is removed; callers that called it directly will get "Undefined subroutine".
	- Extracted _build_logger() private helper consolidating logger creation from
	  configure() and _reconfigure_logger(), eliminating the duplication.
	- Added Readonly constants for all magic strings: $OS_WINDOWS, $LOGGER_NULL,
	  $SIG_DEFAULT, $SIG_IGNORE, $POLL_SLEEP, $KILL_TIMEOUT.
	- Removed duplicate dead-code block in configure() (second identical
	  "if ($array && !$params->{'logger'}->{'array'})" check).
	- Replaced POSIX::WNOHANG() fully-qualified call with imported WNOHANG.
	- Added =head1 LIMITATIONS POD section documenting known design trade-offs.
	- Readonly promoted from TEST_REQUIRES to PREREQ_PM (now used in lib/).

	[ Bug Fixes ]
	- Fixed configure() to give user-supplied arrayref logger priority over
	  config-file logger (previously the config file could silently override
	  an explicitly passed logger => \@arr).
	- Fixed env-var ancestor merge order in configure() no-config-file path:
	  was iterating child-first (base-class env vars overrode child-class),
	  now iterates base-first so child correctly overrides base.
	- Fixed _reload_object_config() logger-key match from /^logger/ to eq 'logger':
	  keys like 'logger.file' are flat config values, not logger specs, and must
	  not be processed through _reconfigure_logger().
	- Fixed warn -> carp in reload_config() for package-correct stack traces.

	[ CI ]
	- Bumped App::Test::Generator to 0.41 in both dashboard.yml and mutate.yml.
	- Added --exclude lib/Devel --exclude lib/App/Test/Generator/Sample to the
	  non-ATG-repo generate-test-dashboard call in dashboard.yml (parity with
	  mutate.yml).
	- Fixed empty-BASE guard in mutate.yml (no-op diff when all commits are bot).
	- Added conditional $BASE_SHA_FLAG in mutate.yml (avoids passing empty --base_sha).
	- Removed || true from all git pull --rebase lines in both workflow files.
	- Fixed coverage snapshot to use pre-captured SNAPSHOT_SHA / SNAPSHOT_TIMESTAMP
	  instead of recomputing git rev-parse after bot commits moved HEAD.

	[ Tests ]
	- Added t/locales.t: verifies configure() error strings are locale-consistent
	  under en_US.UTF-8, de_DE.UTF-8, ja_JP.UTF-8 using local $! = ENOENT pattern.
	- Updated t/function.t: replaced _walk_isa() subtests with _get_inheritance_chain()
	  equivalents to match refactored internals.

0.22
	[ Bug Fixes ]
	- Fixed https://github.com/nigelhorne/Object-Configure/issues/4

0.21	2026-05-21T07:55:13-04:00

	[Bug Fixes]
	- Bump minimum version of Params::Get and Config::Abstraction

0.20	2026-05-19T08:51:20-04:00

	[Enhancement]
	- Improve the method documentation

	[Bug Fixes]
	- Fixed disable_hot_reload() hanging indefinitely when child process does not exit on SIGTERM
		During mutation testing the forked watcher process can be left in a state where it never receives or acts on SIGTERM, causing waitpid to block forever.
		The fix replaces the unconditional waitpid with a non-blocking poll loop with a 5-second deadline, then escalates to SIGKILL if the child is still alive, followed by a final waitpid that is safe because SIGKILL cannot be caught or deferred.
	- Fixed configure() logger dispatch ignoring NULL and re-wrapping existing Log::Abstraction instances
	- Fixed looking in the correct directory for a object class to reload
	- Fixed _reload_object_config() to use full config file paths during hot reload.
		Previously attempted to reload from basename only (e.g., 'app.yml') instead
		of full path stored in _config_files array. This caused -f test to fail and
		reload to silently return without updating object properties or calling
		_on_config_reload hooks. Now uses the last (most specific) path from
		_config_files array when available, falling back to _config_file for
		backward compatibility. Added explicit return statement for consistency.
	- Sanity check that class is given to configure()
	- Fixed register_object() to return void consistently.
		Previously returned a coderef on first call (from $SIG{USR1} assignment),
		undef on Windows, and false on subsequent calls. Now explicitly returns
		nothing via 'return;' at end of function to match API specification.
	- Fixed restore_signal_handlers() to return void consistently.
		Previously returned undef when handler was defined and empty list when
		not defined. Now explicitly returns nothing via 'return;' at end of
		function to match API specification.
	- Automatically preserve coderefs and blessed objects passed to configure().
		Config::Abstraction treats unknown scalar values as config file paths,
		which corrupts coderef and object references. The configure() function
		now automatically stashes these values before processing and restores
		them afterward, eliminating the need for users to implement manual
		stash-delete-restore patterns in their constructors. The logger
		parameter continues to receive special handling for wrapping in
		Log::Abstraction. Added comprehensive test suite (t/coderef.t) to
		verify preservation of coderefs and blessed objects.
	- Fixed _deep_merge() to correctly return overlay value when overlay is not a hash.
		Previously returned base value instead of overlay, violating the principle
		that overlay should always take precedence. Changed line to
		'return $overlay unless ref($overlay) eq "HASH"'.
	- Fixed logger='NULL' handling to prevent unwanted logger creation.
		When logger parameter was set to 'NULL', code would skip wrapping but fall
		through to else clause which created a default Log::Abstraction anyway.
		Restructured logic to explicitly check for 'NULL' first and preserve it
		without creating any logger. Also optimized to avoid dereferencing
		$params->{'logger'} twice by using the already-assigned $logger variable.
	- Comprehensive POD documentation updates for all public methods.
		Added detailed documentation for configure(), instantiate(),
		enable_hot_reload(), disable_hot_reload(), reload_config(),
		register_object(), restore_signal_handlers(), and get_signal_handler_info().
		Each method now includes Purpose, Arguments, Returns, Side Effects, Notes,
		Usage Example, API Specification (Params::Validate::Strict compatible
		input schema and Return::Set compatible output schema), and Formal
		Specification (Z notation). Added comprehensive white-box test suite
		(t/function.t) covering all public and private functions.

0.19	2025-12-12T08:07:32-05:00

	[Enhancement]
	- Added UNIVERSAL configuration inheritance support.
	All classes now automatically inherit from a universal.yml (or .conf,
	.json, etc.) configuration file if present. This allows application-wide
	defaults to be set once and inherited by all classes unless explicitly
	overridden. Modified _walk_isa() to explicitly include UNIVERSAL in the
	inheritance chain for classes with no explicit parents. Added test suite
	(t/universal.t) to verify UNIVERSAL inheritance across multiple classes
	and inheritance levels. Updated POD with UNIVERSAL CONFIGURATION section.

0.18	2025-12-11T11:58:01-05:00
	If a parent class hierachy can't be found, ensure we still load the given path/file

0.17	2025-12-06T21:31:58-05:00
	Load in parents classes as well
	Don't assume English - fixes https://www.cpantesters.org/cpan/report/b1624b76-ad2b-11f0-852b-311a6e8775ea

0.16	2025-10-16T19:10:49-04:00
	Set croak_on_error
	Latest testing console

0.15	2025-09-17T07:28:24-04:00
	Allow the logger to be NULL, in which case nothing is set up
	Scalar::Utils was used but not imported
	instantiate: avoid double blessing
	Added testing dashboard on GitHub Pages
	Pass schema through to Config::Abstraction
	Added configuration hot reloading without restarting the application (not supported on Windows)

0.14	2025-08-27T13:16:36-04:00
	Allow the params to be undef

0.13	2025-08-20T09:39:00-04:00
	Ensure it works with Log::Abstraction 0.25 and bump to use that
		Also fixes https://github.com/nigelhorne/Object-Configure/issues/2

0.12	2025-08-01T08:20:23-04:00
	Use Return::Set
	Allow carp_on_warn to be read from the configuration file, and change the default to 0

0.11	2025-07-21T08:06:15-04:00
	Avoid encapsulating Log::Abstraction within Log::Abstraction

0.10	2025-06-18T14:54:59-04:00
	Use Config::Abstraction 0.10 to test environment settings

0.09	2025-06-18T09:09:58-04:00
	Fix tests in other languages

0.08	2025-06-06T08:35:54-04:00
	Removed a bunch of unneeded pre-reqs
	Added the instantiate method

0.07	2025-05-29T09:35:38-04:00
	Renamed from Class::Debug to Object::Configure
	Get the Abstract from the PM file
	Give better error message

0.06	2025-05-22T21:11:29-04:00
	Ensure loggers aren't lost when it's a simple list

0.05	2025-05-20T21:21:09-04:00
	Fix CI

0.04	2025-05-20T21:14:56-04:00
	Try harder to avoid a logger hash within a logger hash

0.03	2025-05-16T11:45:00-04:00
	Added CI support
	Added better reporting on error
	Use the features of Config::Abstraction 0.25

0.02	2025-05-07T17:08:29-04:00
	Fix the return value
	Added testing

0.01	2025-05-07T16:42:04-04:00
        First draft
