-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.txt
496 lines (397 loc) · 21.1 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
*** Xero Integration ***
2024-11-04 - version 1.9.1
* Fix - Prevent fatal errors in the Xero connection process and enhance error handling.
* Dev - Bump WordPress "tested up to" version 6.7.
* Dev - Bump WordPress minimum supported version to 6.5.
2024-10-14 - version 1.9.0
* Fix - Use a separate country list for the report tax type when creating a tax rate in Xero.
* Dev - Update secret key encryption to use the Sodium library for token encryption.
* Dev - Upgrade the `xeroapi/xero-php-oauth2` SDK from version 2.20.0 to version 7.2.0.
* Dev - Bump WooCommerce "tested up to" version 9.4.
* Dev - Bump WooCommerce minimum supported version to 9.2.
* Dev - Bump WordPress minimum supported version to 6.5.
* Dev - Remove Xero OAuth 1.0 Authentication as it is fully deprecated.
2024-08-19 - version 1.8.9
* Fix - PHPCompatibility errors reported by the QIT test.
* Dev - Bump WooCommerce "tested up to" version 9.2.
* Dev - Bump WooCommerce minimum supported version to 9.0.
* Dev - Fix QIT E2E tests and add support for a few new test types.
2024-07-22 - version 1.8.8
* Dev - Bump WooCommerce "tested up to" version 9.1.
* Dev - Bump WooCommerce minimum supported version to 8.9.
* Dev - Bump WordPress "tested up to" version 6.6.
* Dev - Exclude the Woo Comment Hook `@since` sniff.
2024-07-01 - version 1.8.7
* Dev - Bump WooCommerce "tested up to" version 9.0.
* Dev - Bump WooCommerce minimum supported version to 8.8.
* Dev - Bump WordPress minimum supported version to 6.4.
* Dev - Update NPM packages and node version to v20 to modernize developer experience.
2024-05-20 - version 1.8.6
* Dev - Bump WooCommerce "tested up to" version 8.9.
* Dev - Bump WooCommerce minimum supported version to 8.7.
* Update - Link to the WooCommerce log section instead of to the local file path.
2024-03-25 - version 1.8.5
* Add - Filters to adjust supported countries for Report Tax Type.
* Add - Support for US, South Africa, and Malta as Report Tax Type.
* Add - Declare Product Editor compatibility.
* Dev - Bump WooCommerce "tested up to" version 8.7.
* Dev - Bump WooCommerce minimum supported version to 8.5
* Dev - Bump WordPress "tested up to" version 6.5.
2024-01-22 - version 1.8.4
* Add - Masked the client ID and client secret fields to add an extra layer of confidentiality and protection.
* Dev - Bump WooCommerce "tested up to" version 8.5.
* Dev - Bump WooCommerce minimum supported version to 8.3.
* Dev - Bump WordPress minimum supported version to 6.3.
2024-01-08 - version 1.8.3
* Add - Indicate compatibility with WooPayments extension.
* Add - Indicate compatibility with WooCommerce Blocks.
* Dev - Update PHPCS and PHPCompatibility GitHub Actions.
* Dev - Bump WooCommerce "tested up to" version 8.4.
* Dev - Bump WooCommerce minimum supported version to 8.2.
* Dev - Bump PHP minimum supported version to 7.4.
* Fix - Resolved PHP deprecation warnings on `strpos` and `preg_replace`.
* Tweak - Bump PHP "tested up to" version 8.3.
2023-12-11 - version 1.8.2
* Dev - Added critical flows end-to-end tests.
* Dev - Bump Woocommerce Requires at least 8.1.
* Dev - Bump Woocommerce Tested up to version 8.3.
* Dev - Bump WordPress "tested up to" version 6.4.
* Dev - Bump WordPress minimum supported version to 6.2.
* Fix - Ensure that the invoice is sent to Xero "on order creation" when an order is placed through the block-based checkout.
* Fix - Salt rotation issue affecting encrypted keys.
2023-09-18 - version 1.8.1
* Dev - Add Playwright end-to-end tests.
2023-08-28 - version 1.8.0
* Add - Ensure order ID is included in the reference field.
* Dev - Bump PHP minimum supported version from 7.2 to 7.3.
* Dev - Bump WooCommerce "tested up to" version 8.0.
* Dev - Bump WooCommerce minimum supported version from 7.2 to 7.8.
* Dev - Bump WordPress "tested up to" version from 6.2 to 6.3.
* Fix - Tax matches for the same tax rate and the same tax name.
2023-07-18 - version 1.7.58
* Dev - Bump WooCommerce "tested up to" version 7.8.
* Dev - Bump WooCommerce minimum supported version from 6.8 to 7.2.
* Dev - Bump WordPress minimum supported version from 5.8 to 6.1.
* Dev - Resolve coding standards issues.
* Dev - Added new GitHub Workflow to run Quality Insights Toolkit tests.
2023-05-12 - version 1.7.57
* Dev - Bump WooCommerce "tested up to" version 7.6.
* Dev - Bump WordPress "tested up to" version 6.2.
* Dev - Bump WordPress minimum supported version from 5.7 to 5.8.
2023-03-13 - version 1.7.56
* Add - Support for Xero's Ultimate plan.
* Add - Support for caching API requests for 60 seconds.
* Add - Support for queuing API requests to avoid Rate Limit errors.
* Dev - Bump PHP minimum supported version from 7.0 to 7.2.
* Dev - Bump WooCommerce "tested up to" version 7.4.
* Dev - Bump WooCommerce minimum supported version from 6.0 to 6.8.
* Dev - Bump `xeroapi/xero-php-oauth2` from 1.0 to 2.20.
* Dev - Implement `brianhenryie/strauss` v0.13.0 to prefix namespace in `xeroapi/xero-php-oauth2` package.
* Fix - Filter accumulation for sequential Invoice requests.
* Fix - PHP Warnings when sending an invoice to Xero.
2023-01-27 - version 1.7.55
* Dev - Bump `clean-css-cli` from 5.6.1 to 5.6.2.
* Tweak - Bump WooCommerce tested up to 7.3.
* Tweak - Bump tested up to WordPress version 6.1.
* Tweak - Improve SSL certificate verification.
2023-01-17 - version 1.7.54
* Bump tj-actions/changed-files from 34 to 35.
* Dev - Bump `codedungeon/phpunit-result-printer` from 0.5.0 to 0.9.3.
* Dev - Bump `node-sass` from 7.0.3 to 8.0.0.
* Dev - Bump `node-wp-i18n` from 1.2.6 to 1.2.7.
* Dev - Bump `phpunit/phpunit` from 6.5.9 to 6.5.14.
* Tweak - Add links to extension requirements on the settings page.
2022-12-20 - version 1.7.52
* Bump actions/checkout from 2 to 3.
* Bump actions/upload-artifact from 2 to 3.
* Bump tj-actions/changed-files from 19 to 34.
* Fix - Validate store supports SSL before loading plugin features.
* Tweak - WC 7.2.1 compatibility.
* Update - Plugin minimum WordPress dependency update to `5.7`.
2022-11-23 - version 1.7.51
* Add - Declare compatibility for High-performance Order Systems ("HPOS").
* Add - Option to enable/disable use of customer email in the contact name.
* Change - Ensure tokens are encrypted before we store them.
2022-11-01 - version 1.7.50
* Add - Support for Subscriptions with WooCommerce Payments.
2022-10-11 - version 1.7.49
* Fix - Ensure prices and discounts use the same precision value, to avoid Xero errors where the discount is more than the total price.
* Tweak - For variable products, remove item meta from the item description when sending to Xero.
2022-09-20 - version 1.7.48
* Fix - Switched direct postmeta calls to CRUD calls to prepare for COT.
2022-09-13 - version 1.7.47
* Fix - Authentication failed notice when fetching Branding Themes.
* Fix - Ensure shipping tax rates are assigned correctly in the Xero invoice.
2022-08-24 - version 1.7.46
* Add - A new setting to select a Xero Branded Theme template to attach with invoices is introduced.
* Fix - Localization to use 'woocommerce-xero'.
* Fix - Zero tax rate labels not matching issue.
* Tweak - Bump WC tested up to version to 6.7.
* Tweak - Bump minimum PHP version to 7.0.
* Tweak - Bump minimum WC version to 6.0.
* Tweak - Bump minimum WP version to 5.6.
* Tweak - WC 6.8.0 compatibility.
2022-08-23 - version 1.7.45
* Create generate-zip.yml.
* Notice added for **Sales**, **Shipping**, **Fees**, **Payment** and **Rounding** account number input if saved as empty.
* Tweak - WC 6.8.0 compatibility.
2022-08-12 - version 1.7.44
* Added - Support for sending invoice prices inclusive of tax.
* Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
* Fixed: Compatibility issues of Subscription renewal order with Sequential Order Numbers Pro.
* Tweak - Improved error detection for response code 401, 403 and 429.
2022-07-06 - version 1.7.43
* Add - Setting to allow control how fees tax types are handled.
* Fix - Australia tax rates for GST Free Expences matching zero-tax-rate fees.
* Fix - Contact information is overwritten issue by adding an email address in the contact name.
* Fix - Payments not created automatically when orders are paid with Check.
* Fix - Tweak: Removed Unneeded GDPR item.
* Tweak - Bump tested up to WordPress version 6.0.
2022-05-05 - version 1.7.42
* Fix - Tweak: Clarified fees account code and added link to the docs.
* Tweak - Send payment method title as Reference to Xero instead of payment method ID.
2022-02-17 - version 1.7.41
* Fix - Enable translations for Xero.
* Fix - Typo on Xero settings page. .
* Tweak - WC 6.2 compatibility.
* Tweak - WP 5.9 compatibility.
2021-10-20 - version 1.7.40
* Tweak - WC 5.8 compatibility.
* Tweak - WP 5.8 compatibility.
2021-10-04 - version 1.7.39
* Fix - Allow spaces in paths when prefixing vendor namespaces.
* Fix - Ensure the MOSS Sales tax type is matched correctly for shops that use it.
* Fix - Fix: Xero line item discount amount.
* Fix - Set discount amount instead of discount rate to prevent order total mismatch between WooCommerce and Xero.
* Fix - add unique namespace to the Guzzle library to avoid conflicts.
* Tweak - WC 5.7 compatibility.
2021-07-27 - version 1.7.38
* Fix - Add unique namespace to the Guzzle library to avoid conflicts.
2021-02-26 - version 1.7.37
* Fix - Fix the check for the presence of new navigation.
* Tweak - WC 5.0 compatibility.
* Tweak - WP 5.6 compatibility.
2021-02-24 - version 1.7.36
* Add - Menu item to the new WC Navigation.
* Tweak - WC 5.0 compatibility.
* Tweak - WP 5.6 compatibility.
2021-01-20 - version 1.7.35
* Fix - Outdated Settings Link.
* Fix - Skip sending automated invoice updates unless there are really changes in the invoice.
* Tweak - WC 4.9 compatibility.
* Tweak - WP 5.6 compatibility.
2020-11-17 - version 1.7.34
* Fix - Dev - Fix incompatibilities with PHP 8.
* Fix - Dev - Fix unit testing infrastructure.
* Tweak - WC 4.7 compatibility.
2020-08-19 - version 1.7.33
* Tweak - WordPress 5.5 compatibility.
2020-06-23 - version 1.7.32
* Add - Filter order line items with the filter `woocommerce_xero_line_item_product`.
* Tweak - Match closest name when finding tax rates.
2020-06-10 - version 1.7.31
* Tweak - WC 4.2 compatibility.
2020-05-12 - version 1.7.30
* Fix - Matching non-shipping line items with INPUT tax types.
* Tweak - WC 4.1 compatibility.
2020-04-21 - version 1.7.29
* Fix - Shipping line item tax rate returning empty.
* Tweak - Add warning to Debug checkbox regarding personal data.
2020-04-08 - version 1.7.28
* Add - Apply the VAT/Tax Number from order to the linked Xero contact.
* Add - Filter woocommerce_xero_contact_tax_number for VAT/Tax Number assigned to contact.
* Add - Filter woocommerce_xero_vat_number_meta_key for VAT/Tax Number meta lookup.
* Fix - Error sending payment when order contained discounts due to a rounding error.
* Fix - Use billing address to calculate tax for orders with virtual items.
* Tweak - Send 'NONE' as Tax Type if WooCommerce taxes are disabled.
2020-03-30 - version 1.7.27
* Tweak - Remove legacy code.
2020-03-04 - version 1.7.26
* Add - Filter woocommerce_xero_disable_auto_void_invoices to disable voiding of invoices.
* Tweak - WC 4.0 compatibility.
2020-02-13 - version 1.7.25
* Tweak - Do not use php session for OAuth 2.0 authorization setup.
2020-01-22 - version 1.7.24
* New - OAuth2.0 authorization.
* Tweak - WC 3.9 compatibility.
2019-11-05 - version 1.7.23
* Tweak - WC 3.7 compatibility.
2019-10-30 - version 1.7.22
* Fix - Unable to upload public and private key files in WP multisite.
2019-10-08 - version 1.7.21
* Fix - Prevent fatal errors if line item product has been deleted.
2019-09-03 - version 1.7.20
* New - Automatically void Xero invoices if order is refunded.
* New - Add "woocommerce_xero_use_company_name" filter to override the invoice name.
* Tweak - Allow float line item quantity values.
* Tweak - Avoid sending a payment request if order amount is zero.
2019-08-08 - version 1.7.19
* Tweak - WC 3.7 compatibility.
2019-08-01 - version 1.7.18
* Fix - Fatal errors caused by debug logging.
2019-06-11 - version 1.7.17
* Tweak - WC 3.6 compatibility.
* Fix - Orders with no VAT keep appearing as Zero Rated EC Services on Xero.
2018-11-26 - version 1.7.16
* Fix - Shiping taxes are going into their own Tax class instead of the Main tax class.
* Fix - Base shop location was always being used when tax-inclusive pricing set.
2018-10-29 - version 1.7.15
* Fix - Use better precision for rounding calculation.
* Update - Add invoice resend functionality.
* Update - WC 3.5 compatibility.
2018-08-27 - version 1.7.14
* Fix - Payment ID not being saved in db.
2018-07-31 - version 1.7.13
* Fix - Improved key security.
2018-05-29 - version 1.7.12
* Fix - Check for digital goods in order context and not cart context.
2018-05-22 - version 1.7.11
* Fix - Support for Zero Rated EC Services.
* Update - WC 3.4 compatibility.
* Update - Privacy policy notification.
* Update - Export/erasure hooks added.
2017-12-15 - version 1.7.10
* Fix - Fixed fatal error is thrown when marking an order paid via COD as complete.
* Update - WC tested up to version.
2017-05-19 - version 1.7.9
* Fix - Compatbility with Subscriptions where invoice not sending on renewal orders.
* Fix - Send invoice on order payment completion not working.
* Add - Filter to allow manipulation of the tax label name creation. "woocommerce_xero_create_unique_tax_label"
2017-04-04 - version 1.7.8
* Fix - Additional updates for WooCommerce 3.0 compatibility
2017-03-08 - version 1.7.7
* Fix - Do not include order URLs in invoices sent to Xero when the WordPress site URL includes a custom port
* Fix - Properly handle send invoice and send payment errors when settings are missing
* Fix - Allow shipping line items to reference expense (default) or income account types
2017-02-20 - version 1.7.6
* Fix - Calculate last day of month correctly when sending invoice to Xero
* Fix - Ensure sending invoices on order creation works for order statuses besides processing
* Fix - Fix bug where same due date for new invoices was being reused for 1 month
* New - Cache invoice default payment terms for 1 hour
* New - Calculate due date for each invoice individually using cached payment terms
* Fix - PHP7.1 exception when sending invoices to Xero
* Fix - WooCommerce 3.0 compatibility
* Fix - Retrieve tax rates properly from Xero
* Fix - Instead of overwriting tax rates on Xero with the same name but different rate, create separate rates
* Fix - Use tax type EXEMPTEXPENSES when shipping is tax exempt for an Australian store
* Fix - Instead of generating a discount line item, apply discounts on the line items themselves to avoid tax adjustments
* Fix - Remove the discount account setting since we are applying discounts on the line items themselves
* New - Add payment method to invoice reference field
* Fix - Filter special characters out of description before sending invoice
* New - Add link from Xero invoice view back to order on merchant host
* Fix - Uniquely name new tax rates as rates change (Xero does not allow multiple active rates with the same name)
2016-11-10 - version 1.7.5
* Fix - Australian Dollar based currency stores now send GST Free Income as default tax type
2016-11-02 - version 1.7.4
* Fix - Shop manager role were not able to save the Xero settings.
* New - filter the xml in WC_XR_Invoice::to_xml before it is returned.
* New - Option to send invoice on payment completion.
* Fix - Sending null value when order total is not set.
* Fix - Html special characters not being preserved.
2016-02-09 - version 1.7.3
* Feature - Allow sending invoice upon order creation
* Feature - Add filters to fine-tune xero settings on invoice and payment sending
* Improvement - Store and use latest invoice ID when multiple are sent
2016-02-01 - version 1.7.2
* Feature - New settings option: Send 4 decimal places on unit prices
* Feature - Support for allowing Xero to assign invoice number
* Fix - Rounding error between Xero and WooCommerce's tax calculation
2015-11-12 - version 1.7.1
* Fix - Use order's currency instead of the default store currency (when sending invoice)
2015-11-12 - version 1.7.0
* Feature - Tax Rates/Tax Codes are now created via the API and passed with line items
* Tweak - Xero organisation wide "due date" settings are now respected when creating invoices
* Fix - If email is blank for manual orders, create a new contact instead of using the same entry
* Fix - Use the current date when issuing payments for COD orders
* Fix - Remove sslverify=false now that WordPress bundles certificates
2015-08-16 - version 1.6.10
* Fix - Error in invoice manager.
2015-08-16 - version 1.6.9
* Fix - Error in contact manager.
2015-08-10 - version 1.6.8
* Tweak - If a contact is found in the Xero database with a matching email, its info is updated instead of creating a new contact
* Fix - Only auto send payments when an order is marked as "completed" (per the settings description)
2015-06-01 - version 1.6.7
* Round the order total in cents before parsing from float to int to prevent unexpected int values.
2015-03-04 - version 1.6.6
* Always setting the unit amount with 4DP to fix validation errors on line items.
* Always include unit amount and tax amount to allow creation of non matching tax line items.
2015-02-18 - version 1.6.5
* Only set the unit price if we send inventory and the product is on sale
* Fixed a bug that prevented correct passing of discount.
* Use line_subtotal instead of line_total in line items so discounts can be passed individually.
2015-02-17 - version 1.6.4
* Always set unit price to avoid validation errors when discounts are applied.
* Don't send order with a total of 0 when "Orders with zero total" isn't checked.
* Improved OAuth error detection, improving errors like "String could not be parsed as XML".
* Only send payment if the order total is bigger than 0.
2015-02-16 - version 1.6.3
* Fixed a bug where order with free products caused a ValidationException.
* Fixed a bug where shipping & handling were missing in rounding correction sum.
2015-02-12 - version 1.6.2
* Made the OAuth check less strict resolving the "Request failed due OAuth error: < | <" error.
* Added possibility to prefix invoices.
2015-02-03 - version 1.6.1
* Fixed an OAuth class autoload bug on some case-sensitive servers.
2015-01-28 - version 1.6.0
* Complete rewrite of the plugin which includes:
* Improved request architecture for API calls.
* Added filters for a lot of data that is send to Xero.
* Fixes a bug when products are on sale.
* Fixes rounding errors.
* Fixes for tax errors.
2014-09-17 - version 1.5.0
* WC 2.2 compatibility
* Branding change to WooThemes
2014-06-02 - version 1.4.6
* Fix for sending payments to Xero
2014-05-22 - version 1.4.5
* Fix for ampersands in the Description field
2014-04-04 - version 1.4.4
* Changed <Date> to be the date of the order, not date order is transmitted to Xero
2014-04-03 - version 1.4.3
* Moved <Phones> element to be child of <Contact> element.
2014-02-13 - version 1.4.2
* Fixed XML error 'Input string was not in a correct format.' when Tax is $0
* Moved invoice and payment sending to 'woocommerce_order_status_completed' so that the order is complete before
creating the invoice in Xero. This is so that redirect gateways like PayPal Standard won't create invoices on
orders that are never paid for.
2014-01-27 - version 1.4.1
* Verified compatibility with WooCommerce 2.1
* Updated tax calculation with inclusive tax. <TaxAmount> element is now sent with the <LineAmount>
2014-01-15 - version 1.4.0
* Branding change
* Fixed localization to use 'wc-xero'
* Fixed private/public key indicators turning green when path exists, but no file given.
2013-05-21 - version 1.3.3
* Fix for inclusive tax
* Removed Cart Discounts from being sent with invoice to Xero
2013-05-21 - version 1.3.2
* Fix for "Cannot redeclare wc_ups_plugin_links()"
* Fix for compatibility with Dynamic Pricing
* Fix for rounding amounts to two digits
2013-03-22 - version 1.3.1
* Add check for key files in Xero admin page. Green - file found. Red - file not found.
* Removed unused "Sales Tax Account" from settings.
* Fix for "PHP Warning: Illegal string offset" in Order Edit page in the admin.
* Fix for "A validation exception occurred Detail: One or more line items must be specified" in WC 2.x
* Fix for inclusive tax line amount
* Fix for ampersand (&) in billing and shipping information fields
2013-02-12 - version 1.3.0
* Verified compatibility with WooCommerce 2.0
* Added setting to be able to turn off SKU (Inventory Items) from being sent in invoices
* Added ability to manually send invoices and payments from Edit Order page
* Fixed <Date> and <DueDate> fields to use current H:M:S to prevent OAuth error
* Fixed issue with VAT
2013-01-07 - version 1.2.1
* Added support for Sequential Order Numbers Pro
2012-12-10 - version 1.2
* Fix for qty calculation for tax included and tax excluded. Also, fix for validation errors.
* Added SKU field to be used as <ItemCode> for reduction of inventory in Xero.
* Added <CurrencyRate> to Payment XML to support WC stores using different currency from Xero account currency.
2012-12-04 - version 1.1.1
* New updater
2012-09-28 - version 1.1
* Added checkbox to enable/disable sending payments to Xero. Payments may need to be turned of if they are synced via a separate integration such as PayPal.
2012-07-26 - version 1.0
* Initial Release