== Changelog ==

= 1.9.5 =

* Fixed bug with downloading labels

= 1.9.4 =

* Improved error handling for customer number api integration
* Fixed issue with settings not detecting pro activated correctly
* Added method for license server to trigger license check on purchase of new license
* Added namespacing for most of the classes and improved class autoloader

= 1.9.3 =

* Fixed a bug where all value added services would always be used with bulk booking
* Added Home delivery parcel to available services

= 1.9.2 =

* Fixed a bug where the customer number would not be included in API requests

= 1.9.1 =

* Improved support for WooCommerce subscriptions
* Fixed a bug where bag on door checkbox on checkout would show even if the option had not been enabled

= 1.9.0 =

* Added bag on door support for mailbox method
* Added setting to choose which type of pickup points to use
* Added individual verification and id verification value added service
* Added setting to enable booking for orders that does not use a bring shipping method
* Added bring product select box to booking items
* Added validation for booking settings
* Upgraded vuejs from version 2 to 3
* Fixed test-mode setting to allow PRO features to be used without a license on test-sites

= 1.8.8 =

* Fixed some unsupported operand type errors.
* Fixed a bug with decimals for shipping rates that caused incorrect tax calculation for shops that use 0 decimal places.

= 1.8.6 =

* Added PHP 8 support
* Fixed a bug with the setting to change order status after printing labels where it would update old orders
* Added support for booking of HD services

= 1.8.5 =

* Added filter bring_fraktguiden_get_consignment_recipient_address
* Fixed error when mass booking Mailbox with tracking
* Fixed error when no date was set for home delivery

= 1.8.2 =

* Added new feature for alternative delivery dates for home delivery
* Added ETA support for shipping rates
* Added support for services that does not return shipping prices
* Made the product tester always available
* Added lead time settings
* Booking - Added {products} parameter for order reference
* Booking - Changed action for rendering PDF's
* Fixed syntax error

= 1.7.12 =

* Added pickup selection for pakke til hentested in admin
* Fixed issue with fallback solution for heavy consignments

= 1.7.9 =

* Fixed a bug with the implementation of the service table for WC 4.0.0 which caused service configuration not to save.

= 1.7.8 =

* Made the plugin compatible with WooCommerce 4.0.0
* Fixed default selection of customer number for booking

= 1.7.7 =

* Fixed fatal bug during booking

= 1.7.6 =

* Removed norgespakke because it is no longer supported
* Fixed an issue with pickup points for klimanøytral servicepakke
* Fixed bug with post code validation that caused validation intended for Norway to be applied on other some other countries
* Added missing implementation of E-varsling and 2084 value added services

= 1.7.5 =

* Fixed merging of ZPL files
* Fixed tocountry bug with the product tester

= 1.7.4 =

* Fixed download of ZPL files from orders using mailbox with tracking
* Added special handling for mailbox services which fixes booking issues
* Various interface improvements

= 1.7.2 =

* Improved bring booking logging
* Fixed the location of the shipping options template
* Reformed readme to meet standards
* Added missing translations

= 1.7.1 =

* Fixed a bug with order status changing when downloading the label
* Added missing translations

= 1.7.0 =

* Created a new service selection interface
* Added filter to sort services by price
* Added additional fee setting to services
* Made the bring API error persistent
* Other settings are now hidden untill API credentials have been filled in
* Added validation for API credentials
* Updated the system status page to provide more relevant information
* Added support for transition from old to new services
* Added new services from bring
* Removed display-name option for services
* Added support for value added services
* Added AJAX for mass booking

= 1.6.7 =

* Added support for new bring products "Pakke til hentested", "Pakke levert hjem", "Pakke til bedrift" and "Ekspress neste dag"

= 1.6.6 =

* Added postcode validation for manual orders
* Added new meta data for pick up points
* Fixed issue with bulk printing ZPL labels
* Fixed path when registering styles
* Changed the style to only load when Bring is on the page

= 1.6.5 =

* Fixed bug with bulk printing shipping labels
* Fixed input filtering of array

= 1.6.4 =

* Fixed input filtering of array

= 1.6.3 =

* Fixed compability with INPUT_SERVER for servers using FASTCGI
* Fixed issue where Bring System Info page requested a method that didn't exist
* Fixed issue with bulk actions on orders archive
* Fixed Bring System Info page is no longer required by default
* Added helper links in Mybring API tab
* Added missing translations for service descriptions

= 1.6.2 =

* Updated UI
* Updated textdomain to match plugin slug
* Updated translations
* Updated PDFMerger from 1.0 to 2.0
* Updated plugin URL to be relevant to Bring Fraktguiden
* Fixed filter stopping settings link from showing on plugin list
* Fixed issue where free shipping limit containing decimals would default to zero

= 1.6.1 =

* Added admin notice for required Mybring API credentials

= 1.6.0 =

* Added support for multiple Customer Number
* Added Customer Number selection when booking orders
* Added additional postcode validation for Norway
* Added support for additional language translations
* Updated php-laff from 1.0 to 1.1
* Updated Bring API version
* Updated formatting to align with coding standards

