From 23d78f22bc332b42652890ccb2053acb31624eff Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Sun, 23 Jul 2023 16:22:44 -0300 Subject: [PATCH 1/4] Changelog of 2.0.0 --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- readme.txt | 25 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c11de2..fc36d22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,31 @@ All notable changes to this project will be documented in this file, per [the Ke ### Security --> +## [2.0.0] - 2023-07-23 + +**Note that this version changes minimum required versions of:** + +* [WordPress](https://wordpress.org): 6.0+ +* [PHP](https://php.net/): 7.2+ +* [Contact Form 7](https://wordpress.org/plugins/contact-form-7/): 5.7+ + +This release marks the (slow) resumption of this plugin development. If you want to know more about it check out [this blog post](https://felipeelia.dev/contact-form-7-repeatable-fields-2-0-0/). If you find this plugin useful, consider leaving it [a review](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/#new-post). + +### Added + +* Support to [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). See 6db4e08. +* `group_id` as a parameter to all filters. See #51. +* Very basic unit testing. See #52. + +### Changed + +* Linting tools and script build process. See 6db4e08. +* Docs were migrated to [GitHub wiki](https://github.com/felipeelia/cf7-repeatable-fields/wiki). See 14fdd49. + +### Fixed + +* Validation problem with Contact Form 5.7+. Props [@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/) via [this comment](https://wordpress.org/support/topic/compatibility-issues-with-cf7-5-7/#post-16588238) - added in 6db4e08. + ## [1.1.3] - 2019-12-11 * Update WP `Tested up to` field @@ -46,7 +71,8 @@ All notable changes to this project will be documented in this file, per [the Ke * Initial release -[Unreleased]: https://github.com/felipeelia/cf7-repeatable-fields/compare/1.1.3...trunk +[Unreleased]: https://github.com/felipeelia/cf7-repeatable-fields/compare/2.0.0...trunk +[2.0.0]: https://github.com/felipeelia/cf7-repeatable-fields/compare/1.1.3...2.0.0 [1.1.3]: https://github.com/felipeelia/cf7-repeatable-fields/compare/1.1.2...1.1.3 [1.1.2]: https://github.com/felipeelia/cf7-repeatable-fields/compare/1.1.1...1.1.2 [1.1.1]: https://github.com/felipeelia/cf7-repeatable-fields/compare/1.1...1.1.1 diff --git a/readme.txt b/readme.txt index 254d25b..8bd21eb 100644 --- a/readme.txt +++ b/readme.txt @@ -68,6 +68,31 @@ Yes! Give a look at the [Frequently Asked Questions](https://github.com/felipeel == Changelog == += 2.0.0 - 2023-07-23 = + +**Note that this version changes minimum required versions of:** + +* [WordPress](https://wordpress.org): 6.0+ +* [PHP](https://php.net/): 7.2+ +* [Contact Form 7](https://wordpress.org/plugins/contact-form-7/): 5.7+ + +This release marks the (slow) resumption of this plugin development. If you want to know more about it check out [this blog post](https://felipeelia.dev/contact-form-7-repeatable-fields-2-0-0/). If you find this plugin useful, consider leaving it [a review](https://wordpress.org/support/plugin/cf7-repeatable-fields/reviews/#new-post). + +__Added:__ + +* Support to [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). +* `group_id` as a parameter to all filters. +* Very basic unit testing. + +__Changed:__ + +* Linting tools and script build process. +* Docs were migrated to [GitHub wiki](https://github.com/felipeelia/cf7-repeatable-fields/wiki). + +__Fixed:__ + +* Validation problem with Contact Form 5.7+. Props [@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/). + = 1.1.3 - 2019-12-11 = * Update WP `Tested up to` field From efe405e819cbf3cf7612cf56b95c56c95eddc59e Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Sun, 23 Jul 2023 16:25:19 -0300 Subject: [PATCH 2/4] Add links to changelog --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc36d22..2e6d3c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,18 +25,18 @@ This release marks the (slow) resumption of this plugin development. If you want ### Added -* Support to [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). See 6db4e08. -* `group_id` as a parameter to all filters. See #51. -* Very basic unit testing. See #52. +* Support to [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/). See [6db4e08](https://github.com/felipeelia/cf7-repeatable-fields/commit/6db4e08). +* `group_id` as a parameter to all filters. See [#51](https://github.com/felipeelia/cf7-repeatable-fields/pull/51). +* Very basic unit testing. See [#52](https://github.com/felipeelia/cf7-repeatable-fields/pull/52). ### Changed -* Linting tools and script build process. See 6db4e08. -* Docs were migrated to [GitHub wiki](https://github.com/felipeelia/cf7-repeatable-fields/wiki). See 14fdd49. +* Linting tools and script build process. See [6db4e08](https://github.com/felipeelia/cf7-repeatable-fields/commit/6db4e08). +* Docs were migrated to [GitHub wiki](https://github.com/felipeelia/cf7-repeatable-fields/wiki). See [14fdd49](https://github.com/felipeelia/cf7-repeatable-fields/commit/14fdd49). ### Fixed -* Validation problem with Contact Form 5.7+. Props [@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/) via [this comment](https://wordpress.org/support/topic/compatibility-issues-with-cf7-5-7/#post-16588238) - added in 6db4e08. +* Validation problem with Contact Form 5.7+. Props [@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/) via [this comment](https://wordpress.org/support/topic/compatibility-issues-with-cf7-5-7/#post-16588238) - added in [6db4e08](https://github.com/felipeelia/cf7-repeatable-fields/commit/6db4e08). ## [1.1.3] - 2019-12-11 From c1f05bcb65bff81115018a8fb0ad0b85bc0a8497 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Sun, 23 Jul 2023 16:30:49 -0300 Subject: [PATCH 3/4] Add credits --- .distignore | 1 + CREDITS.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 CREDITS.md diff --git a/.distignore b/.distignore index 5cf03a5..ef30458 100644 --- a/.distignore +++ b/.distignore @@ -18,6 +18,7 @@ phpcs.xml README.md CODE_OF_CONDUCT.md CONTRIBUTING.md +CREDITS.md .wp-env.json .husky diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 0000000..55848a0 --- /dev/null +++ b/CREDITS.md @@ -0,0 +1,24 @@ +# Credits + +The following acknowledges the Maintainers for this repository, those who have Contributed to this repository (via bug reports, code, design, ideas, project management, translation, testing, etc.), and any Libraries utilized. + +## Maintainers + +The following individual is responsible for curating the list of issues, responding to pull requests, and ensuring regular releases happen: + +[Felipe Elia (@felipeelia)](https://github.com/felipeelia). + +## Contributors + +Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, testing, etc. + +[Bertrand Guay-Paquet (@berniegp)](https://github.com/berniegp), +[Matthew Harris (@rtpHarry)](https://github.com/rtpHarry), +and +[@sfdeveloper](https://profiles.wordpress.org/sfdeveloper/). + +## Libraries + +The following software libraries are utilized in this repository. + +N/A. \ No newline at end of file From 2655c5c03d32bd684fbd297ffa4b8c8a57db5b8a Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Sun, 23 Jul 2023 16:32:50 -0300 Subject: [PATCH 4/4] Update .pot file --- CONTRIBUTING.md | 2 +- languages/cf7-repeatable-fields.pot | 53 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 languages/cf7-repeatable-fields.pot diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab28da9..e5a9e57 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,7 +32,7 @@ The `trunk` branch is the main branch and contains all new code to be released i 1. Props: Update `CREDITS.md` file with any new contributors, confirm maintainers are accurate. 1. Readme updates: Make any other readme changes as necessary. `README.md` is geared toward GitHub and `readme.txt` contains WordPress.org-specific content. The two are slightly different. 1. New files: Check to be sure any new files/paths that are unnecessary in the production version are included in `.distignore`. -1. POT file: Run `wp i18n make-pot . lang/cf7-repeatable-fields.pot` and commit the file. In case of errors, try to disable Xdebug (see [this comment](https://github.com/10up/ElasticPress/pull/3079#issuecomment-1291028290).) +1. POT file: Run `wp i18n make-pot . languages/cf7-repeatable-fields.pot` and commit the file. In case of errors, try to disable Xdebug (see [this comment](https://github.com/10up/ElasticPress/pull/3079#issuecomment-1291028290).) 1. Release date: Double check the release date in both changelog files. 1. Merge: Merge the release branch/PR into `trunk`. 1. Test: Run `git pull origin trunk` and test for functionality locally. diff --git a/languages/cf7-repeatable-fields.pot b/languages/cf7-repeatable-fields.pot new file mode 100644 index 0000000..3a32987 --- /dev/null +++ b/languages/cf7-repeatable-fields.pot @@ -0,0 +1,53 @@ +# Copyright (C) 2023 Felipe Elia +# This file is distributed under the GPLv2 or later. +msgid "" +msgstr "" +"Project-Id-Version: Contact Form 7 - Repeatable Fields 2.0.0\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cf7-repeatable-fields\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2023-07-23T19:32:06+00:00\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"X-Generator: WP-CLI 2.7.1\n" +"X-Domain: cf7-repeatable-fields\n" + +#. Plugin Name of the plugin +msgid "Contact Form 7 - Repeatable Fields" +msgstr "" + +#. Plugin URI of the plugin +msgid "https://github.com/felipeelia/cf7-repeatable-fields" +msgstr "" + +#. Description of the plugin +msgid "An add-on plugin for Contact Form 7 that adds a repeatable group of fields functionality." +msgstr "" + +#. Author of the plugin +msgid "Felipe Elia" +msgstr "" + +#. Author URI of the plugin +msgid "https://felipeelia.dev/" +msgstr "" + +#. translators: 1: Plugin name; 2: Contact Form 7 link +#: cf7-repeatable-fields.php:53 +msgid "In order to %1$s work, %2$s needs to be installed and activated." +msgstr "" + +#: cf7-repeatable-fields.php:55 +msgid "Contact Form 7" +msgstr "" + +#: cf7-repeatable-fields.php:64 +msgid "Do it now?" +msgstr "" + +#. translators: Format to use surrounded by code tag +#: class-cf7-repeatable-fields.php:82 +msgid "You need to set an ID to this group. Use %s format." +msgstr ""