Skip to content

Releases

v0.4.0

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 13:56

Breaking namespace cleanup release.

Changed

  • Renamed the vendor-prefixed PHP namespace to EncryptedFields.
  • Renamed the legacy cipher class to LegacyCipher and its integration namespace to Integrations\Legacy.
  • Renamed config presets to full.php / legacy.php; the setup preset is now full.

Removed

  • Removed the old prefixed legacy constants/environment fallback; use KEC_LEGACY_*.
  • Removed legacy vendor branding from code, docs and the landing page.

Upgrade

  • Update custom code/configuration that references the old namespace, class names, preset slug or legacy constant prefix.
  • Stored ciphertext does not need migration.

v0.3.0

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 13:47

Automatic safety dumps before migration, rollback and key rotation, plus a 100-plugin compatibility matrix.

Added

  • Safety dump of affected tables before real migration, rollback and key rotation. Files are 0600 in a 0700 directory, the last five are kept, and --no-safety-dump / KEC_SAFETY_DUMP_DIR provide overrides.
  • Bilingual GitHub Pages landing page at https://thiennhant95.github.io/wp-encrypted-fields/ (Vietnamese at /vi/).

Tests

  • Expanded compatibility from 75 to 100 plugins: 99 pass. The only failure is encrypted-blog, which fatals during its own activation.
  • New coverage includes bbPress, BuddyPress, FluentCRM, Fluent Support, Groundhogg, WP ERP, membership/LMS, forms, CRM and email-delivery plugins.

Encrypted Fields 0.2.3

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 10:19

Added

  • wp kec status and the admin Health tab warn when a known plaintext
    email/CRM plugin is active (WP Mail Logging, Post SMTP, MailPoet,
    FluentCRM).
  • Admin Settings and the Setup Wizard use full-row verification instead of a
    sample.

Tests

  • Polylang two-language setup: translated posts, encrypted meta, blind-index
    search and language-filtered queries verified.
  • Added a StateDetector regression test for plaintext plugin warnings.

Encrypted Fields 0.2.2

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 09:48

Fixed

  • User creation on multisite (and WP-CLI user creation) no longer reports a
    duplicate email after the account was already inserted. The email is
    tokenized before WordPress runs its duplicate-email check, so role/site
    assignment completes.
  • Password-only updates on multisite keep the tokenized email/login columns.

Changed

  • Documented that email logging/CRM plugins (WP Mail Logging, MailPoet,
    FluentCRM) store data in their own tables/options and are not encrypted.
    WP Mail Logging stores decrypted recipients, subjects and bodies in
    plaintext; use it only when that is acceptable or add a table adapter.

Tests

  • Added pre_user_email and pending-email regression tests.
  • Verified per-site meta encryption, search indexes and shared user columns on
    a two-site multisite install.

Encrypted Fields 0.2.1

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 09:04

Fixed

  • Password-only or partial wp_update_user() calls no longer blank the
    tokenized user_email / user_login columns; the token is rebuilt from the
    encrypted user meta.
  • Admin/email lookups keep working after a password-only update.

Tests

  • Added a regression test for blank-email partial updates.

Encrypted Fields 0.2.0

Choose a tag to compare

@thiennhant95 thiennhant95 released this 11 Nov 08:49

Added

  • Serialized array/object meta encryption for declared fields; values decrypt
    back to arrays.
  • wp kec verify --full: decrypt every row in batches and require a non-empty
    search index when searchable fields exist.
  • Registered UserLookup; WP_User_Query login/email LIKE searches now use
    the blind index.
  • Search index hooks for added/updated/deleted post, user, term and comment
    meta.
  • WooCommerce: automatic widening of short wc_customer_lookup columns,
    length checks in migration and analytics writes, and address-index fields in
    examples/presets.
  • TableAdapterInterface::table(), primaryKey() and write(): bool, with
    identifier validation and a cursor-stall guard.
  • CLI aliases migrate-table and rotate-key; search --entity/--limit,
    migrate --field=entity:key, --full verification, and clear errors for
    invalid --from values.
  • Cipher-name validation and a database-key warning in wp kec status.
  • Tokenizer fallback when ext-intl is not available.
  • Go-live/post-import checklist docs, GitHub issue/PR templates and a code of
    conduct.
  • Regression tests for serialized meta, LIKE escaping and cipher validation.

Changed

  • Decrypt/rollback bypass the meta write guard, keep the search index, and
    require backup acknowledgement for whole-registry rollback.
  • Migration scans fail closed; resume cursors advance only after success;
    stored error lists are capped; the migration lock is atomic and renewed.
  • Backup acknowledgement expires after 24 hours.
  • Uninstall restores tokenized user columns before removing code and keeps the
    key if restoration fails.
  • HPOS detection is aligned; the admin registry refuses post fields when HPOS
    is on; the setup wizard no longer forces backup confirmation.
  • WooCommerce analytics respects default-deny and skips too-long ciphertext
    instead of truncating it.
  • Missing optional lookup tables are skipped cleanly.
  • Rotation verifies all rows and no longer errors when siteguard_history is
    absent.
  • Full verification is batched to avoid memory spikes on large sites.

Fixed

  • wp kec decrypt reported success while the write guard re-encrypted data and
    removed search-index rows.
  • UserLookup failed for LIKE terms containing escaped _ or %.
  • Serialized single-value meta triggered a WordPress array-key warning.
  • wc_customer_lookup.username overflow could fail or truncate.
  • WooCommerce _billing_address_index / _shipping_address_index leaked
    plaintext unless declared.
  • Uninstall used wrong option names and could leave tokenized users locked out.
  • CLI option parsing/docblock mismatches for search, rollback, migrate-table
    and rotate-key.
  • Invalid --from values were silently accepted.

Security

  • Cipher overrides are restricted to known cipher names.
  • Warn when KEC_ALLOW_DB_KEY stores the master key in the database.
  • Documented that post_content / post_title, wp_options and undeclared
    custom tables remain plaintext.