---
title: "thefrosty/wp-utilities v4.0.0 Breaking Changes on Packagist"
description: "What each thefrosty/wp-utilities release removed, renamed or changed: 46 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/thefrosty/wp-utilities
last_updated: 2026-12-04
---

# 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

Latest version `v4.3.1`, released November 27, 2026. MIT license. [Source repository](https://github.com/thefrosty/wp-utilities)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## thefrosty/wp-utilities v4.0.0 breaking changes

thefrosty/wp-utilities v4.0.0, released November 23, 2026: 46 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](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **Removed** `TheFrosty\WpUtilities\Plugin\Container100`  

TheFrosty\\WpUtilities\\Plugin\\Container100 was removed in thefrosty/wp-utilities v4.0.0 [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Removed** `TheFrosty\WpUtilities\Plugin\Container110`  

TheFrosty\\WpUtilities\\Plugin\\Container110 was removed in thefrosty/wp-utilities v4.0.0 [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Removed** `TheFrosty\WpUtilities\Plugin\Init::$initiated`  

TheFrosty\\WpUtilities\\Plugin\\Init::$initiated was removed in thefrosty/wp-utilities v4.0.0 [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Removed** `TheFrosty\WpUtilities\Plugin\TemplateLoader::VAR`  

TheFrosty\\WpUtilities\\Plugin\\TemplateLoader::VAR was removed in thefrosty/wp-utilities v4.0.0 [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Removed** `TheFrosty\WpUtilities\Utils\View::$viewPaths`  

TheFrosty\\WpUtilities\\Utils\\View::$viewPaths was removed in thefrosty/wp-utilities v4.0.0 [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Behavior changed**  

Proxy headers are trusted for the client IP only when the request comes from a trusted proxy. [github.com](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **Behavior changed** `Api\Hash`  

New hashes use authenticated AES-256-GCM; legacy values still decrypt. Output from Api\\Hash changes. [github.com](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **Behavior changed** `View`  

View includes are isolated and view names containing path traversal are rejected. [github.com](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **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](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **Signature changed** `ServiceProviderInterface`  

The interface no longer assumes Pimple and PHP-DI is preferred. Review service providers that implement it. [github.com](https://github.com/thefrosty/wp-utilities/releases/tag/v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\Plugin\AbstractContainerProvider::__get`  

Was public function \_\_get(string $name); now public function \_\_get(string $name): mixed. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\Plugin\ContainerAwareTrait::__get`  

Was public function \_\_get(string $name); now public function \_\_get(string $name): mixed. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\Plugin\Plugin::__get`  

Was public function \_\_get(string $name); now public function \_\_get(string $name): mixed. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\PostMeta\Fields\Text::sanitize`  

Was public function sanitize($value): mixed; now public function sanitize($value): string. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\PostTypes\AbstractPostType::registerPostType`  

Was protected function registerPostType(): PostType; now protected function registerPostType(): void. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **Signature changed** `TheFrosty\WpUtilities\Taxonomies\AbstractTaxonomy::registerTaxonomy`  

Was protected function registerTaxonomy(): Taxonomy; now protected function registerTaxonomy(): void. [packagist.org](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)
- **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](https://packagist.org/packages/thefrosty/wp-utilities#v4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
