Skip to content

Releases: GravityKit/GravityView

2.0 Beta 3

28 Mar 19:22
Compare
Choose a tag to compare
2.0 Beta 3 Pre-release
Pre-release
  • Major performance improvement. There were many queries being made for each entry. This resulted in thousands of queries instead of tens! Learn more here
  • Refactor the search submit field into its own template

  • Fix Add Note functionality
  • Fix one remaining Gravity Forms 2.3 compatibility warning
  • Added internal View caching, request-lived
  • Run gravityview_entry_class on v2 list-body.php for CSS class parity
  • Fixed PHP warnings
  • Add support for showing input/label to multiselect
, not just radio buttons
  • Added: Star field to display and modify Gravity Forms Entry "stars" on the front-end
  • Refactored the Settings screen
  • Added gravityview/support_port/localization_data filter
  • Suggest popular articles on Add/Edit View screen
  • Fixed: Use GVCommon::has_cap( 'gravityview_support_port' ) for gravityview/support_port/show_profile_setting filter, instead of current_user_can() to support users with Gravity Forms or GravityView full access
  • Fix fatal error on activation
 related to get_current_screen()

Actions & Filters Galore

Note: In Beta 2, we announced that actions were no longer going to be passed GravityView_View instances. We have fixed this, and old code will continue to work. Sorry for the inconsistency on that.

Read up on updating templates here: https://github.com/gravityview/GravityView/wiki/Template-Migration

  • Pass Template_Context to SO MANY FILTERS! - this is the way to access the "global" state, not using the GravityView_View::getInstance() like we were. Read up on context here; it's a vital change
  • Added missing actions to List Body template:
    • gravityview_entry_before, gravityview_list_body_before, gravityview_entry_title_after, gravityview_entry_content_before, gravityview_entry_content_after, gravityview_entry_footer_before, gravityview_entry_footer_after, gravityview_entry_after, gravityview_list_body_after
  • Added missing actions to Table template:
    • gravityview_table_cells_before, gravityview_table_cells_after, gravityview_table_body_before, gravityview_table_tr_before, gravityview_table_tr_after, gravityview_table_body_after
    • New actions: gravityview/template/footer, gravityview/template/header, gravityview/template/table/body/before, gravityview/template/table/body/after, gravityview/template/table/tr/before
  • Added gravityview_search_widget_field_before and gravityview_search_widget_field_after actions before and after each search field in the Search Bar

2.0 Beta 2

19 Feb 22:34
Compare
Choose a tag to compare
2.0 Beta 2 Pre-release
Pre-release
  • Add support for Gravity Forms 2.3
  • Don't be as aggressive with the template deprecated notices, since mostly it affected DataTables v1
  • Add support for entries that contain sub-entries (getting ready for Joins)
  • Refactor logging: instead of using do_action( 'gravityview_log_notice', … );, use gravityview()->log->notice( 'instead' );!
  • Add our own utility class, to remove dependency on rgar(), rgget(), rgpost(). Instead, use \GV\Utils::_GET() for a GET request, \GV\Utils::_POST() for POST, or \GV\Utils::get() to access an item in an array or object
  • Clean out a ton of deprecated code
  • Refactor the License, Extension, and Addon classes
  • Add Widgets_Collection class
  • Rewrite Widgets to use new Widget_Collection class
  • Context is now passed to templates as a \GV\Template_Context class rather than stdClass
  • BREAKING CHANGE: The actions called inside template files are no longer passed GravityView_View instances. They are now passed \GV\Template_Context objects. Affects the following actions: gravityview_list_body_before, gravityview_list_body_after, gravityview_entry_footer_before, gravityview_entry_footer_after, gravityview_entry_class, gravityview_entry_title_before, gravityview_entry_content_before, gravityview_entry_content_after, gravityview_table_body_before, gravityview_table_cells_before, gravityview_table_cells_after, gravityview_table_body_after. If you use the actions listed, please update your code!

1.22.5

