Skip to content

Releases: GravityKit/GravityView

2.50.1

16 Jan 00:39

Choose a tag to compare

This release fixes Search Bar settings modal display issues and a conflict with plugins using Laravel components, and adds new filters for entry deletion and edit locking control.

🐛 Fixed

  • Search Bar Settings modal Close button not visible and dialog appearing behind the admin bar on smaller viewports.
  • Conflict with plugins that use Laravel/Illuminate components.

💻 Developer Updates

  • Added gk/gravityview/delete-entry/can-delete filter to control whether a user can delete an entry.
  • Added gk/gravityview/edit-entry/lock-dialog/show-request-control filter to control visibility of the Request Control button in the entry lock dialog.

2.50

09 Jan 01:47

Choose a tag to compare

This release improves error messaging for administrators, adds custom CSS/JavaScript placeholders for View-specific styling, and fixes Edit Entry functionality, REST API access handling, PHP 8.4 compatibility issues, and more.

✨ Improved

  • Administrators now see detailed, actionable error messages when Views or entries cannot be displayed, instead of the generic "You are not allowed to view this content." message.
  • Custom CSS and JavaScript settings now support placeholders that are automatically replaced with View-specific values. This makes it easy to write custom styles that apply to a single View without affecting others on the same page. Read about the new placeholders.
  • The "Created By" field on the Edit Entry page now includes AJAX-powered search, making it easy to find and select users.

🐛 Fixed

  • JavaScript error breaking Edit Entry functionality when forms use conditional logic on buttons.
  • Unnecessary database queries running on every page load when GravityView caching was disabled, potentially causing performance issues.
  • Multi-column List fields on the Edit Entry page displayed serialized array data (e.g., a:1:{i:0;s:0:"";}) instead of remaining empty when revealed via conditional logic.
  • REST API requests for single entries now properly respect View settings like "Prevent Direct Access" and REST API restrictions.
  • PHP 8.4 implicit nullable parameter deprecation warnings.
  • Name field now respects hidden input settings configured in Gravity Forms (e.g., hiding Prefix, Middle Name or Suffix).
  • Some hooks were not removed when switching lightbox provider.
  • Merge tag picker not appearing in the View editor when Yoast SEO Premium is active.

🔧 Updated

💻 Developer Updates

  • Added gk/gravityview/custom-code/placeholders filter to modify or add custom placeholders for the Custom CSS and JavaScript settings.
  • The VIEW_SELECTOR placeholder is hard-coded to .gv-container.gv-container-{view id}. If you have removed those classes by using the gravityview/render/container/class filter, the VIEW_SELECTOR placeholder will not work as expected; use the VIEW_ID placeholder instead.
  • View Custom CSS and JavaScript is now output only once per View, even when the same View is embedded multiple times on a page.

2.49

05 Dec 19:31

Choose a tag to compare

This update adds a new merge tag modifier for improved URL encoding and resolves a WordPress 6.9 compatibility issue affecting classic themes.

🚀 Added

🐛 Fixed

  • Compatibility issue with WordPress 6.9 that caused Views to display incorrectly on classic themes.

💻 Developer Updates

  • Added gk/gravityview/compatibility/block-assets-on-demand filter to control whether GravityView disables WordPress 6.9's on-demand block asset loading (true by default).

2.48.5

05 Dec 00:16

Choose a tag to compare

This release resolves deprecation notices in GravityView blocks on WordPress 6.7+, fixes edit locking not releasing entries properly on the Edit Entry page, and addresses PHP warnings.

Note: GravityView blocks now require WordPress 6.3 or newer.

🐛 Fixed

  • Deprecation notices in GravityView blocks on WordPress 6.7+.
  • With Edit Locking enabled, entries sometimes stayed locked after someone finished editing them, causing attempts by others to take over editing to fail.
  • PHP deprecation warning when editing certain entries with Post fields.
  • PHP notice when using {sequence} merge tag as a custom label for a View field.

