Skip to content

Commit f96f404

Browse files
authored
Merge pull request #7065 from pods-framework/release/3.0
2 parents 27ba03f + 8d67e2a commit f96f404

File tree

666 files changed

+21233
-141218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

666 files changed

+21233
-141218
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ tests/_support/_generated/* linguist-generated=true
3434
.gitignore export-ignore
3535
.jshintrc export-ignore
3636
.nvmrc export-ignore
37+
.phpcs.xml export-ignore
38+
.phpcs.compat.xml export-ignore
3739
.phpstorm.meta.php export-ignore
3840
.scrutinizer.yml export-ignore
3941
.travis.yml export-ignore

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ on:
1616
# The branches below must be a subset of the branches above
1717
branches: [ main, release/* ]
1818
paths-ignore:
19-
- 'tribe-common/*'
2019
- 'vendor/*'
2120
pull_request:
2221
# The branches below must be a subset of the branches above
2322
branches: [ main, release/* ]
2423
paths-ignore:
25-
- 'tribe-common/*'
2624
- 'vendor/*'
2725
schedule:
2826
- cron: '41 15 * * 4'

.github/workflows/php-phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
uses: rtCamp/action-phpcs-code-review@v3
3333
env:
3434
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
35-
SKIP_FOLDERS: ".github,.wordpress-org,tests,tribe-common,vendor"
35+
SKIP_FOLDERS: ".github,.wordpress-org,tests,vendor"

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ $RECYCLE.BIN/
3636
/composer.lock
3737
/node_modules/
3838
/vendor/*
39-
!/vendor/mustangostang/COPYING
40-
!/vendor/mustangostang/README.md
41-
!/vendor/mustangostang/Spyc.php
39+
!/vendor/vendor-prefixed/
4240
npm-debug.log
4341

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

50-
5148
# Tests - local config files
5249
codeception.yml
5350
tests/codeception/*.suite.yml
@@ -57,6 +54,3 @@ tests/codeception/_support/_generated
5754
# Tests - local output files
5855
tests/codeception/_output
5956
/coverage/
60-
61-
# Allowed vendor files
62-
!tribe-common/vendor

.phpcs.compat.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset name="Pods PHP Compatibility">
3-
<config name="testVersion" value="5.6-"/>
3+
<config name="testVersion" value="7.2-"/>
44

55
<exclude-pattern>*/\.github/*</exclude-pattern>
66
<exclude-pattern>*/\.wordpress-org/*</exclude-pattern>

.phpstorm.meta.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?php
22

33
namespace PHPSTORM_META {
4-
// Allow PhpStorm IDE to resolve return types when calling tribe( Object_Type::class ) or tribe( `Object_Type` )
5-
override(
6-
\tribe( 0 ),
7-
map( [
8-
'' => '@',
9-
'' => '@Class',
10-
] )
11-
);
12-
134
// Allow PhpStorm IDE to resolve return types when calling pods_container( Object_Type::class ) or pods_container( `Object_Type` )
145
override(
156
\pods_container( 0 ),

bin/.gitkeep

Whitespace-only changes.

bin/strauss.phar

7.41 MB
Binary file not shown.

changelog.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@ Found a bug? Have a great feature idea? Get on GitHub and tell us about it and w
22

33
Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases
44

5+
= 3.0 - September 13th, 2023 =
6+
7+
**Compatibility warning**
8+
9+
New minimum required versions have been updated as follows which includes notices to let you know if you need to update something:
10+
11+
* New minimum WP version required: WordPress 6.0+ (previously: WP 5.7+)
12+
* 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.
13+
14+
**3.0 Changelog**
15+
16+
* 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)
17+
* 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)
18+
* 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)
19+
* Added: When importing and exporting Pods packages, they now include the list of active components. (@sc0ttkclark)
20+
* Fixed: Media saving issue has been resolved when the Media Modal fields are disabled, it now saves fields as expected. #7158 (@sc0ttkclark, @pd-cm)
21+
* Fixed: Improved compatibility with Polylang. #7139 #7140 (@JoryHogeveen)
22+
* Fixed: Redirects after deleting a Pod now send to the current site dashboard instead of hardcoded `/wp-admin/` link. #7137 #7162 (@JoryHogeveen)
23+
* 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)
24+
* Fixed: Resolved problems with saving the featured image from frontend forms when a post type supports featured images. (@sc0ttkclark)
25+
* Fixed: Don't show SQL errors when getting relationship data for forms if the debug display is disabled in WP. (@sc0ttkclark)
26+
* Fixed: Improved tooltip appearances with better color contrast. #7119 #7118 (@heybran)
27+
* 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)
28+
529
= 2.9.19 - June 28th, 2023 =
630

731
* 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)

0 commit comments

Comments
 (0)