= 1.5.13 =

* Fixed not allowed to access this page issue when creating labels

= 1.5.12 =

* Fixed a problem where the KCO support script used data from the pickupoint API
* Disabled enhanced KCO support by default for newer versions of KCO
* Fixed a bug where tracking code would appear on order confirmation emails even if there was no tracking on the order

= 1.5.11 =

* Fixed mailbox tracking code url
* Fixed an issue causing settings to be lost when turning off PRO
* Made some text changes
* Added a redirect to the settings page when there are empty store address fields when booking

= 1.5.10 =

* Fixed an issue with not being able to book with mailbox

= 1.5.9 =

* Fixed an issue with changing the shipping item for booking in admin
* Fixed tracking number not showing in emails
* Fixed some php 7.2 warnings

= 1.5.8 =

* Improved adding shipping items to orders from admin

= 1.5.7 =

* Fixed a 500 caused by php 7.0 syntax on older php versions

= 1.5.6 =

* Fixed a 500 error when trying to book with bring with shipping items that were not added through checkout

= 1.5.5 =

* Fixed editing pickup point on orders in wp-admin

= 1.5.4 =

* Fixed issue with label downloads

= 1.5.3 =

* Fixed free shipping
* Removed VAT setting
* Fixed some minor php 7.x issues
* Fixed tax calculation for fixed prices
* Fixed logic for heavy items

= 1.5.2 =

* Added compability with WooCommerce 3.4.x
* Fixed bring booking issue after integrating mailbox packages
* Fixed the calculate by weight option
* Fixed shipping calculation for variations

= 1.5.0 =

* Fixed: BOOK-INPUT-020: Invalid product ID
* Fixed: Pickup point country fixes
* Translations: Updated language files

= 1.4.1-rc1 =

* Added support for Mailbox / Pakke i postkassen
* Added compability with KCO

= 1.4.0.8 =

* Fixed an issue with multipacking that affected cargo and heavy items
* Additional capabilities added when accessing Bring Labels
* Finished writing the readme, updating the FAQ
* Added Mybring.com API authentication check when saving settings
* Fixed an issue where no shipping rates would show up if the max_products setting was empty
* Added an update notice to the description
* Fixed code that was incompatible with php 5.6
* Fixed an issue where not all files were pushed to the SVN repo

= 1.4.0 =

* Added support to Klarna Checkout
* Improved the settings UI
* Updated Services based on the new 2018 Services from Bring
* Plugin has been made fully translatable finally
* Improved support for Woocommerce 3.2
* Additional options for end-user
* PRO version now contains Bring fallback methods for when the API can't be accessed
* Added more descriptions to services and features to help minimise the support you need to request.
* Mybring Booking has been added to the PRO version, which allows you to now book your orders with Bring directly on the order page.
* Added a stylesheet for styles. Those styles are used. Mostly for validation and error notifications when the postcode is wrong / invalid.
* Added the ability to disable the previously mentioned stylesheet, because you've already taken the styling issue into your own hands.
* Had a baby just before release of this version

= 1.3.2 =

* Removed GPL License
* Pro features are now bundled with the free version
* Support for WooCommerce 3.x
* Added license check as part of the PRO bundle
* Better support for Klarna Checkout

= 1.3.1 =

* Improved support for WooCommerce 2.6 Shipping Zones
* Uses the Wordpress' current language for Bring's reply messages, if available (thanks to oakidoaki)
* Misc. bug fixes

= 1.3.0 =

* Use GPL license
* Support WooCommerce 2.6
* WBF-30: Update the Fraktguiden product list.
* WBF-33: Improve support for sending to other countries - The support for sending from and to all Nordic countries has been improved.
* WBF-32: Fixed an issue where the checkout page would print a 'Invalid argument supplied for foreach.' message if no Fraktguiden services was provided by the shop (WP DEBUG MODE only)
* WBF-35: Option for using Product Name when displaying the services to customers
* WBF-37: Option for displaying the service description to customers

= 1.2.0 =

* WBF-16: Fixed packaging issue: Shipping options was not shown if one or more package surpassed 240 grams.
* WBF-17: Added support for recipient notification over SMS or E-Mail from Bring. Note that recipient notification needs to be activated after the upgrade (See: WooCommerce > settings > shipping > Bring Fraktguiden).
* WBF-18: Added WP filter for modifying the Fraktguiden request parameters.
* WBF-22: Added path to Woo Commerce logs in the plugin's options page.
* WBF-23: Fixed undefined variable bug when logging is enabled.

= 1.1.2 =

* Renamed plugin to bring-fraktguiden-for-woocommerce

= 1.1.1 =

* Requests to the bring api is now logged if debug is enabled (see settings screen)
* Misc. text changes

= 1.1.0 =

* Improved support for multi packaging.
* Fixed so fee is added to the rate.

= 1.0.0 =

* Initial release.
