Skip to content

Releases: isap-ou/statamic-sensitive-form-fields

1.1.0

18 Feb 19:24

Choose a tag to compare

  • [new] PRO: sensitive-fields:rekey — re-encrypts sensitive field values from an old APP_KEY to the current one (supports --old-key, --form, --dry-run)
  • [new] PRO: per-form permission granularity — view decrypted {form-handle} sensitive fields grants access to a single form; the global view decrypted sensitive fields acts as a wildcard (backward-compatible)

1.0.0

17 Feb 21:57

Choose a tag to compare

  • [new] Per-field sensitive toggle on Text and Textarea fieldtypes in the form blueprint editor
  • [new] Sensitive field values are encrypted at rest using Laravel's Crypt with an enc:v1: prefix — no double encryption
  • [new] Fields are encrypted automatically on form submission via a SubmissionSaving listener
  • [new] Decryption on read via a DecryptingSubmissionRepository decorator — covers find(), whereForm(), all()
  • [new] Decryption on read via a DecryptingSubmissionQueryBuilder decorator — covers the CP submissions list (which uses query())
  • [new] Compatible with both Stache (flat-file) and Eloquent driver
  • [new] Addon setting to enable or disable encryption globally
  • [new] Addon setting to configure the mask string shown to unauthorized users
  • [new] PRO mode: permission-based access control and masking; activated automatically when the PRO addon is installed
  • [new] FREE mode: all CP users see decrypted values; data always encrypted at rest
  • [new] Translations (en) for field toggle, permission label, and settings
  • [new] PRO: sensitive-fields:encrypt-existing — bulk-encrypts plaintext sensitive field values in all existing submissions (idempotent, supports --form filter and --dry-run)
  • [new] PRO: sensitive-fields:decrypt-existing — bulk-decrypts encrypted sensitive field values in all existing submissions (idempotent, supports --form filter and --dry-run)
  • [new] Statamic Editions support — declare "editions": ["free", "pro"] in composer.json; PRO mode detected via Addon::edition() (set via config/statamic.php or the Statamic Marketplace)