Skip to content

Commit

Permalink
Merge pull request #7065 from pods-framework/release/3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Sep 13, 2023
2 parents 27ba03f + 8d67e2a commit f96f404
Show file tree
Hide file tree
Showing 666 changed files with 21,233 additions and 141,218 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ tests/_support/_generated/* linguist-generated=true
.gitignore export-ignore
.jshintrc export-ignore
.nvmrc export-ignore
.phpcs.xml export-ignore
.phpcs.compat.xml export-ignore
.phpstorm.meta.php export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ on:
# The branches below must be a subset of the branches above
branches: [ main, release/* ]
paths-ignore:
- 'tribe-common/*'
- 'vendor/*'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, release/* ]
paths-ignore:
- 'tribe-common/*'
- 'vendor/*'
schedule:
- cron: '41 15 * * 4'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
uses: rtCamp/action-phpcs-code-review@v3
env:
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
SKIP_FOLDERS: ".github,.wordpress-org,tests,tribe-common,vendor"
SKIP_FOLDERS: ".github,.wordpress-org,tests,vendor"
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ $RECYCLE.BIN/
/composer.lock
/node_modules/
/vendor/*
!/vendor/mustangostang/COPYING
!/vendor/mustangostang/README.md
!/vendor/mustangostang/Spyc.php
!/vendor/vendor-prefixed/
npm-debug.log

# Source maps should just be built locally
Expand All @@ -47,7 +45,6 @@ ui/js/pods-ui-ready.min.js.map
# PHPCS
phpcs-report-*.txt


# Tests - local config files
codeception.yml
tests/codeception/*.suite.yml
Expand All @@ -57,6 +54,3 @@ tests/codeception/_support/_generated
# Tests - local output files
tests/codeception/_output
/coverage/

# Allowed vendor files
!tribe-common/vendor
2 changes: 1 addition & 1 deletion .phpcs.compat.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="Pods PHP Compatibility">
<config name="testVersion" value="5.6-"/>
<config name="testVersion" value="7.2-"/>

<exclude-pattern>*/\.github/*</exclude-pattern>
<exclude-pattern>*/\.wordpress-org/*</exclude-pattern>
Expand Down
9 changes: 0 additions & 9 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
<?php

namespace PHPSTORM_META {
// Allow PhpStorm IDE to resolve return types when calling tribe( Object_Type::class ) or tribe( `Object_Type` )
override(
\tribe( 0 ),
map( [
'' => '@',
'' => '@Class',
] )
);

// Allow PhpStorm IDE to resolve return types when calling pods_container( Object_Type::class ) or pods_container( `Object_Type` )
override(
\pods_container( 0 ),
Expand Down
Empty file added bin/.gitkeep
Empty file.
Binary file added bin/strauss.phar
Binary file not shown.
24 changes: 24 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@ 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 - September 13th, 2023 =

**Compatibility warning**

New minimum required versions have been updated as follows which includes notices to let you know if you need to update something:

* New minimum WP version required: WordPress 6.0+ (previously: WP 5.7+)
* New minimum PHP version required: PHP 7.2+ (previously: PHP 5.6+) — Hey! You should take the time to update to PHP 8.1+ because that is currently the lowest version actively supported by The PHP Group.

**3.0 Changelog**

* Feature: [Conditional Logic for Fields](https://docs.pods.io/fields/conditional-logic-for-fields/) - You can now choose to show or hide a Pods field based on the value of another Pods field. More will be expanded into this functionality in the future. #609 (@zrothauser, @sc0ttkclark, @Shelob9)
* Feature: Support for the new Command Palettes feature added in WordPress 6.3. This will allow you to contextually go to the Edit Pod screen for the matching Pod configuration of that post type directly from the Edit Post screen. (@sc0ttkclark)
* Added: Set up backward compatible updates to our prior `depends-on` and related logic for internal conditional logic prior to Pods 3.0 so they now properly translate over to the new format required. (@sc0ttkclark)
* Added: When importing and exporting Pods packages, they now include the list of active components. (@sc0ttkclark)
* Fixed: Media saving issue has been resolved when the Media Modal fields are disabled, it now saves fields as expected. #7158 (@sc0ttkclark, @pd-cm)
* Fixed: Improved compatibility with Polylang. #7139 #7140 (@JoryHogeveen)
* Fixed: Redirects after deleting a Pod now send to the current site dashboard instead of hardcoded `/wp-admin/` link. #7137 #7162 (@JoryHogeveen)
* Fixed: When extending a post type or taxonomy it will now use the associated post type or taxonomy label when setting up the pod so it matches. #6350 (@sc0ttkclark)
* Fixed: Resolved problems with saving the featured image from frontend forms when a post type supports featured images. (@sc0ttkclark)
* Fixed: Don't show SQL errors when getting relationship data for forms if the debug display is disabled in WP. (@sc0ttkclark)
* Fixed: Improved tooltip appearances with better color contrast. #7119 #7118 (@heybran)
* Removed: The Tribe Common library has been removed from Pods and it will alleviate conflicts from plugins like The Events Calendar and Event Tickets going forward. (@sc0ttkclark)

= 2.9.19 - June 28th, 2023 =

* Fixed: Ensure that cache modes are validated correctly to prevent transients / static cache / etc from being forced into persistent cache which could fill caches up. (@sc0ttkclark, props to Björn Hasselberg for helping debug and find this)
Expand Down
Loading

0 comments on commit f96f404

Please sign in to comment.