Skip to content

Latest commit

 

History

History
289 lines (228 loc) · 10.1 KB

File metadata and controls

289 lines (228 loc) · 10.1 KB

Changelog

v2.2.1 (10 Oct 2023)

Bugfixes:

  • SoldProduct::getSkuOrId() returns ?string #71
  • SoldProduct::getEan() returns ?string #71

v2.2.0 (29 Mar 2023)

Stable release

v2.2.0-RC1 (18 Aug 2022)

  • Copyright updated
  • Replaced the mintware-de/data-model-mapper serializer with jms/serializer
  • Updated phpstan/phpstan to ^1.8.2
  • Increased the SCA level to 6
  • Added Getters/Setters to models
  • Typing improved
  • Added additional fields
    • Customer
      • Meta Fields
    • Invoice
      • VatFlags
      • ShippingCountry
      • Title
      • Salutation
      • AdditionalFees
      • MerchantVatId
      • CustomerVatId
    • InvoicePosition
      • totalVatAmount
      • rebatePercent
    • Order
      • RebateDifference
      • Shipments
      • HistoryEntries
      • LastModifiedAt
      • ApiAccountId
      • ApiAccountName
      • MerchantVatId
      • CustomerVatId
      • PaymentReference
    • Shipment
      • CarrierId
      • Type #56
    • SoldProduct
      • skuOrId
  • Added new models
    • CustomerMetaData
    • InvoiceAdditionalFee
    • OrderHistoryEntry
    • OrderUser
    • StockProduct
    • VatFlags
    • ShipmentType
    • ShippingCarrier
  • Changed the default value
    • Product::$sku: '' => null
    • Product::$ean: '' => null
    • Product::$manufacturer: '' => null
    • Product::$costPrice: 0.00 => null
    • Product::$stockDesired: 0.00 => null
    • Product::$stockCurrent: 0.00 => null
    • Product::$stockWarning: 0.00 => null
    • Product::$stockCode: '' => null
    • Product::$stockReduceItemsPerSale: 1.00 => null
    • Product::$weight: 0 => null
    • Product::$weightNet: 0 => null
    • Product::$unit: Product::UNIT_PIECE => null
    • Product::$unitsPerItem: 1.0 => null
    • Product::$soldAmount: 0 => null
    • Product::$soldSumGross: 0.0 => null
    • Product::$soldSumNet: 0.0 => null
    • Product::$soldSumNetLast30Days: 0.0 => null
    • Product::$soldSumGrossLast30Days: 0.0 => null
    • Product::$soldAmountLast30Days: 0 => null
    • Product::$shippingProductId: 0 => null #41, #55
    • Product::$deliveryTime: Product::DELIVERY_NA => null
    • Product::$recipient: Product::RECIPIENT_NA => null
    • Product::$occasion: Product::OCCASION_NA => null
    • Product::$countryOfOrigin: '' => null
    • Product::$exportDescription: '' => null
    • Product::$taricNumber: '' => null
    • Product::$condition: ProductCondition::BRAND_NEW => null #41
    • CustomerResult::$id: null => 0
    • ShippingProvider::$name: '' => null
    • ShippingProvider::$products: '' => []
    • Source::$source: '' => null
    • Source::$sourceId: '' => null
    • Source::$apiAccountName: '' => null
    • Source::$stockSyncInactive: false => null
    • Source::$unitsPerItem: 1.00 => null
    • WebHook::$headers: null => []
    • WebHook::$properties: null => []
    • BaseResponse::$paging: [] => null
    • BaseResponse::$errorMessage: '' => null
    • BaseResponse::$data: [] => null
  • Made BaseResponse generic.
  • Removed JsonSerializable implementation in Stock

v2.1.0 (6 Aug 2022)

  • Updated psr/log to ^1.1.0 || ^2.0.0 || ^3.0.0

v2.0.0 (28 Oct 2021)

  • Updated guzzlehttp/guzzle to V7.4.0
  • Updated psr/log to 1.1.0
  • Updated the Billbee API Endpoint

v1.9.0 (1 Jun 2021)