25 Jan 20:58
30a803f
Compare
Choose a tag to compare
  • Improves support for DIY Layout, a layout for designers & developers to take full advantage of GravityView
  • Tweak: Show "Embed Shortcode" helper if a View has widgets configured but not Fields
  • Fixed: Add Note support for Gravity Forms 2.3 (it's coming soon)
  • Fixed: tabindex not properly set for Update/Cancel/Delete buttons in Edit Entry
  • Fixed: Hide Yoast SEO Content & SEO Analysis functionality when editing a View
  • Fixed: Line breaks were being added to Custom Content fields and widgets, even when "Automatically add paragraphs to content" wasn't checked

Developer Updates:

  • Add $nl2br, $format, $aux_data parameters to GravityView_API::replace_variables() to be consistent with GFCommon::replace_variables()

1.22.4

16 Jan 18:31
d481008
Compare
Choose a tag to compare
  • Adds support for DIY Layout, a layout for designers & developers to take full advantage of GravityView
  • Tweak: Show "Embed Shortcode" helper if a View has widgets configured but not Fields
  • Fixed: tabindex not properly set for Update/Cancel/Delete buttons in Edit Entry
  • Fixed: Hide Yoast SEO Content & SEO Analysis functionality when editing a View

Developer Updates:

  • Add $nl2br, $format, $aux_data parameters to GravityView_API::replace_variables() to be consistent with GFCommon::replace_variables()

1.22.3

21 Dec 23:48
32d0b0a
Compare
Choose a tag to compare
  • Added: Support for displaying files uploaded using the Gravity Forms Dropbox Addon (thanks, @mgratch and @ViewFromTheBox!)
  • Added: Merge Tags now are replaced when in [gvlogic] shortcodes not in a View
  • Fixed: Filtering by date in Advanced Filters prevented single entries from being visible
  • Fixed: gravityview/capabilities/allow_logged_out filter wasn't living up to its name (allowing logged-out visitors to edit entries)

Developer Updates:

  • Modified: We're reverting changes made to Advanced Custom Field plugin compatibility
  • Added: gravityview/fields/fileupload/file_path filter in class-gravityview-field-fileupload.php
  • Modified: Removed !important from the CSS height rule for the .gv-notes .gv-note-add textarea rule

1.22.2

08 Dec 02:12
1550364
Compare
Choose a tag to compare
  • Fixed: Fatal error when running Ultimate Member 2.0 beta
  • Fixed: Issue deleting entries when Advanced Filter rules don't match
  • Fixed: Delete Entry messages not displaying when entry is deleted
  • Fixed: ACF shortcodes in WYSIWYG fields no longer processed since 1.22.1
  • Fixed: Fatal error when using old installations of Gravity Forms

Developer Updates:

  • Added: gravityview/edit_entry/unset_hidden_field_values filter to prevent deleting values for fields hidden by Conditional Logic

1.22.1.1

30 Nov 18:29
1fd6be4
Compare
Choose a tag to compare
  • Fixed: When displaying Email fields, PHP warning about StandalonePHPEnkoder.php

1.22.1

30 Nov 18:20
a4da27e
Compare
Choose a tag to compare
  • Moved "Custom Content" field to top of field picker, in what Rafael calls the "Best idea of 2017 🏆"
  • Added: When Gravity Forms 2.3 is released, support for "Random" entry order will be enabled
  • Fixed: Entry oEmbeds not working when using "Plain" URL formats to embed
  • Fixed: Only published Views showing in Gravity Forms "Connected Views" menu
  • Fixed: Deleting entries can cause entries to be displayed from a different View when Advanced Filters is activated and multiple Views are embedded on a page
  • Fixed: Infinite loop when using [gravityview] shortcode inside ACF fields

1.22

04 Sep 19:26
Compare
Choose a tag to compare
  • Added: Support for Gravity Forms 2.3
  • Fixed: Fatal error when Divi (and other Elegant Themes) try to load GravityView widgets while editing a post with a sidebar block in it—now the sidebar block will not be rendered
  • Fixed: Inline Edit plugin not working when displaying a single entry
  • Fixed: Featured Entries plugin not adding correct CSS selector to the single entry container

Developer Updates:

  • Modified: Template files list-header.php, list-single.php, table-header.php, table-single.php
  • Fixed: When GRAVITYVIEW_LICENSE_KEY constant is defined, it will always be used, and the license field will be disabled
  • Fixed: List View and Table View templates have more standardized CSS selectors for single & multiple contexts (Learn more)
  • Fixed: Permalink issue when embedding a View on a page, then making it the site's Front Page
  • Fixed: Transient cache issues when invalidating cache
  • Fixed: gv_empty() now returns false for an array with all empty values
  • Fixed: Delay plugin compatibility checks until plugins_loaded

1.21.5.3

24 Jul 17:18
Compare
Choose a tag to compare
  • Fixed: For some field types, the value "No" would be interpreted as false
  • Fixed: In Edit Entry, when editing a form that has a Post Custom Field field type—configured as checkboxes—file upload fields would not be saved
  • Fixed: If a form connected to a View is in the trash, there will be an error when editing the View
  • Fixed: Embedding single entries with WordPress 4.8
  • Fixed: Fatal error when using older version of WPML