Skip to content

Releases: simplemediacode/hooks

2.1.2

03 Apr 21:36
Compare
Choose a tag to compare

Full Changelog: 2.1.1...2.1.2

2.1.1

03 Apr 21:31
Compare
Choose a tag to compare

Full Changelog: 2.1.0...2.1.1

2.1.0

03 Apr 21:09
Compare
Choose a tag to compare

What's Changed

  • Refactored code to follow DRY and KISS principles by @rolandinsh
  • Removed redundant Hook class in favor of direct implementation in HooksManager by @rolandinsh
  • Standardized method naming across the codebase by @rolandinsh
  • Improved method documentation with comprehensive PHPDoc comments by @rolandinsh
  • Optimized hook callback execution by @rolandinsh
  • Fixed interface implementation consistency by @rolandinsh
  • SimpleMediaCode -> Simplemediacode by @rolandinsh in #9

Full Changelog: 2.0.1...2.1.0

2.0.1

31 Mar 17:12
Compare
Choose a tag to compare

Full Changelog: 2.0.0...2.0.1

2.0.0

31 Mar 16:50
142a047
Compare
Choose a tag to compare

What's Changed in v2.0.0

Breaking Changes

  • Complete refactoring to modern PHP architecture
  • Renamed WP_Hook to Hook
  • Introduced HooksInterface and HooksManager
  • Removed global variables and functions
  • Added static Hooks facade for backward compatibility
  • Improved type safety with PHP 8+ return types

Bug Fixes

  • Added missing method definitions to HooksInterface: getHookCount(), isExecutingHook(), and getCurrentHook()
  • Fixed consistency between interface methods and their implementations

Full Changelog: 1.0.8...2.0.0

1.0.8

23 Dec 01:16
Compare
Choose a tag to compare

PHP 8.3 and 8.4 support tags

1.0.7

16 Mar 11:15
Compare
Choose a tag to compare

Better compitability with PHP8

Moves forward to the next element in next method.

1.0.6

16 Mar 11:10
Compare
Choose a tag to compare

Compitable with PHP8

1.0.5

29 Dec 19:28
Compare
Choose a tag to compare
composer file updates and packagist

1.0.4

29 Dec 00:40
Compare
Choose a tag to compare
class naming