💻 Developer Updates

  • Added gk/gravityview/delete-entry/mode filter to allow code to modify the delete mode (whether to trash or delete an entry) for a specific View.
    • Deprecated the gravityview/delete-entry/mode filter.
  • Added gk/gravityview/delete-entry/delete-connected-post filter to allow code to modify the behavior of deleting posts connected to an entry.
    • Deprecated the gravityview/delete-entry/delete-connected-post filter.
  • Added gk/gravityview/delete-entry/deleted action to trigger when an entry is deleted.
    • Deprecated the gravityview/delete-entry/deleted action.
  • Added gk/gravityview/delete-entry/trashed action to trigger when an entry is trashed.
  • Deprecated the gravityview/delete-entry/trashed action.

2.48.4

28 Nov 01:40

Choose a tag to compare

This release resolves a compatibility issue with the Advanced Post Creation Add-On and adds new filters for developers to adjust edit and delete entry behavior.

🐛 Fixed

  • "You don’t have permission to edit this post" shown when editing entries with Post fields linked to posts created through the Advanced Post Creation Add-On.

💻 Developer Updates

  • Added gk/gravityview/edit-entry/init/data filter to modify form, entry, and View data before rendering the Edit Entry form.
  • Added gk/gravityview/delete-entry/show-delete-button filter to allow code to modify the visibility of the Delete button, with entry, form, View ID, and post ID as parameters.
    • The gravityview/delete-entry/show-delete-button filter will be deprecated in a future release.

2.48.3

17 Nov 23:11

Choose a tag to compare

This hotfix resolves a performance issue introduced in 2.48.2.

🐛 Fixed

  • After the 2.48.2 update, Views were taking significantly longer to load.

🔧 Updated

2.48.2

14 Nov 00:19

Choose a tag to compare

This release addresses multiple issues impacting search fields, Edit Entry behavior, logging of entry approval status changes, and other aspects of the plugin’s functionality.

🐛 Fixed

  • Fatal error when using Chained Select fields in the Search Bar without proper form context.
  • Incorrect search logic for Date and Entry Date fields when using a single input or a range.
  • Fields on the Edit Entry page not clearing stored values when hidden by conditional logic, or restoring their default/merge-tag-based values when shown again.
  • Email fields with confirmation enabled could display Array instead of the correct value.
  • Workflow Step field not able to be used to link to a single entry.
  • Entry Notes not being added when an entry’s approval status changed due to the Unapprove Entries After Editing setting or when updated via the Approval Status field on the Entry Edit page.

🔧 Updated

💻 Developer Updates

  • Added gk/gravityview/view_collection/from_post/views filter to allow code to add Views to the Collection that are not found by the default logic, or modify the View Collection before it is returned.

2.48.1

10 Oct 00:11

Choose a tag to compare

This update resolves issues with date filtering, lightbox display, and Edit Entry layout styling.

🐛 Fixed

  • When using a single-input Entry Date search field, results now include only entries created on the specified date, rather than all entries from that date onward.
  • File Upload field images were incorrectly displaying in a lightbox when the View's "Enable lightbox for images" setting was disabled, but another field had "Open in a lightbox?" enabled.
  • Styling issues on the Edit Entry page when using the Layout Builder for the Single Entry page.

2.48

02 Oct 23:21

Choose a tag to compare

This update improves responsiveness and spacing in Layout Builder layouts, and fixes an issue that could prevent GravityKit settings from saving.

✨ Improved

  • Layout Builder layouts are easier to view on smaller screens and entries are now more clearly separated.

🐛 Fixed

  • Saving GravityKit settings could fail in certain situations.

🔧 Updated

2.47

26 Sep 01:40

Choose a tag to compare

This release improves the handling of shortcodes and File Upload fields, and fixes an issue where a View would fail to render.

✨ Improved

  • Excerpts and content previews now automatically remove GravityView shortcodes for cleaner content display in archives, widgets, and feeds.
  • Allow PDF files to bypass secure download URLs when the "Use Direct File Path for Media" setting is enabled for a File Upload field.
  • Shortcodes can now accept special characters that WordPress ignores.

🐛 Fixed

  • Search Bar no longer disappears when the “Hide View data until search is performed” setting is enabled.

🔧 Updated

💻 Developer Updates

  • Added pdf to the allowed file extensions for the gk/gravityview/fields/fileupload/secure-links/allowed-extensions filter.