Skip to content

feat!: Implement WP Adapter v0.1 foundation classes#4

Merged
devuri merged 1 commit intomainfrom
feat/fix-implementation
May 3, 2026
Merged

feat!: Implement WP Adapter v0.1 foundation classes#4
devuri merged 1 commit intomainfrom
feat/fix-implementation

Conversation

@devuri
Copy link
Copy Markdown
Owner

@devuri devuri commented May 3, 2026

  • Add core contracts for hooks, options, transients, environment, HTTP, and clock access
  • Add WordPress production adapters for hooks, options, transients, environment, and HTTP
  • Add first-class testing adapters for in-memory options/transients, mock environment, mock HTTP, recording hooks, and recording logger
  • Add PluginContext, Result, KeyBuilder, SystemClock, FrozenClock, and PSR-3 logging adapters
  • Add direct-load init.php autoloader for AdapterKit\Core and bundled Psr\Log classes
  • Align hook registration methods with void action/filter semantics
  • Model non-expiring transients correctly in the in-memory transient store
  • Harden WordPress environment screen detection and debug logger level handling

- Add core contracts for hooks, options, transients, environment, HTTP, 
and clock access
- Add WordPress production adapters for hooks, options, transients, 
environment, and HTTP
- Add first-class testing adapters for in-memory options/transients, 
mock environment, mock HTTP, recording hooks, and recording logger
- Add PluginContext, Result, KeyBuilder, SystemClock, FrozenClock, and 
PSR-3 logging adapters
- Add direct-load init.php autoloader for AdapterKit\Core and bundled 
Psr\Log classes
- Align hook registration methods with void action/filter semantics
- Model non-expiring transients correctly in the in-memory transient 
store
- Harden WordPress environment screen detection and debug logger level 
handling
@devuri devuri merged commit cdd5da2 into main May 3, 2026
4 checks passed
@devuri devuri deleted the feat/fix-implementation branch May 3, 2026 12:20
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