Skip to content

Commit 1f04495

Browse files
committed
update doc
1 parent 8a4a697 commit 1f04495

2 files changed

Lines changed: 400 additions & 303 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 326 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,326 @@
1+
# Changelog
2+
3+
Change history for **BEA - Content Sync Fusion**, a WordPress multisite plugin for content synchronization.
4+
5+
Entries are preserved from the project’s historical changelog.
6+
7+
## [3.13.0]
8+
9+
* Update quality tools
10+
* Apply PHPCS and compat for PHP 8.0 on all plugin
11+
12+
## [3.12.8]
13+
14+
* Fixed: Add $post argument to `preview_post_link` filter callback.
15+
16+
## [3.12.7]
17+
18+
* Fixed: Add missing argument `--alternativeq` in cronjob script.
19+
20+
## [3.12.6]
21+
22+
* Security: Added prepared statements to previously vulnerable SQL queries to enhance database security.
23+
24+
## [3.12.5]
25+
26+
* Fixed: Ensure variables are not empty arrays before use
27+
28+
## [3.12.4]
29+
30+
* Fixed: Ensure an array key exists to prevent a warning
31+
32+
## [3.12.3]
33+
34+
* Fixed: Ensure manipulating an array when using `is_array()` (fatal error with PHP 8+)
35+
36+
## [3.12.2]
37+
38+
* Added: Add compatibility with Members metaboxes
39+
40+
## [3.12.1]
41+
42+
* Changed: Order terms hierarchically when doing a resync
43+
44+
## [3.12.0]
45+
46+
* Added: Add compatibility with Yoast SEO meta images.
47+
48+
## [3.11.0]
49+
50+
* Fixed: Delete content one uncheck manual admin metabox
51+
52+
## [3.10.0]
53+
54+
* Performance: Do not flush object cache after each pull of content, this needs to be manually done. The query cache layer is cleared/added on right actions.
55+
* Added: Allow to pass non positionnal arguments to the cron query.
56+
* Added: Add each command missing phpdocbloc.
57+
* Added: Allow to filter the `fields` field before inserting it.
58+
59+
## [3.9.11]
60+
61+
* Fixed: Warning when merging taxonomies
62+
63+
## [3.9.10]
64+
65+
* Fixed: Clean cache when a site is deleted
66+
67+
## [3.9.9]
68+
69+
* Changed: Order terms by ID when doing a resync
70+
71+
## [3.9.8]
72+
73+
* Fixed: Replace comma with the AND keyword in SQL queries
74+
75+
## [3.9.7]
76+
77+
* Added: Add the cast for the arguments of the method
78+
79+
## [3.9.6]
80+
81+
* Fixed: Fix a bug by ensure `post_name` is set with `wp_post_update()` instead `wp_publish_post()`
82+
* Added: object cache on relations
83+
84+
## [3.9.5]
85+
86+
* Fixed: #136 When post does not exists on filter `bea_csf.server.xxxx.merge`
87+
* Updating composer.json allowed plugin
88+
89+
## [3.9.4]
90+
91+
* Fixed: Change the return type of `attachment_fields_to_edit` to array to match the filter type attended
92+
* Added: Add the minimum WordPress version to plugin header
93+
94+
## [3.9.3]
95+
96+
* Fixed: Correction of the syntax for the creation of the relations table. (Missing commas)
97+
98+
## [3.9.2]
99+
100+
* Feature: Added synchronization of Gutenberg ACF blocks
101+
* Fixed: Remove double all on admin widget
102+
103+
## [3.9.1]
104+
105+
* Enhancement: Add new indexes to speedup the queries on receivers and emitters queries.
106+
107+
## [3.9]
108+
109+
* Feature: New `exclude_default` mode for attachments. Excludes attachments from the default synchronization and adds a meta box to include them.
110+
* Added: Add `--posttype=true`, `--taxonomies=true` and `--attachments=true` arguments for the flush site command
111+
* Changed: Update of the .pot file and the FR translations
112+
* Fixed: Fix warning on term has no view (`publicly_queryable=false`)
113+
* Fixed: Fixed warning for `deletes_tag` and `taxonomy` values that are undefined.
114+
115+
## [3.8.2]
116+
117+
* Added: Hook to change ID on `save_post` (for revisionary metabox)
118+
* Fixed: fix a bug on delete sync term by remove relation
119+
* Fixed: fix a bug with encode chars with `get_the_title`
120+
* Fixed: fix a fatal error with attrs or inner content null for gutenberg
121+
* Fixed: fix parent on term exist function for polylang
122+
* Fixed: fix a bug with same terms slugs for polylang
123+
* Fixed: fix wrong type when checking for attachment parent
124+
* Changed: handle the alternate queue if argument passed for cronjob
125+
* Changed: bump tools
126+
127+
## [3.8.1]
128+
129+
* Fixed: fix a possible bug with nested calls to `switch_to_blog()`
130+
* Fixed: fix a bug with escapging data & gurenberg (thanks @petitphp)
131+
* Added: Add tools for testing (thanks @Rahe)
132+
133+
## [3.8]
134+
135+
* Fixed: fix terms synchronization, a bug introduced on 3.0.1
136+
* Added: Add tooling for quality (phpcs/cbf/psalm)
137+
* Added: New algorithm for reciprocal relations, or derivated relations
138+
* Changed: Update JavaScript libraries
139+
* Removed: old PHP libraries
140+
* Removed: custom flag & custom fields columns on relation object
141+
142+
## [3.7]
143+
144+
* Feature: full support of Gutenberg
145+
* Improvement: Polylang addon (slug conflict)
146+
* Improvement: Restriction for terms
147+
148+
## [3.6]
149+
150+
* Feature: add new CLI command for mirror 2 sites on network, populate relations, useful after a site duplication
151+
* Feature: full support of Polylang
152+
* Feature: add support of ACF group field
153+
* Feature: add some new filter for capibility check `bea_csf_taxonomy_caps` / `bea_csf_post_caps`
154+
* Bugfix: fix canonical feature for WPseo
155+
* Bugfix: save db version on network ID : 1, instead 0 (not exists)
156+
* Bugfix: fix potential loop with ACF/`save_post` hook on rare case
157+
158+
## [3.5.1] — 02 March 2020
159+
160+
* Feature: add Polylang addon (thanks to @asadowski10)
161+
* Improvement: add filters to allow emitter posts lock on receiver blog
162+
* Improvement: add filter to admin metabox
163+
164+
## [3.5.0] — 07 August 2019
165+
166+
* Feature: Add WooCommerce addon (support product, product variations)
167+
* Change: add a column on queue table (**you must desactive AND reactive plugin on network**)
168+
* Bugfix: fix a bug with `post_parent` sync
169+
* Bugfix: fix unwanted publication with pending status
170+
* Bugfix: fix a bug with manual mode and gutenberg, with unwanted publication on all sites
171+
* Bugfix: fix a bug with publish/unpublish/publish sequences
172+
173+
## [3.4.7] — 17 November 2018
174+
175+
* Bugfix: Create relation when a term already exists with the same on target
176+
177+
## [3.4.6] — 16 November 2018
178+
179+
* New: add `--quantity` param for WP-CLI `content-sync-fusion queue pull` method
180+
* Bugfix: Manage fatal error for media sync on specific case
181+
* Bugfix: Fix notices/warning PHP with admin restriction feature
182+
183+
## [3.4.5] — 3 October 2018
184+
185+
* Bugfix: Deleting a debug condition that checks the structure of the table all the time and therefore loss of performance ...
186+
187+
## [3.4.4] — 2 October 2018
188+
189+
* Changes: rename 2 hooks name for extend post status for publish/delete
190+
* Improvement: improve performance for bash CRON with smart param
191+
* New: add `--smart=true` param for WP-CLI resync command for improve performance by loop on only emitters blogs from synchronization settings
192+
193+
## [3.4.3] — 1 October 2018
194+
195+
* Bugfix: A bug occurred when post is delete, only the first blog work, an orphan is generated for others blogs (introduced on 3.0.1)
196+
* Improvement: replace error message by warning message on WP-CLI commands
197+
* Improvement: some code styling / strict tests
198+
199+
## [3.4.2.1] — 26 September 2018
200+
201+
* Bugfix: Stop to kill CRON process when an error is occurred
202+
203+
## [3.4.2] — 26 September 2018
204+
205+
* Bugfix: trash post is now functionnal (item is deleted from synchro)
206+
207+
## [3.4.1] — 24 September 2018
208+
209+
* Feature: add WP-CLI command for get URL of sites with contents synchronized (flush part)
210+
211+
## [3.4.0] — 20 September 2018
212+
213+
* Feature: A full refactoring for the bash script to be use with cronjob
214+
* **MAJOR Bugfix**: stop to delete emitter file when media is deleted from a receiver
215+
* Bugfix: allow DB schema change with WP-CLI
216+
* Bugfix: priorize the synchro in this order: Terms, Attachments and after post type
217+
* Improvement: some code styling
218+
219+
## [3.3.2] — September 2018
220+
221+
* Bugfix: Allow progressbar to be accurate for the resync command
222+
* Bugfix: Make the synchronization of terms with parents using the parent receiver id
223+
224+
## [3.3.1] — July 2018
225+
226+
* Feature: add WP-CLI command get queue status, stats
227+
* Feature: add WP-CLI command for get URL of sites with contents need sync (better performance)
228+
229+
## [3.3] — July 2018
230+
231+
* Feature: Add param for allow resync for specific receivers on WP-CLI commands
232+
* Feature: Allow initial sync content during site creation (async process)
233+
234+
## [3.2.2] — June 2018
235+
236+
* Feature: Allow use hidden (not public) taxonomy
237+
238+
## [3.2.1] — June 2018
239+
240+
* Feature: Add a constant for allow deactivate media synchro
241+
242+
## [3.2] — November–December 2017 → April 2018
243+
244+
* Feature: BREAKING, remove old bootstrap script for CRON, now use WP-CLI commands
245+
* Feature: SEO, add a canonical for synchronized contents to original content
246+
* Feature: Allow media library shared without files duplication or symlinks
247+
* Feature: add support for ACF plugin and support complex fields
248+
* Feature: add support for Revisionize plugin
249+
* Feature: add support for Multisite Clone Duplicator plugin
250+
* Feature: add support for The Events Calendar plugins (event/tickets/locations)
251+
* Feature: add a selector on admin for filter local or remote contents
252+
* Feature: add a "internal admin notes" into metabox
253+
* Feature: add a WP-CLI command for allow migration from old plugin version
254+
* Feature: add an "all" option for emitters and receivers
255+
* Feature: allow to exclude some ACF fields or ACF group fields or ACF repeater/flexible fields from future updates
256+
* Bugfix: fix index length for utf8mb4
257+
* Bugfix: delete relation from custom table when a post is deleted
258+
* Bugfix: deenqueue non-existent css on admin
259+
* Bugfix: Fix compat with old WP version before 4.6
260+
* Bugfix: Fix code register synchros
261+
262+
## [3.0.8] — 30 October 2017
263+
264+
* Feature: Allow to exclude a content for future updates, useful when restriction is deactivated
265+
266+
## [3.0.7] — 20 October 2017
267+
268+
* Fix P2P synchronization
269+
* Fix resync all content tools for CPT excluded from search
270+
271+
## [3.0.6] — 15 October 2017
272+
273+
* Add Post Type Order addon.
274+
275+
## [3.0.5] — 7 October 2017
276+
277+
* Allow content resync during blog/site creation
278+
* Refactoring code for all CLI tools
279+
* Add blog widget for counter info, and add button for force sync
280+
* Fix media sync, use a shared folder between blogs
281+
* Add link action for "resync content" into sites list
282+
* Add button on queue network page for exec CRON (for debug usage)
283+
* Fix restriction for attachment
284+
* Update POT/POT
285+
* Use string for i18n instead PHP constant
286+
287+
## [3.0.4] — 27 September 2017
288+
289+
* Fix display admin emitters / receivers column
290+
291+
## [3.0.3] — 27 September 2017
292+
293+
* Fix infinite loop insertion for taxonomies
294+
295+
## [3.0.2] — 5 September 2017
296+
297+
* Handle multiple networks for admin option
298+
299+
## [3.0.1] — 26 July 2017
300+
301+
* Fix unserialised datas of media after synch
302+
* Fix conflict with polylang on sync terms
303+
304+
## [3.0.0] — 29 June 2017
305+
306+
* Work only on relations table, do not use old meta `_origin_key`
307+
* Synchronisations are bidirectional
308+
* Remove old code from notifications
309+
310+
## [2.0.2]
311+
312+
* Add filter `bea_csf.client.post_type.allow_bidirectional_sync` to allow bidirectional synchronization
313+
314+
## [2.0.1]
315+
316+
* Fix P2P synchronization
317+
318+
## [2.0.0]
319+
320+
* Remove media synchronization using symlink. Use shared uploads folder.
321+
* Remove old code for old term meta API.
322+
* Use `term_id` instead `tt_id`.
323+
324+
## [1.1]
325+
326+
* Stable version using WordPress metadata API for Taxonomy.

0 commit comments

Comments
 (0)