Skip to content

Commit fc7b612

Browse files
github-actions[bot]nlemoine
authored andcommitted
chore(main): release 1.0.0
1 parent dfbb928 commit fc7b612

5 files changed

Lines changed: 52 additions & 4 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.5.0"
2+
".": "1.0.0"
33
}

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Changelog
2+
3+
## [1.0.0](https://github.com/nlemoine/page-for-custom-post-type/compare/0.5.0...1.0.0) (2026-05-08)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* migrate pre-1.0 installs to opt-in use_slug
9+
* Refactor plugin
10+
11+
### Features
12+
13+
* Add body class filtering for custom post type pages ([2799975](https://github.com/nlemoine/page-for-custom-post-type/commit/27999757e2a22a9b1166597461cce35a796dd029)), closes [#8](https://github.com/nlemoine/page-for-custom-post-type/issues/8)
14+
* Add coverage for WPML in QA workflow ([649739d](https://github.com/nlemoine/page-for-custom-post-type/commit/649739dfb2030104db014b7c5a4df3421e0638aa))
15+
* Add integration for The SEO Framework with custom ACF location rules and breadcrumbs ([ba8e6fe](https://github.com/nlemoine/page-for-custom-post-type/commit/ba8e6fe0d4ed18ea4324783f73a49195d02fa398))
16+
* Add WPML integration ([3436613](https://github.com/nlemoine/page-for-custom-post-type/commit/34366132cd554183f0e5295b8add66baf3569893))
17+
* clean up plugin options on uninstall ([7654442](https://github.com/nlemoine/page-for-custom-post-type/commit/76544422c96db33e5c9a89310bf3157f7da73218))
18+
* Enhance coverage generation with additional test suites and merge functionality ([ea298fd](https://github.com/nlemoine/page-for-custom-post-type/commit/ea298fd55b62b695b706f2f291160e75e92ec814))
19+
* Enhance integration tests for Polylang and Yoast SEO by clearing caches and ensuring indexables ([936b8de](https://github.com/nlemoine/page-for-custom-post-type/commit/936b8de4dd065bf014d94a8737fb5b4d9da1e24b))
20+
* Enhance Polylang integration by setting default language for pages and cleaning up global state in tests ([a245d79](https://github.com/nlemoine/page-for-custom-post-type/commit/a245d79a33784fdd0246c27fdc20b86de0507e0c))
21+
* Enhance Yoast SEO integration with targeted fix for page detection logic ([3aaeaf5](https://github.com/nlemoine/page-for-custom-post-type/commit/3aaeaf58048f25abfee6c70620dbc6d332263c81))
22+
* Ensure default language is set for Polylang to prevent TypeError in post creation ([b4505db](https://github.com/nlemoine/page-for-custom-post-type/commit/b4505db4b9c55c2db274f1c15bb65e2a408390cb))
23+
* i18n with .pot file generation ([a01dcb9](https://github.com/nlemoine/page-for-custom-post-type/commit/a01dcb969f5ec86ac55c1c020c3ce1e8cc0de797))
24+
* Improve integration tests by ensuring taxonomy registration and updating Polylang language setup ([f845ff8](https://github.com/nlemoine/page-for-custom-post-type/commit/f845ff8b21428a3a43108c99e6b71c76e4513e18))
25+
* Improve permalink handling in dropdown and set default language for Polylang ([84125ec](https://github.com/nlemoine/page-for-custom-post-type/commit/84125ecd60b37efea0c8253564908cb6a2d540f9))
26+
* improve PHPStan ([a951c02](https://github.com/nlemoine/page-for-custom-post-type/commit/a951c023361a12e32a6c2cf9d681860ad74da703))
27+
* improve PHPStan ([549594f](https://github.com/nlemoine/page-for-custom-post-type/commit/549594f9f708cabff918a3758655a76e738bf54d))
28+
* Improve type safety and error handling across various components ([1187447](https://github.com/nlemoine/page-for-custom-post-type/commit/11874476f78bd11e0955f7f22833f683ce110462))
29+
* migrate pre-1.0 installs to opt-in use_slug ([86a25c1](https://github.com/nlemoine/page-for-custom-post-type/commit/86a25c169c658e112a0146f7a5faa7a5d3359d5c))
30+
* Refactor language setup in tests to use PLL()->model directly for improved reliability ([4791882](https://github.com/nlemoine/page-for-custom-post-type/commit/4791882a9be7b009707f3d7cc61093d4b902166e))
31+
* Refactor plugin ([736a7e4](https://github.com/nlemoine/page-for-custom-post-type/commit/736a7e49c0b5e2e535ad76f100d1d9f4a0ce3cc2))
32+
* Set up Polylang languages in tests to prevent TypeError during post creation ([7084b02](https://github.com/nlemoine/page-for-custom-post-type/commit/7084b0201cca7cf89a2358c242ee82dd0d42035d))
33+
* Update function calls to use namespaced versions for improved clarity and maintainability ([a42e71d](https://github.com/nlemoine/page-for-custom-post-type/commit/a42e71d4e1971edc4409c06afa13a0c984834e80))
34+
* Update integration tests to include WordPress version matrix and improve error handling ([a5ce2cf](https://github.com/nlemoine/page-for-custom-post-type/commit/a5ce2cf8bca5a63deeb61eb2d23352cf31dae354))
35+
* Update page slug display in dropdown and improve related descriptions for SEO impact ([ddcd5f5](https://github.com/nlemoine/page-for-custom-post-type/commit/ddcd5f53c6b03f1976bc4f97277508dc325eb438))
36+
* Update README for clarity and enhance bootstrap process for Polylang integration ([cc6f2b9](https://github.com/nlemoine/page-for-custom-post-type/commit/cc6f2b9680f568eab9e0ececa276dfd2aa25df74))
37+
* warn before slug changes for assigned CPT pages ([ca1113e](https://github.com/nlemoine/page-for-custom-post-type/commit/ca1113effbe96e3c3ccd919407bc8c6b9b8d2e1a))
38+
39+
40+
### Bug Fixes
41+
42+
* Flush rewrite rules on any permalink-affecting page update ([d151975](https://github.com/nlemoine/page-for-custom-post-type/commit/d1519758bba749bf13b5aa3c7ed1e6052837142b))
43+
* reset Migrator CURRENT_VERSION to the last released version ([dfbb928](https://github.com/nlemoine/page-for-custom-post-type/commit/dfbb928c7c7206756ed5301f3c895de6ed1e1837))
44+
* use block markers for the Migrator version constant ([9f51bc2](https://github.com/nlemoine/page-for-custom-post-type/commit/9f51bc2b7738fd4d4f1314957fbd4ffc3b2b082a))
45+
* use constant ([08b2903](https://github.com/nlemoine/page-for-custom-post-type/commit/08b29038170b128f3216ad585528d0771aea8e5b))
46+
* wpseo ([a26d8ed](https://github.com/nlemoine/page-for-custom-post-type/commit/a26d8eda007437403f97d5059c183490562e7587))
47+
* wpseo ([35c984b](https://github.com/nlemoine/page-for-custom-post-type/commit/35c984bcdc5e75efec7dc75a72b6d6927b0beee0))
48+
* wpseo ([3fda593](https://github.com/nlemoine/page-for-custom-post-type/commit/3fda593e49e74ba93d4a8db0d11b60332540c648))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "page-for-custom-post-type",
3-
"version": "0.5.0",
3+
"version": "1.0.0",
44
"private": true,
55
"description": "Editor scripts for the Page for custom post type WordPress plugin",
66
"packageManager": "pnpm@10.33.0",

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Plugin URI: https://github.com/nlemoine/page-for-custom-post-type
66
* Description: Allows you to set pages for any custom post type archive
77
* x-release-please-start-version
8-
* Version: 0.5.0
8+
* Version: 1.0.0
99
* x-release-please-end
1010
* Author: Nicolas Lemoine
1111
* Author URI: https://n5s.dev/

src/Lifecycle/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class Migrator
1616
{
1717
private const DB_VERSION_OPTION = 'pfcpt_db_version';
1818
// x-release-please-start-version
19-
private const CURRENT_VERSION = '0.5.0';
19+
private const CURRENT_VERSION = '1.0.0';
2020
// x-release-please-end
2121

2222
public function migrate(): void

0 commit comments

Comments
 (0)