Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.20 #1995

Merged
merged 59 commits into from
Feb 23, 2024
Merged

Release 2.20 #1995

merged 59 commits into from
Feb 23, 2024

Conversation

zackkatz
Copy link
Member

@zackkatz zackkatz commented Feb 22, 2024

This release introduces new settings for better control over View caching, adds support for the Advanced Post Creation Add-On when editing entries, fixes a fatal error when exporting entries to CSV, and updates internal components for better performance and compatibility.

🚀 Added

  • Global and View-specific settings to control caching of View entries.
  • Support for the Advanced Post Creation Add-On when editing entries in GravityView's Edit Entry mode.

✨ Improved

  • If Gravity Forms is not installed and/or activated, a notice is displayed to alert users when creating new or listing existing Views.

🐛 Fixed

  • Deprecation notice in PHP 8.1+ when displaying a View with file upload fields.
  • Fatal error when exporting entries to CSV.

🔧 Updated

  • Foundation to versions 1.2.9.
    • GravityKit products that are already installed can now be activated without a valid license.
    • Fixed PHP warning messages that appeared when deactivating the last active product with Foundation installed.

dependabot bot and others added 30 commits September 1, 2023 01:06
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [is-svg](https://github.com/sindresorhus/is-svg). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 3.21.1 to 4.2.7
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](NaturalIntelligence/fast-xml-parser@v3.21.1...v4.2.7)

Updates `is-svg` from 4.3.2 to 4.4.0
- [Release notes](https://github.com/sindresorhus/is-svg/releases)
- [Commits](sindresorhus/is-svg@v4.3.2...v4.4.0)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: is-svg
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Removed erroneously on merge 9c9355c
This PR addresses #1268 . 

It updates the connected Post if the entry is edited through GravityKit.
**So not for gravity forms editing itself!**.

It also shows a notice if you provide an edit page and the APC add-on is
active.

<img width="1002" alt="image"
src="https://github.com/GravityKit/GravityView/assets/529515/ea56bfd6-8389-492f-a1e1-d6ad2b4d51d5">
This prevents "invalid post type" error when accessing trying to
edit or create a new View
This implements #1979 using some "clever hacks" as there's no easy
way to override WP's edit.php and post-new.php output.
null results in PHP deprecation notice when passed
to GFCommon::replace_variables()

This fixes #1987
This also no longer checks for post type in URL query
as it not available when editing existing posts where
the URL is post.php?post=<id>&action=edit
This reintroduces long-lived caching as documented in
https://docs.gravitykit.com/article/58-about-gravityview-caching.

If caching is enabled (either globally or for a specific View), we
use the GV caching class to store entries. Otherwise, we cache entries
for the duration of the request, unless disabled by a filter.
mrcasual and others added 24 commits February 19, 2024 19:04
This improves reliability when object caching
is used while also maintaining backward compatibility.
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](indutny/node-ip@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
This adds delete_transient and delete_site_transient helper methods
This will work better on MS where the transient will be set for each site,
not as a global network option
Bumps [axios](https://github.com/axios/axios) to 1.6.7 and updates ancestor dependency [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts). These dependencies need to be updated together.


Updates `axios` from 0.25.0 to 1.6.7
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.25.0...v1.6.7)

Updates `@wordpress/scripts` from 25.1.0 to 27.2.0
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@27.2.0/packages/scripts)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: "@wordpress/scripts"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
This adds a global (GravityKit > Settings > GravityView) and View
setting to control caching. This also implements long-lived caching
(https://docs.gravitykit.com/article/58-about-gravityview-caching) that
we haven't had since... ages.

Ref: #1818.
On a new view without a connected form, this page showed a warning.
On a new view without a connected form, this page showed a warning.
It seemed like a cleaner choice, but If you don't like this move, please revert this commit @mrcasual
This fixes issues in the LifterLMS branch. It's also faster!
…1989)

Ref: #1979

GV notices are reused but made non-dismissible on those two pages.
@mrcasual mrcasual changed the title Version 2.20 Release 2.20 Feb 22, 2024
@zackkatz zackkatz merged commit 2548055 into main Feb 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants