Skip to content

v1.4.1

Choose a tag to compare

@ianwieds ianwieds released this 12 May 01:56
· 16 commits to main since this release

Harmonization pass: stricter config validation, BEM-style presence-driven flags, and a defensive-coding cleanup.

Added

  • Schema validator (src/config/schema.js + src/utils/validate-config.js) β€” pure-JS, simple required: true|false|fn shape. Runs at boot (hard-fails manager.initialize() if config is malformed with a numbered error list) AND in gulp audit. See docs/config-schema.md.
  • Top-level firebaseConfig block: flat 8-key shape matching BEM/BXM/web-manager canonical.

Changed

  • BREAKING (consumer): build/ β†’ config/. Certs, icons, and page-template all live under config/ now.
  • BREAKING (consumer): .em-cache/ β†’ .cache/ to match UJM/BXM convention.
  • BREAKING (config): sentry + analytics are now presence-driven (BEM convention). No enabled flag.
  • BREAKING (config): payment.plans β†’ payment.products (OMEGA canonical). Web-manager bumped to 4.1.42.
  • Removed dead webManager: {} config block.
  • Manager.getConfig() now seeds brand + app blocks.
  • Electron 41 β†’ 42.

Fixed

  • restart-manager test-mode bail at 4 locations.
  • Defensive-coding sweep across lib/, gulp/, commands/: stripped ~34 unnecessary ?. chains. Found and fixed one latent bug.

Removed

  • _isTesting() private helper.

All 593 tests pass.