diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index d5facf61d8..39ae7ee339 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,12 +1,5 @@ # These are supported funding model platforms github: pods-framework, sc0ttkclark # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username custom: https://friends.pods.io # Replace with a single custom sponsorship URL diff --git a/.github/workflows/wporg-replace.yml b/.github/workflows/wporg-replace.yml new file mode 100644 index 0000000000..a8d810a231 --- /dev/null +++ b/.github/workflows/wporg-replace.yml @@ -0,0 +1,57 @@ +name: WordPress.org Replace Strings +env: + WPORG_PLUGIN_FILE: 'init.php' + WPORG_PLUGIN_VERSION_CONSTANT_NAME: 'PODS_VERSION' + WPORG_MINIMUM_WP_VERSION_CONSTANT_NAME: 'PODS_WP_VERSION_MINIMUM' + WPORG_MINIMUM_PHP_VERSION_CONSTANT_NAME: 'PODS_PHP_VERSION_MINIMUM' +on: + workflow_dispatch: + inputs: + plugin_version: + description: 'Plugin version' + required: false + tested_wp_version: + description: 'Tested up to WP version' + required: false + minimum_wp_version: + description: 'Minimum WP version' + required: false + minimum_php_version: + description: 'Minimum PHP version' + required: false +jobs: + prepare_release: + runs-on: ubuntu-latest + steps: + - name: Checkout the code + uses: actions/checkout@v4 + - name: What are we doing? + run: | + echo plugin_version: ${{ github.event.inputs.plugin_version }} + echo tested_wp_version: ${{ github.event.inputs.tested_wp_version }} + echo minimum_wp_version: ${{ github.event.inputs.minimum_wp_version }} + echo minimum_php_version: ${{ github.event.inputs.minimum_php_version }} + - name: Run wporg-replace + uses: sc0ttkclark/wporg-replace@v1.0.0 + with: + plugin_version: ${{ github.event.inputs.plugin_version }} + plugin_version_constant_name: ${{ env.WPORG_PLUGIN_VERSION_CONSTANT_NAME }} + tested_wp_version: ${{ github.event.inputs.tested_wp_version }} + tested_wp_version_constant_name: ${{ env.WPORG_TESTED_WP_VERSION_CONSTANT_NAME }} + minimum_wp_version: ${{ github.event.inputs.minimum_wp_version }} + minimum_wp_version_constant_name: ${{ env.WPORG_MINIMUM_WP_VERSION_CONSTANT_NAME }} + minimum_php_version: ${{ github.event.inputs.minimum_php_version }} + minimum_php_version_constant_name: ${{ env.WPORG_MINIMUM_PHP_VERSION_CONSTANT_NAME }} + plugin_file: ${{ env.WPORG_PLUGIN_FILE }} + plugin_path: ${{ github.workspace }} + - name: Commit changes + uses: stefanzweifel/git-auto-commit-action@v4 + with: + file_pattern: ${{ env.WPORG_PLUGIN_FILE }} readme.txt package.json + commit_message: Update wporg version(s) + - name: "Run if changes have been detected" + if: steps.auto-commit-action.outputs.changes_detected == 'true' + run: echo "Changes!" + - name: "Run if no changes have been detected" + if: steps.auto-commit-action.outputs.changes_detected == 'false' + run: echo "No Changes!" diff --git a/changelog.txt b/changelog.txt index 6f8b33a105..5f07c170d6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,33 @@ Found a bug? Have a great feature idea? Get on GitHub and tell us about it and w Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases += 3.0.8 - October 20th, 2023 = + +* Fixed: Resolved the hooked var handling for pre-save hooks in PodsAPI::save_pod_item() that was broken in Pods 3.0. #5532 #7195 (@sc0ttkclark, @olivierguerriat, @HmCody) +* Fixed: Resolve PHP deprecated notice in the `PodsUpgrade` class. #7190 (@sc0ttkclark) + += 3.0.7 - October 19th, 2023 = + +* Fixed: Avoid duplicate fields showing up when registering fields manually through `pods_group_add()` instead of through normal DB or file-based configs. #6317 (@sc0ttkclark) +* Fixed: Resolve cases where Settings pod types would treat every save as a new item. (@sc0ttkclark) +* Fixed: Swept through the codebase to fix all remaining return type issues with PHP 8+ for the most common extended/implemented methods. (@sc0ttkclark) + += 3.0.6 - October 2nd, 2023 = + +* Fixed: Resolved a plugin conflict with The Events Calendar / Event Tickets plugins that was introduced in 3.0.5. (@sc0ttkclark) +* Fixed: PHP deprecated notices resolved for return types in PHP 8+ (@sc0ttkclark) + += 3.0.5 - October 2nd, 2023 = + +* Tweak: Added the "full" image size to the reference list in the Pods Template editor. #7183 #7184 (@JoryHogeveen) +* Fixed: PHP deprecated notices resolved for WYSIWYG field. #7182 (@sc0ttkclark) +* Fixed: Relationships with user capabilities filtered will now work as expected in more cases when using WP multisite. #7181 #7185 (@JoryHogeveen) +* Fixed: Enforce single value for inputs instead of arrays of values in single format for file/relationship field. This resolves issues with Conditional Logic not seeing the initial value on reload. (@sc0ttkclark) +* Fixed: Normalize numbers when doing conditional logic comparisons. (@sc0ttkclark) +* Fixed: Add new options to trim content of fields by removing empty p tags, trimming whitespace at the end of lines, and removing extra lines. Default those to off (previously they were just always on). (@sc0ttkclark) +* Fixed: Add `tribe()` backward compatibilty function for Pods add-ons that still call that function. This only gets included by Pods when Tribe Common is not detected on the site. (@sc0ttkclark) +* Fixed: Resolve file/relationship lookups for settings pages that are DB vs file-based configs. (@sc0ttkclark) + = 3.0.4 - September 25th, 2023 = * Fixed: Resolve bidirectional removal issue from Pods 2.x where bidirectional relationships would not have the current item removed when you removed that related item. (@sc0ttkclark) @@ -2371,3 +2398,534 @@ Fixed: Serial comma display works again for Users, Comments, and Media relations * Added: ability to override pager var ($this->page_var) * Added: load_helper, load_pod, load_template, drop_helper, drop_pod, drop_template methods support the "name" field as well as the id * Added: load_page, drop_page methods support the "uri" field as well as the id + += 1.8.2 - February 14th, 2010 = + +* IMPROVED: PICK taxonomy support (not just categories) +* IMPROVED: "Browse Content" styling +* ADDED: import/export file column support +* FIXED: magic tag bug with "wp_" column names +* FIXED: replaced str_split for PHP4 users +* FIXED: $_POSTs in save_pod_item (API) +* FIXED: weird Pod Page chars added when using nginx proxy + += 1.8.1 - January 17th, 2010 = + +* ADDED: Pre-drop and Post-drop helpers +* ADDED: Several plugin hook actions, e.g. "pods_pre_save_pod_item" +* IMPROVED: bypass Pod Pages when $pods = 404 +* IMPROVED: