Skip to content

Commit 134d539

Browse files
author
Gravity Wiz Bot
committed
1.0-beta-1.11; Auto bump
1 parent 40382e3 commit 134d539

File tree

2 files changed

+47
-43
lines changed

2 files changed

+47
-43
lines changed

changelog.txt

Lines changed: 45 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,106 @@
11
# Changelog
22

3+
## 1.0-beta-1.11 | May 22, 2024
4+
5+
- Added `GPT-4o` chat completions model.
6+
37
## 1.0-beta-1.10
48

5-
- Fixed an issue where different cache keys could be generated with the same input resulting in different responses.
9+
- Fixed an issue where different cache keys could be generated with the same input resulting in different responses.
610

711
## 1.0-beta-1.9
812

9-
- Removed the `completions` and `edit` endpoints which have been deprecated by OpenAI. Feeds using these endpoints will be automatically converted to the `chat/completions` endpoint.
13+
- Removed the `completions` and `edit` endpoints which have been deprecated by OpenAI. Feeds using these endpoints will be automatically converted to the `chat/completions` endpoint.
1014

1115
## 1.0-beta-1.8
1216

13-
- Added `gpt-4-1106-preview` as an available model for the Chat Completions endpoint.
14-
- Added a filter to the OpenAI response.
17+
- Added `gpt-4-1106-preview` as an available model for the Chat Completions endpoint.
18+
- Added a filter to the OpenAI response.
1519

1620
## 1.0-beta-1.7
1721

18-
- Added a `log_debug()` call before any request.
19-
- Fixed issue where the `gf_openai_chat_completions_message` filter hook would not run during merge tag replacement.
22+
- Added a `log_debug()` call before any request.
23+
- Fixed issue where the `gf_openai_chat_completions_message` filter hook would not run during merge tag replacement.
2024

2125
## 1.0-beta-1.6
2226

23-
- Added new `gf_openai_chat_completions_message` PHP filter hook.
24-
- Fixed potential PHP notices.
27+
- Added new `gf_openai_chat_completions_message` PHP filter hook.
28+
- Fixed potential PHP notices.
2529

2630
## 1.0-beta-1.5
2731