New Features:

  • DELETE /api/v1/customers/addresses/{id} added. (Client::patchAddress($id, $model)) (PR #40)
  • Added missing mappings (PR #40)
    • Address::$id
    • Order::$payments
  • Added the Payment model (PR #40)

v1.8.3 (4 May 2021)

Bugfixes

  • URL encode the $extRef in getOrderByOrderNumber and the $externalId in getOrderByPartner before sending the request to the API.

v2.0.0-RC3 (21 Apr 2021)

Changed the required PHP CPU architecture to 64bit

v2.0.0-RC2 (15 Mar 2021)

Updated from master

v1.8.2 (15 Mar 2021)

Bugfixes

v2.0.0-RC1 (22 Feb 2021)

See UPGRADE.md for migration details.

New Features

  • PHP 8 added to composer.json

Misc:

  • Copyright updated (PR #34)
  • Added phpstan for static code analysis (PR #36)

Breaking changes:

  • The code has been reorganized. The client does not implement the endpoints directly anymore. (PR #35) -Updated the min. PHP Version to 7.3 (PR #37)

v1.8.1 (22 Feb 2021)

New Features

  • PHP 8 added to composer.json

v1.8.0 (9 Dec 2019)

New features:

  • DELETE /api/v1/products/{id} added. (Client::deleteProduct($id)) (PR #31)
  • Added missing fields to the product model (PR #32)
    • Product::$condition
    • Product::$widthCm
    • Product::$lengthCm
    • Product::$heightCm
    • Product::$billOfMaterial
  • GET /api/v1/products/PatchableFields added. (Client::getPatchableProductFields()) (PR #33)
  • PATCH /api/v1/products/{id} added. (Client::patchProduct($productId, $model)) (PR #33)

v1.7.0 (15 Nov 2019)

New features:

  • GET /api/v1/cloudstorages added. (Client::getCloudStorages()) (PR #18)
  • GET /api/v1/products/category added. (Client::getCategories()) (PR #19)
  • GET /api/v1/layouts added. (Client::getLayouts()) (PR #20)
  • Added $templateId and $sendToCloudId to Client::createInvoice() (PR #20)
  • POST /api/v1/products added. (Client::createProduct($product)) (PR #25)
  • POST /api/v1/search added. (Client::search()) (PR #26)

Bug fixes:

  • Unit tests fixed (PR #23)
  • Default values in the Product class fixed (PR #23)

Misc:

  • Added composer scripts for development (PR #24)
  • Added a code documentation generator (PR #24)
  • Fixed code style (PR #24)

v1.6.2 (16 Sep 2019)

New features:

  • Added the SoldProduct model which is used in OrderItem::$product

Bug Fixes:

  • Added a mapping for Order::$paymentTransactionId and Order::$deliverySourceCountryCode

v1.6.1 (24 Jul 2019)

Bug Fixes:

  • Fixed use-before-initialize bug in the Client::__construct (PR #15)
  • Fixed empty response bug (PR #17)

v1.6.0 (1 Apr 2019)

New features:

  • Added a DiagnosticsLogger for debugging

v1.5.0 (7 Mar 2019)

New features:

  • POST /api/v1/shipment/shipwithlabel added. (Client::shipWithLabel(Model\ShipmentWithLabel))

v1.4.1 (7 Jan 2019)

Bug Fixes:

  • Order::$vatMode used the wrong type.

General:

  • Copyright updated

v1.4.0 (12 Dec 2018)

New features:

  • Added the Order::$distributionCenter property
  • Single customer addresses can now queried with the getCustomerAddress
  • Added the Order::$customer property
  • .gitattributes added to exclude test files in prod

Bug fixes:

  • The alternative email address is ignored because sendMode != 4 logger warning fixed
  • Several type annotations fixed

General:

  • Abandoned package json-object-mapper replaced by data-model-mapper
  • Test coverage increased

v1.3.0 (6 Nov 2018)

  • Added the lookupBy parameter to the getProduct() call
  • Added the properties ShippingProviderId, ShippingProviderProductId, ShippingProviderName, ShippingProviderProductName to the getOrder() resposne

v1.2.0 (3 Oct 2018)

  • sendMessage endpoint implemented (PR #11)
  • serialNumber in OrderItem added and orderId parameter added in getEvents (PR #12)
  • Added logger interface (PR #13)

v1.1.5 (27 Aug 2018)

  • Removed dev proxy from client (PR #9)

v1.1.4 (23 Aug 2018)

  • articleTitleSource and excludeTags arguments added to getOrders() (PR #5)
  • AutosubtractReservedAmount parameter added to stock model
  • Customer Endpoints implemented
  • Links updated from app01.billbee.de to app.billbee.io
  • Changelog added

Internal Changes

  • Code folding optimized
  • Imports optimized

v1.1.3 (20 Aug 2018)

  • /api/v1/products/custom-fields endpoints added
  • /api/v1/webhooks endpoints added
  • unrebatedTotalPrice property added to OrderItem
  • customFields property added to Product
  • Tests optimized
  • Typos / spelling fixed

v1.1.2 (13 Apr 2018)

  • Added a type check in the constructor of the stock model. (Issue #4)

v1.1.1 (30 Jan 2018)

  • Proxy setting removed

v1.1.0 (30 Jan 2018)

  • Batch requests implemented

v1.0.2 (30 Jan 2018)

  • patchOrder and getPatchableFields method implemeted.
  • Copyright updated
  • PartnerOrder.paidAt property type changed from bool to datetime

v1.0.1 (28 Nov 2017)

  • TypeMismatch in OrderItemAttribute fixed (Issue #2)

v1.0.0 - Initial Release (17 Oct 2017)