Releases: pods-framework/pods
Releases · pods-framework/pods
2.9.2 - August 16th, 2022
- Tweak: Improve the repeatable field UI elements so they blend in more. #6853 #6854 (@JoryHogeveen, @sc0ttkclark)
- Tweak: Use a popover UI for color fields. #6858 #6859 (@JoryHogeveen)
- Tweak: Use a popover UI for date, date/time, and time fields. #6857 #6389 #6860 (@JoryHogeveen)
- Fixed: Resolve conflicts with Restrict Content Pro to deal with how it uses the shared Common library. (@sc0ttkclark)
- Fixed: Resolve issues with taggable relationships not saving string values. #6862 #6863 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Resolve formatting issues with saved date/time field variations on save. #6389 #6860 (@JoryHogeveen)
- Fixed: Resolve error with WPGraphQL on some PHP configurations. #6865 (@sc0ttkclark)
- Fixed: Resolve error in the field settings for Files with Gallery enabled. #6864 (@sc0ttkclark)
2.9.1 - August 10th, 2022
- Fixed: CodeMirror compatibility updated after some packages in the build caused Code fields to not show in the Pods forms. #6580 #6584 (@zrothauser, @sc0ttkclark)
- Fixed: Resolve potential fatal errors when interacting with WP_Filesystem by reading files using normal PHP functions and bypassing those edge cases. #6581 #6582 (@sc0ttkclark)
2.9 - August 9th, 2022
- Feature: Simple Repeatable Fields offers the ability to turn almost any field into a repeatable field. With repeatable fields, you can add multiple values for a field. You can use repeatable fields with the Pods template tag
[each your_repeatable_field]
to easily loop and display information with{@_value}
Supported field types include: Plain Text, Website, Phone, Email, Password, Date / Time, Date, Time, oEmbed, Plain Paragraph text, WYSIWYG, Plain Number, Currency, and Color Picker. Supported Pod Types include: Post Types (meta-based), Taxonomies (meta-based), Users (meta-based), and Comments (meta-based). #1095 #6304 (@sc0ttkclark, @zrothauser) - Feature: Register Pods configurations with JSON/YML files in your theme when stored in
pods.json
,pods/pods.json
,pods/templates.json
, etc. Custom paths can be registered to support third party plugins as well. Register new paths usingpods_register_config_path( $full_directory_path )
that contain a/pods/
directory to automatically pull from or usepods_register_config_file( $full_file_path, 'json' )
to register a specific file. #4856 (@sc0ttkclark) - Feature: The initial integration for WPGraphQL has been merged from the WPGraphQL Integration Add-On for Pods Pro by SKCDEV. The Add-On itself will continue to be developed with new features that are focused on Advanced Content Types and other enhancements in the future that will still remain outside of Pods core. (@sc0ttkclark)
- Feature: Drag and drop fields from one group to another. #5937 #6114 #6123 #6456 (@sc0ttkclark)
- Feature: Support importing and exporting Pods Settings in Pods Packages. #6455 (@sc0ttkclark)
- Feature: Website fields can now be set to output links with
rel="nofollow"
on them. (@sc0ttkclark) - Feature: Full support for DB (Post Types), Code (PHP), and File (JSON/YML) configurations on the Pods Admin > Edit Pods screen. If you have configurations for multiple sources, you will see a new Source column (with file path) and you can filter by source. Pods with non-DB sources currently do not have Edit/Duplicate/Reset Content/Delete links. (@sc0ttkclark)
- Feature: The file field can now support any image, video, or audio mime types that are supported by WordPress. #6577 #6578 (@sc0ttkclark, @JoryHogeveen)
- Enhancement: New
\Pods\Pod_Manager
class allows reusing Pods instances when working with the same Pod across many areas of the code. (@sc0ttkclark) - Enhancement: Added PodsAdmin::check_requirements() helper method. (@sc0ttkclark)
- Enhancement: Migrate Packages component is now enabled by default on new Pods installs. (@sc0ttkclark)
- Tweak: Removed special logic intended for PHP 5.3 and earlier. (@sc0ttkclark)
- Tweak: Improved performance when getting Pods configs from post type storage. #6561 #6562 (@JoryHogeveen)
- Fixed: Set the default sort to Pod Label now that more sources are supported on Pods Admin > Edit Pods. (@sc0ttkclark)
- Fixed: Prevent potential issues with
$wpdb->prepare()
when a related object does not have an index field set. (@sc0ttkclark) - Fixed: Resolve issue with not reading cache when no ID is passed into Pods objects for Settings pods. #3582 #3583 (@pcfreak30, @sc0ttkclark, @JoryHogeveen)
- Fixed: Don't show the edit link in PodsUI if access is restricted, previously going to edit would show the access message but now the link won't show at all in those restricted cases. (@sc0ttkclark)
- Fixed: Resolve issues with Media modal fields showing duplicate fields. #6564 (@JoryHogeveen)
- Fixed: Handle processing the Pods display tags in a more dynamic way for attributes and passing them down to the tag handlers. (@sc0ttkclark)
- Fixed: Enable media buttons for the post_content field like they should so that forms outside the admin screen continue to function as expected. #6525 (@sc0ttkclark)
- Fixed: Resolve issues with values that are objects and convert them to arrays for relationship value formatting in DFV field renders. #6566 (@sc0ttkclark)
- Fixed: Show the Add Media button in forms that use the post_content field. #6569 (@sc0ttkclark)
- New minimum WP version required: WordPress 5.7+ (previously: WP 5.5+)
- No minimum PHP version changes (currently: PHP 5.6+) but please be aware that PHP 7.2+ will be required for the Pods 3.0+ feature release. You should take the time to update to PHP 8.0+ because there’s major speed improvements to be had 🙂
2.8.23 - July 4th, 2022
- Tweak: Added support for exporting post types and taxonomies to PHP for debugging purposes. While logged in as an admin, add
?pods_debug_register_export=1
to expose textareas on the page to get the code. (@sc0ttkclark) - Tweak: Added support for new
{@_current_page}
calculation value. (@sc0ttkclark) - Tweak: Added support for calculation values in conditional display tags like
[if field="_position" value="2"]
. #6513 (@sc0ttkclark) - Fixed: Resolved revision issues when
revisions_to_keep_limit
is set to 0 in the post type. It was supposed to see 0 and use the default revision limit. Instead, it was disabling the revisions for that post type. #6499 (@sc0ttkclark) - Fixed: Resolved potential PHP warnings on certain sites by preparing SQL queries separately from other string processing. #6556 #6555 #6554 (@JoryHogeveen, @sc0ttkclark)
- Fixed: Resolved potential PHP notices when getting table information in
PodsData::table()
. (@JoryHogeveen) - Fixed: Resolved potential PHP type conversion warnings by passing
SORT_REGULAR
to `array_unique()`` in the File field saving process. (@JoryHogeveen) - Fixed: Pods Auto Templates defaults for some fields were set to "true" and that is now treated as empty. The default for those fields are now empty as intended. This resolves notices on the Edit Pod screen about templates being used for Archives when Archives are disabled, but there was no template intentionally set for Archive. (@sc0ttkclark)
2.8.22.1 - July 3rd, 2022
- Fixed: Resolve potential PHP errors from Relationship/File field saves by ensuring consistent array structures.
2.8.22 - July 3rd, 2022
- Added: Support
IN
andNOT IN
comparisons for the Pods Templating[if]
conditional shortcode that checks if the current value is/isn't within a comma-separated list of values. (@sc0ttkclark) - Added: Support
=
and!=
comparisons when the current value is an array of values, it now confirms the value is/isn't within that array. (@sc0ttkclark) - Added: When saving pod items, support field-type specific save method for non-tableless field types for future flexibility. (@sc0ttkclark)
- Added: New
pods_query_prepare()
function maps topods_query()
but allows for distinct prepare usage instead of confusing array syntax. (@sc0ttkclark) - Added: Added new
Field::get_single_multi()
helper method to determine whether a field is using a single/multi format type. (@sc0ttkclark) - Tweak: When saving pod items, pre-process tableless field type data consistently to better support table-based storage. (@sc0ttkclark)
- Tweak: When saving pod items, allow filtering the list of processed data values that will be used to do the final save with
pods_api_save_pod_item_processed_data_to_save
. (@sc0ttkclark) - Tweak: Adjusted the prepared SQL statements to use the new
pods_query_prepare()
when doingwp_podsrel
table relationship lookups. (@sc0ttkclark) - Tweak: Filter
wp_podsrel
table relationship lookup related IDs the same way as meta-based related IDs get with thepods_api_lookup_related_items_related_ids_for_id
filter. (@sc0ttkclark) - Tweak: Support custom heading tags for the Heading field in the DFV-powered areas like the Edit Pod screen. (@sc0ttkclark)
- Tweak: Further lock down custom heading tags in PHP-powered forms so that they can only contain basic tag names. (@sc0ttkclark)
- Fixed: Avoid setting post terms that are empty when saving pod item. (@sc0ttkclark)
- Fixed: Dot-traversal in Pods Templating
[if]
conditional shortcodes references the correct pod and expected field path. (@sc0ttkclark)
2.8.21 - June 27th, 2022
- Fixed: When determining the first version installed of Pods, use the last known version instead of the current version. (@sc0ttkclark)
- Fixed: Increase the version used when determining defaults for Meta Integration and Meta Overrides. (@sc0ttkclark)
- Fixed: Allow language relationships with Polylang language taxonomy. #6541 #6540 (@JoryHogeveen)
- Fixed: Remove empty values from list of file types to prevent PHP warnings. #6544 #6543 (@JoryHogeveen)
- Fixed: Prevent errors on List Select fields if there are empty results. #6536 #6536 (@zrothauser)
2.8.20 - June 17th, 2022
- Fixed: Use the correct defaults for the new Pods Settings of Meta Integration and Meta Overrides. (@sc0ttkclark)
- Fixed: Use the correct defaults for Pods Settings when they return as a blank string. (@sc0ttkclark)
2.8.19 - June 13th, 2022
- Fixed: Theme views now load as expected, fixing an issue introduced in 2.8.18. (@sc0ttkclark)
2.8.18 - June 10th, 2022
- Added: New helper functions
pods_clean_memory()
andpods_maybe_clean_memory()
introduced to provide WP-CLI commands in Pods core and add-ons the ability to help reduce memory usage in long running processes. (@sc0ttkclark) - Added: New function
Pods::is_defined()
determines whether a Pod was defined or if it was generated adhoc when calling a non-defined Pod. (@sc0ttkclark, @JoryHogeveen) - Added: New function
Pods::is_valid()
replaces the logic inPods::valid()
to better follow the naming pattern used elsewhere in Pods.Pods::valid()
is not deprecated yet. (@sc0ttkclark) - Added: New functions
pods_static_cache_get()
,pods_static_cache_set()
, andpods_static_cache_clear()
abstract the static cache handling that would sometimes fail if the class was not available. (@sc0ttkclark) - Added: New filter
pods_init_register_assets_load_pods_dfv_on_front
which allows you to force loading Pods DFV scripts on the front of the site when needed. Normally they will be included but some plugins/themes may need them enqueued sooner. (@sc0ttkclark) - Tweak: Improved performance when using TranslatePress by optimizing how settings and blocks are handled to avoid extra
__()
translation calls. (@sc0ttkclark) - Tweak: Improved performance with Block configurations. (@sc0ttkclark)
- Tweak: Improved performance with existing content type checks. (@sc0ttkclark)
- Tweak: Improved performance by offering a new setting to enable/disable tracking changed fields. (@sc0ttkclark)
- Tweak: Improved performance by offering a new setting to enable/disable metadata integration. (@sc0ttkclark)
- Tweak: Improved performance and third party plugin compatibility by offering a new setting to enable/disable metadata display overrides for Relationship/File fields. (@sc0ttkclark)
- Tweak: Improved file types help text on the File field to describe how limiting file types works more clearly. (@sc0ttkclark)
- Tweak: Default input type for Relationships multiple-select is now List View. (@sc0ttkclark)
- Fixed: File path checks are now more strict and consistent across all Pods Views loading. (@sybrew from The SEO Framework team, @sc0ttkclark)
- Fixed: SVG and other file types would not properly match up when certain plugins add additional mime types to be supported. (@sc0ttkclark)
- Fixed: Improved fallback handling for DB table schema errors when trying to add a column that may already exist in the table. (@sc0ttkclark)
- Fixed: Support labels for HTML field types in more form areas. (@sc0ttkclark)
- Fixed:
PodsUI
now filters all field values instead of circumventing that when it's pulled from the table row already. (@sc0ttkclark)