28-
- Added OpenAI feeds to form export/import. (Closes #17)
29-
- Added support for re-ordering feeds. (Closes #10)
32+
- Added OpenAI feeds to form export/import. (Closes #17)
33+
- Added support for re-ordering feeds. (Closes #10)
3034

3135
## 1.0-beta-1.4
3236

33-
- Added gpt-3.5-turbo-16k as an available model for the Chat Completions endpoint.
37+
- Added gpt-3.5-turbo-16k as an available model for the Chat Completions endpoint.
3438

3539
## 1.0-beta-1.3
3640

37-
- Added `gpt-4` and `gpt-4-32k` as available models for the Chat Completions endpoint.
41+
- Added `gpt-4` and `gpt-4-32k` as available models for the Chat Completions endpoint.
3842

3943
## 1.0-beta-1.2
4044

41-
- Fixed issue where merge tag completion values would sometimes be blank.
42-
- Fixed issue where non-OpenAI merge tag output for multi-input field types such as checkboxes could get inadvertently cleared out.
43-
- Fixed issues with Open AI feed not duplicating when form was duplicated.
44-
- Added hook `gf_openai_post_save_result_to_field` to trigger after OpenAI result is stored on an entry.
45-
- Added new `gf_openai_cache_responses` filter hook that can be used to disable caching OpenAI responses.
45+
- Fixed issue where merge tag completion values would sometimes be blank.
46+
- Fixed issue where non-OpenAI merge tag output for multi-input field types such as checkboxes could get inadvertently cleared out.
47+
- Fixed issues with Open AI feed not duplicating when form was duplicated.
48+
- Added hook `gf_openai_post_save_result_to_field` to trigger after OpenAI result is stored on an entry.
49+
- Added new `gf_openai_cache_responses` filter hook that can be used to disable caching OpenAI responses.
4650

4751
## 1.0-beta-1.1
4852

49-
- Fixed potential PHP warnings/errors caused by `php-scoper`.
53+
- Fixed potential PHP warnings/errors caused by `php-scoper`.
5054

5155
## 1.0-beta-1
5256

53-
- Added a Gravity Flow Step Type for OpenAI. Credit: @Idealien
54-
- Added new `nl2br` modifier that can be used on merge tags to convert newlines into `<br />`'s. This is useful when outputting plain-text responses into HTML using Live Merge Tags. Example: `@{:1:openai_feed_5,nl2br}`.
55-
- Fixed issue where feed conditional logic and feed status (active/inactive) were not checked during validation for the Moderations endpoint.
56-
- Fixed issue where feed status was not taken into account during merge tag replacement so inactive feeds would still have their merge tags replaced.
57-
- Added new Chat Completions endpoint.
58-
- Added auto-updater powered by GitHub Releases.
59-
- Added new capabilities to grant/deny access to OpenAI settings and to uninstall it.
57+
- Added a Gravity Flow Step Type for OpenAI. Credit: @Idealien
58+
- Added new `nl2br` modifier that can be used on merge tags to convert newlines into `<br />`'s. This is useful when outputting plain-text responses into HTML using Live Merge Tags. Example: `@{:1:openai_feed_5,nl2br}`.
59+
- Fixed issue where feed conditional logic and feed status (active/inactive) were not checked during validation for the Moderations endpoint.
60+
- Fixed issue where feed status was not taken into account during merge tag replacement so inactive feeds would still have their merge tags replaced.
61+
- Added new Chat Completions endpoint.
62+
- Added auto-updater powered by GitHub Releases.
63+
- Added new capabilities to grant/deny access to OpenAI settings and to uninstall it.
6064

6165
## 1.0-alpha-1.8
6266

63-
- Fixed an issue where GP Populate Anything values would not get populated when Gravity Forms OpenAI was enabled.
64-
- Fixed an issue where OpenAI responses could be displayed in the Form Editor.
67+
- Fixed an issue where GP Populate Anything values would not get populated when Gravity Forms OpenAI was enabled.
68+
- Fixed an issue where OpenAI responses could be displayed in the Form Editor.
6569

6670
## 1.0-alpha-1.7
6771

68-
- Removed `Perk: True` from the plugin header to address potential PHP errors.
72+
- Removed `Perk: True` from the plugin header to address potential PHP errors.
6973

7074
## 1.0-alpha-1.6
7175

72-
- Added new `raw` modifier that can be used in the feed merge tags. This allows for fetching specific properties from the OpenAI response. Example usage: `{:1:openai_feed_2,raw[usage/total_tokens]}`
76+
- Added new `raw` modifier that can be used in the feed merge tags. This allows for fetching specific properties from the OpenAI response. Example usage: `{:1:openai_feed_2,raw[usage/total_tokens]}`
7377

7478
## 1.0-alpha-1.5
7579

76-
- Updated feed merge tags to evaluate feed conditional logic (if configured) before returning a result. If the conditional logic does not evaluate as truthy, an empty string is returned.
77-
- Updated secret key setting to be a masked input.
80+
- Updated feed merge tags to evaluate feed conditional logic (if configured) before returning a result. If the conditional logic does not evaluate as truthy, an empty string is returned.
81+
- Updated secret key setting to be a masked input.
7882

7983
## 1.0-alpha-1.4
8084

81-
- Added new `gf_openai_request_body` PHP filter for customizing requests that go to OpenAI.
82-
- Added support for using custom/fine-tuned models when using the Completions endpoint.
85+
- Added new `gf_openai_request_body` PHP filter for customizing requests that go to OpenAI.
86+
- Added support for using custom/fine-tuned models when using the Completions endpoint.
8387

8488
## 1.0-alpha-1.3
8589

86-
- Added kses/strip_all_tags (depending on if field is using rich text editor) to `maybe_save_result_to_field()`.
87-
- Fixed regression where field map values weren't correctly saving (they would work in notifications/confirmation, however).
88-
- Added conditional logic for feeds.
90+
- Added kses/strip_all_tags (depending on if field is using rich text editor) to `maybe_save_result_to_field()`.
91+
- Fixed regression where field map values weren't correctly saving (they would work in notifications/confirmation, however).
92+
- Added conditional logic for feeds.
8993

9094
## 1.0-alpha-1.2
9195

92-
- Fixed issue where results in mapped fields would not show in notifications.
96+
- Fixed issue where results in mapped fields would not show in notifications.
9397

9498
## 1.0-alpha-1.1
9599

96-
- Added README.md and copyright.
97-
- Added changelog.
98-
- Added GPLv2 license and removed unneeded files.
100+
- Added README.md and copyright.
101+
- Added changelog.
102+
- Added GPLv2 license and removed unneeded files.
99103

100104
## 1.0-alpha-1
101105

102-
- Hello World!
106+
- Hello World!

gravityforms-openai.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Gravity Forms OpenAI
44
* Description: Pair the magic of OpenAI's robust models with Gravity Forms' flexibility.
55
* Plugin URI: https://gravitywiz.com/gravity-forms-openai/
6-
* Version: 1.0-beta-1.10
6+
* Version: 1.0-beta-1.11
77
* Author: Gravity Wiz
88
* Author URI: https://gravitywiz.com/
99
* License: GPL2
@@ -17,7 +17,7 @@
1717
* @link https://github.com/gravitywiz/gravityforms-openai
1818
*/
1919

20-
define( 'GWIZ_GF_OPENAI_VERSION', '1.0-beta-1.10' );
20+
define( 'GWIZ_GF_OPENAI_VERSION', '1.0-beta-1.11' );
2121

2222
defined( 'ABSPATH' ) || die();
2323

0 commit comments

Comments
 (0)