thefrosty/wp-utilities breaking changes
thefrosty/wp-utilities v4.0.0 (November 23, 2026) is its newest release with breaking changes, 46 of them. The first: Drops the jjgrainger/posttypes dependency in thefrosty/wp-utilities v4.0.0. Every breaking API change we have recorded in thefrosty/wp-utilities on Packagist: 46 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v4.3.1, released November 27, 2026. MIT license. Source repository
Packages on Packagist run on PHP. PHP end of life dates.
thefrosty/wp-utilities v4.0.0 breaking changes
- Removed
Post types and taxonomies are now registered natively instead of through jjgrainger/posttypes, so code relying on that library must change. github.com - Removed
TheFrosty\WpUtilities\Plugin\Container100
TheFrosty\WpUtilities\Plugin\Container100 was removed in thefrosty/wp-utilities v4.0.0 packagist.org - Removed
TheFrosty\WpUtilities\Plugin\Container110
TheFrosty\WpUtilities\Plugin\Container110 was removed in thefrosty/wp-utilities v4.0.0 packagist.org - Removed
TheFrosty\WpUtilities\Plugin\Init::$initiated
TheFrosty\WpUtilities\Plugin\Init::$initiated was removed in thefrosty/wp-utilities v4.0.0 packagist.org - Removed
TheFrosty\WpUtilities\Plugin\TemplateLoader::VAR
TheFrosty\WpUtilities\Plugin\TemplateLoader::VAR was removed in thefrosty/wp-utilities v4.0.0 packagist.org - Removed
TheFrosty\WpUtilities\Utils\View::$viewPaths
TheFrosty\WpUtilities\Utils\View::$viewPaths was removed in thefrosty/wp-utilities v4.0.0 packagist.org - Behavior changed
Proxy headers are trusted for the client IP only when the request comes from a trusted proxy. github.com - Behavior changed
Api\Hash
New hashes use authenticated AES-256-GCM; legacy values still decrypt. Output from Api\Hash changes. github.com - Behavior changed
View
View includes are isolated and view names containing path traversal are rejected. github.com - Default changed
REST routes registered without a permission callback now require a logged-in user, so public routes must set their own callback. github.com - Signature changed
ServiceProviderInterface
The interface no longer assumes Pimple and PHP-DI is preferred. Review service providers that implement it. github.com - Signature changed
TheFrosty\WpUtilities\Api\Hash::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\Hash::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\TransientsTrait::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\TransientsTrait::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpCacheTrait::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpCacheTrait::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpQueryTrait::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpQueryTrait::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpRemote::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\Api\WpRemote::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\getIpAddress
Was function getIpAddress(?Request $request = null): ?string; now function getIpAddress(?Request $request = null, ?array $trusted_proxies = null): ?string. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\AbstractContainerProvider::__call
Was public function __call(string $method, array $args); now public function __call(string $method, array $args): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\AbstractContainerProvider::__get
Was public function __get(string $name); now public function __get(string $name): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\ContainerAwareTrait::__call
Was public function __call(string $method, array $args); now public function __call(string $method, array $args): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\ContainerAwareTrait::__get
Was public function __get(string $name); now public function __get(string $name): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\Plugin::__call
Was public function __call(string $method, array $args); now public function __call(string $method, array $args): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\Plugin::__get
Was public function __get(string $name); now public function __get(string $name): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\PluginFactory::create
Was public static function create(string $slug, ?string $filename = ''): Plugin; now public static function create(string $slug, ?string $filename = '', ?ContainerInterface $container = null): Plugin. packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\TemplateLoader::__construct
Was public function __construct(Plugin $plugin); now public function __construct(/** * Plugin object. */ private readonly Plugin $plugin). packagist.org - Signature changed
TheFrosty\WpUtilities\Plugin\TemplateLoader::getData
Was public static function getData(?string $var = null); now public static function getData(?string $var = null): mixed. packagist.org - Signature changed
TheFrosty\WpUtilities\PostMeta\Fields\Text::sanitize
Was public function sanitize($value): mixed; now public function sanitize($value): string. packagist.org - Signature changed
TheFrosty\WpUtilities\PostTypes\AbstractPostType::registerPostType
Was protected function registerPostType(): PostType; now protected function registerPostType(): void. packagist.org - Signature changed
TheFrosty\WpUtilities\RestApi\Http\RestRouteInterface::initializeRoute
Was public function initializeRoute(\WP_REST_Server $server): void; now public function initializeRoute(WP_REST_Server $server): void. packagist.org - Signature changed
TheFrosty\WpUtilities\RestApi\Http\RouteService::initializeRoute
Was abstract public function initializeRoute(\WP_REST_Server $server): void; now abstract public function initializeRoute(WP_REST_Server $server): void. packagist.org - Signature changed
TheFrosty\WpUtilities\RestApi\PostTypeFilter::addFilterParam
Was protected function addFilterParam(array $args, \WP_REST_Request $request): array; now protected function addFilterParam(array $args, WP_REST_Request $request): array. packagist.org - Signature changed
TheFrosty\WpUtilities\Taxonomies\AbstractTaxonomy::registerTaxonomy
Was protected function registerTaxonomy(): Taxonomy; now protected function registerTaxonomy(): void. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\AddPluginIcons::__construct
Was public function __construct(array $icons); now public function __construct(/** * Path to plugin icon. Often using `plugin_dir_url`. * @ref https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/ * Example: [* 'svg' =>... packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Capabilities::mapDoNotAllowCap
Was protected function mapDoNotAllowCap(array $caps, ?string $cap, int $user_id): array; now protected function mapDoNotAllowCap(array $caps, ?string $cap, int $user_id, array $args = []): array. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Columns\AbstractColumns::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Columns\AbstractColumns::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Columns\AbstractColumns::getCachedPostsDeferred
Was protected function getCachedPostsDeferred(string $post_type, ?array $args = null, int $expiration = \WEEK_IN_SECONDS): array; now protected function getCachedPostsDeferred(string $post_type, ?array $args = null, int $expiration =... packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Dashboard\SimplePie::decrypt
Was public function decrypt(string $data, ?string $encryption_key = null): false|string; now public function decrypt(string $data, #[SensitiveParameter] ?string $encryption_key = null): false|string. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Dashboard\SimplePie::encrypt
Was public function encrypt(#[SensitiveParameter] mixed $data, ?string $encryption_key = null): string; now public function encrypt(#[SensitiveParameter] mixed $data, #[SensitiveParameter] ?string $encryption_key = null): string. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\DisablePluginUpdateCheck::bypassHttpRequest
Was protected function bypassHttpRequest($preempt, array $parsed_args, string $url): mixed; now protected function bypassHttpRequest($preempt, array $parsed_args, string $url): array|false|WP_Error. packagist.org - Signature changed
TheFrosty\WpUtilities\WpAdmin\Models\OptionValueLabel::__construct
Was public function __construct(string $value, string $label); now public function __construct(/** * Option value. */ private readonly string $value, /** * Option label (text). */ private readonly string $label). packagist.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.