Releases: GravityKit/GravityView
2.50.1
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-deletefilter to control whether a user can delete an entry. - Added
gk/gravityview/edit-entry/lock-dialog/show-request-controlfilter to control visibility of the Request Control button in the entry lock dialog.
2.50
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
- Foundation to version 1.7.1.
💻 Developer Updates
- Added
gk/gravityview/custom-code/placeholdersfilter to modify or add custom placeholders for the Custom CSS and JavaScript settings. - The
VIEW_SELECTORplaceholder is hard-coded to.gv-container.gv-container-{view id}. If you have removed those classes by using thegravityview/render/container/classfilter, theVIEW_SELECTORplaceholder will not work as expected; use theVIEW_IDplaceholder 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
This update adds a new merge tag modifier for improved URL encoding and resolves a WordPress 6.9 compatibility issue affecting classic themes.
🚀 Added
:rawurlencodemerge tag modifier for better handling of special characters in URL paths and email links.
🐛 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-demandfilter to control whether GravityView disables WordPress 6.9's on-demand block asset loading (trueby default).
2.48.5
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/modefilter to allow code to modify the delete mode (whether to trash or delete an entry) for a specific View.- Deprecated the
gravityview/delete-entry/modefilter.
- Deprecated the
- Added
gk/gravityview/delete-entry/delete-connected-postfilter to allow code to modify the behavior of deleting posts connected to an entry.- Deprecated the
gravityview/delete-entry/delete-connected-postfilter.
- Deprecated the
- Added
gk/gravityview/delete-entry/deletedaction to trigger when an entry is deleted.- Deprecated the
gravityview/delete-entry/deletedaction.
- Deprecated the
- Added
gk/gravityview/delete-entry/trashedaction to trigger when an entry is trashed.
- Deprecated the
gravityview/delete-entry/trashedaction.
2.48.4
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/datafilter to modify form, entry, and View data before rendering the Edit Entry form. - Added
gk/gravityview/delete-entry/show-delete-buttonfilter 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-buttonfilter will be deprecated in a future release.
- The
2.48.3
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
- Foundation to version 1.7.0.
2.48.2
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
Arrayinstead 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
- Foundation to version 1.6.2.
💻 Developer Updates
- Added
gk/gravityview/view_collection/from_post/viewsfilter 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
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
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
- Foundation to version 1.6.0.
2.47
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
- Foundation to version 1.5.0.
💻 Developer Updates
- Added
pdfto the allowed file extensions for thegk/gravityview/fields/fileupload/secure-links/allowed-extensionsfilter.