Skip to content

Latest commit

 

History

History
787 lines (362 loc) · 34.2 KB

CHANGELOG.md

File metadata and controls

787 lines (362 loc) · 34.2 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.12.70 (2025-01-25)

Features

  • checkout: accept group field on customer object (f73a520)

0.12.69 (2024-08-21)

Bug Fixes

  • run list payments (preview) twice, once before apply discount (cec46b2)

0.12.68 (2024-02-29)

Features

  • create-transactions: add flags to items schema (#28) (2c47419)

0.12.67 (2023-09-06)

Features

  • checkout: accepting undefined discount app id for multiple discount apps (e9b20b5)

0.12.66 (2023-09-06)

Bug Fixes

  • checkout: better handling multiple results (apps) for apply discounts (33e96e3)

0.12.65 (2023-07-22)

Bug Fixes

  • checkout: ensure amount.extra is never less than 0 (818bca0)

0.12.64 (2023-07-21)

Bug Fixes

  • checkout: ensure amount.extra is never less than 0 (5e16f6b)

0.12.63 (2023-07-21)

Bug Fixes

  • retry api requests on rate limit or persistent connection errors (c978555)

0.12.62 (2023-07-17)

Bug Fixes

  • checkout: properly update order amount if extra value is added (#26) (02dfa63)

0.12.61 (2023-07-12)

Bug Fixes

  • checkout: blocking new orders by buyer doc number (deea7ec)
  • checkout: set amount extra if transaction amount is greater than total (#24) (a3f2445)

0.12.60 (2023-06-30)

Features

  • apply-discount: add optional fields brands/categories to items param (#23) (ff9b561)

0.12.59 (2023-06-30)

0.12.58 (2023-06-01)

Features

  • apply-discount: add new optional customer.doc_number field (d67d89a)

0.12.57 (2023-05-12)

Features

  • create-transaction: add new optional account_deposit object on response schema (#21) (144ea85)

0.12.56 (2023-04-17)

Features

  • checkout: accept referral on customer object (97f3dcc)

0.12.55 (2023-02-14)

Bug Fixes

  • checkout: limit client_user_agent from header to 255 chars (676c784)

0.12.54 (2023-02-09)

Features

  • set client_user_agent on new order body (9b28809)

0.12.53 (2022-10-04)

Features

  • checkout: adding currency_id and currency_symbol optional fields to checkout params (f6000db)
  • list-payments: add optional installments_number field in additional to payment_method (c03303a)

0.12.52 (2022-07-28)

Features

  • apply-discount: add buy_together (optional) to apply discount response schema (#17) (f328ff6)

0.12.51 (2022-05-24)

Bug Fixes

  • checkout: prevent amount being changed by reference on secondary transactions (c5ff18e)

0.12.50 (2022-05-24)

Bug Fixes

  • checkout: must set payment history entriy id (73cab7b)

0.12.49 (2022-05-24)

Features

  • checkout: save loyalty points amount as amount.balance on new order (cfc78e3)

0.12.48 (2022-04-21)

Bug Fixes

  • checkout: also accept ipv6 browser_ip (856702c)

0.12.47 (2022-04-21)

Bug Fixes

  • checkout: prevent error with invalid client ip address (c768c44)

0.12.46 (2022-04-21)

Bug Fixes

  • checkout: set browser_ip (if undefined) with request client ip address (f7ffecf)

0.12.45 (2022-01-24)

Bug Fixes

  • checkout: return invalid items when no subtotal and some item removed (9caf043)

0.12.44 (2021-12-27)

Bug Fixes

  • checkout: better object id (for item ids) function also using Math.random (b2df539)
  • checkout: properly complete transaction.app object when multiple transactions (688f120)

0.12.43 (2021-10-26)

Bug Fixes

  • applications: prevent aborting requests by queue delay when multiple apps (0ff9da2)

0.12.42 (2021-10-26)

Bug Fixes

  • modules: prevent error with undefined response object (b94a0dd)

0.12.41 (2021-10-26)

Bug Fixes

  • modules: should restart on 50+ consecutive req aborts (4a1f674)

0.12.40 (2021-10-26)

Bug Fixes

  • applications: respond with status 429 instead of 503 on big queue delays (c003eb0)

0.12.39 (2021-10-22)

Bug Fixes

  • checkout: also set order financial_status after first transactions response (71faac3)

0.12.38 (2021-10-20)

Bug Fixes

  • applications: control reverse requests to apps endpoints (7186634)
  • modules: blacklist urls to prevent consecultive errors (b542c8c)

0.12.37 (2021-10-18)

Bug Fixes

0.12.36 (2021-10-18)

Bug Fixes

  • modules: set connection timeout 3s (394aa6c)

0.12.35 (2021-10-18)

Bug Fixes

  • applications: properly checking empry params before set defaults (eae9724)

0.12.34 (2021-10-18)

0.12.33 (2021-10-18)

0.12.32 (2021-07-23)

Bug Fixes

  • calculate-shipping: update valid warehouse codes regex (add uppercase chars and -) (680d8a2)

0.12.31 (2021-06-02)

Features

  • calculate-shipping: pick_up, scheduled_delivery and delivery_instructions on response (3f1b69c)
  • create-transaction: add optional payment_instructions field to response schema (f30ec3d)

0.12.30 (2021-05-27)

0.12.29 (2021-05-27)

Features

  • list-paymenst: add earn_percentage field to loyalty points program object (93d06b2)

0.12.28 (2021-05-20)

Bug Fixes

  • create-transaction: set credit_card.hash max chars to 6k (e197039)

0.12.27 (2021-05-14)

Features

  • list-payments: add min_subtotal_to_earn field to loyalty points programs object (b75a623)

0.12.26 (2021-05-14)

Bug Fixes

  • applications: when app id is set, limit fetching one app installation only (b645ead)
  • checkout: check transactions array length to proceed to next one (1e4fb79)
  • checkout: check transactions array length to proceed to next one (cddb375)
  • checkout: properly set customer id on all transactions (4c350fb)
  • create-transaction: update schema to accept amount_part minimum to 0 (8b1fbeb)

0.12.25 (2021-05-13)

Bug Fixes

  • checkout: sum production time to posting deadline instead of delivery time (1dbd3e2)
  • checkout: sync process multiple transactions, list payments for first transaction only (e0f55be)

0.12.24 (2021-05-13)

Features

  • checkout: sum production time to shipping deadline (#14) (4290b9d)

Bug Fixes

  • checkout: mannually fix amount for multiple transactions (2bc436a)
  • checkout: properly handle multiple transactions (only) (a995acb)

0.12.23 (2021-05-11)

Bug Fixes

  • checkout: prevent (stupid) error with repeated item flags (203191a)

0.12.22 (2021-05-07)

Features

  • checkout: support amount_part number to handle 2+ transactions (237f46a)

Bug Fixes

  • checkout: compare transactions amount sum with order total value (cf0cdb5)

0.12.21 (2021-05-06)

Features

  • checkout: supporting multiple transactions (efd45da)
  • create-transaction: supporting response with loyalty_points object (e5d4d30)

Bug Fixes

  • checkout: prevent multiple error responses on multiple transactions (747e0a6)
  • checkout: properly continue loop to next transaction on done (c0ae96a)
  • checkout: properly continue loop to next transaction on done (e9ed2c9)
  • list-payments: use loyalty_points_programs.$.ratio to repeat store api schema (5a01f22)

0.12.20 (2021-05-03)

Features

  • calculate-shipping: supporting warehouses for multi cd (6613dfc)
  • checkout: set order opened_at datetime (3419eb2)
  • create-transaction: add loyalty_points_applied request param (d995868)
  • list-payments: optional loyalty_points_programs response field (ef530e1)

0.12.19 (2020-12-09)

Bug Fixes

  • checkout: fix checking/setting payment gateway (3206606)

0.12.18 (2020-12-09)

Features

  • list-payments: edit response to accept 'discount_option.apply_at' (9f26a0b)

Bug Fixes

  • checkout: prefer respective method name to select payemnt gateway (1cbe4b7)

0.12.17 (2020-11-12)

Bug Fixes

  • checkout: fix setting min packs num for kit (3b3b06d)

0.12.16 (2020-11-12)

Features

  • checkout: handling kit product from checkout items (fd50fea)

0.12.15 (2020-10-26)

Features

  • fix-items: handling additional prices from customization fields (ba8786b)

0.12.14 (2020-08-26)

Features

  • checkout: set order links if empty (checkout and status) (73fd896)

0.12.13 (2020-08-12)

Bug Fixes

  • applications: validating app id param (71cde3c)

0.12.12 (2020-08-03)

Features

  • checkout: add 'notes' field to entry schema (897d1cb)

Bug Fixes

  • checkout: bypass some order fields (1688d33)

0.12.11 (2020-06-06)

Bug Fixes

  • checkout: checkout steps to shipping -> discount -> payment (a5d2ae1)

0.12.10 (2020-06-06)

0.12.9 (2020-06-05)

Bug Fixes

  • checkout: stop hard removing order body items by flags (c965cd9)

0.12.8 (2020-06-05)

Bug Fixes

  • checkout: fix checking freebit product ids (match items) (a779a68)

0.12.7 (2020-06-05)

Bug Fixes

  • checkout: accept items flags on request body (eb2b2a7)

0.12.6 (2020-06-05)

Bug Fixes

  • checkout: fix handling freebie items (force final price) (831e16f)

0.12.5 (2020-06-05)

Features

  • apply-discount: add optional 'freebie_product_ids' to response (28d245d)

0.12.4 (2020-05-23)

Bug Fixes

  • list-payments: prevent error with discount object without value (022520d)

0.12.3 (2020-05-21)

Bug Fixes

  • checkout: list payments first, then proceed to discounts (c12597b)

0.12.2 (2020-04-18)

Features

  • list-payments: add to js client object (1694407)

0.12.1 (2020-04-10)

Bug Fixes

  • apply-discount: accepting discount value less than 1 (12b95dd)

0.12.0 (2020-04-09)

Bug Fixes

  • modules: add break lines to tmp log, debug with json stringify (82a48e9)
  • modules: stop trying to debug circular response structure (4acd1ad)

0.11.22 (2020-04-09)

Features

  • debug: tmp log file with for current app request and response (e402be3)

0.11.21 (2020-04-09)

Bug Fixes

  • checkout: try to debug app responde on create transaction error (25e6d52)

0.11.20 (2020-04-05)

Bug Fixes

  • checkout: trying list of valid results for each module (94f582e)

0.11.19 (2020-03-26)

Bug Fixes

  • checkout: return 409 (conflict) when merchant/app config is wrong (36ab2eb), closes #5

0.11.18 (2020-02-05)

Bug Fixes

  • fix-items: check promotional price with date ranges (e7ca1c9)

0.11.17 (2020-01-27)

Bug Fixes

  • checkout: fix checkout schema moving some props from transaction (9ce7742)

0.11.16 (2020-01-26)

Features

  • appy-discount: add 'available_extra_discount' field (utm in shelf) (50b6aa1)

0.11.15 (2020-01-23)

Bug Fixes

  • apply-discount: update customer object schema (c7eabcf)

0.11.14 (2020-01-15)

Bug Fixes

  • list-payments: add param to check support for 'fetch_when_selected' (8d6ebac)

0.11.13 (2020-01-15)

Features

  • list-payments: add req/res props to support fetch when selected (0e01063)

0.11.12 (2019-12-20)

Bug Fixes

  • checkout: set transaction status.updated_at (85cca14)

0.11.11 (2019-12-20)

Bug Fixes

  • checkout: fix default payment history entry datetime (d2af70b)

0.11.10 (2019-12-20)

Bug Fixes

  • checkout: ensure amount total decimal fix (d3baa6c)

0.11.9 (2019-12-20)

Bug Fixes

  • checkout: round all amount fields to 2 digits (c6e15ea)

0.11.8 (2019-12-19)

Bug Fixes

  • checkout: must update checkout body amount on fix total (8f5b943)

0.11.7 (2019-12-19)

Bug Fixes

  • checkout: apply payment method adding to amount discount (c266081)
  • checkout: apply payment method discount only is < extra discount (c3de424)

0.11.6 (2019-12-05)

0.11.5 (2019-12-05)

Bug Fixes

  • debug-requests: check response object before getting data prop (56f8f9b)

0.11.4 (2019-12-05)

Bug Fixes

  • checkout: try to bypass internal request error usr msg (56c88b1)
  • checkout: uso deep clone to preserve original req body (c7f455e)

0.11.3 (2019-12-05)

Bug Fixes

  • checkout: apply discount (extra discount) before list payments (41d3d29)

0.11.2 (2019-12-05)

Bug Fixes

  • checkout: fix amount total after extra discount applied (17ed0e5)

0.11.1 (2019-11-29)

Features

  • checkout: mark internal requests with 'is_checkout_confirmation' (023536c)

0.11.0 (2019-11-19)

⚠ BREAKING CHANGES

  • apply-discount: schema changed for apply_discount module

Bug Fixes

  • apply-discount: fix module response schema (e1a1c1a)

Features

  • checkout: applying extra discount on checkout endpoint (31ddec8)

0.10.6 (2019-11-18)

Bug Fixes

  • apply-discount: remove customer main email (private) by default (5a44d83)
  • page-loaded: fix schemas for page loaded module (9218e50)

Features

  • apply-discount: add apply discount module with schemas (8a5ad70)

0.10.5 (2019-10-22)

Features

  • list-payments: add optional props domain and customer (7a356ac)

0.10.4 (2019-10-21)

Features

  • transaction: add 'open_payment_id' to create transaction schema (4993b5a)

0.10.3 (2019-10-14)

Features

  • list-payments: add 'transaction_promise' on 'js_client' object (5109eca)

0.10.2 (2019-10-14)

Features

  • list-payments: update schema, add js_client.container_html (cf9f6ee)

0.10.1 (2019-09-13)

Bug Fixes

  • checkout-history: add date time to created payment history (4c4ca0f)

0.10.0 (2019-09-03)

⚠ BREAKING CHANGES

  • list-payments: response fields removed, edited or deprecated

  • list-payments: update payment info fields (e5d3f82)

0.9.2 (2019-09-03)

Bug Fixes

  • atualizando de acordo com as recomendações (912e7d4)
  • tentativa de correção do erro 4 utilizando o modelo sugerido na doc (05f1118)
  • tentativa de correção do erro 7 (f2abe49)

Features

  • cancel-order: cancel order when transaction fails (321c379)
  • list-payments: returning more default infos (2ca9fa8)
  • payments-history: add entry to payments history after checkout (9e25912)

0.9.1 (2019-08-01)

Bug Fixes

  • checkout: fix handling shipping total price and price (760fadc)
  • checkout: validate prop from response object when selecting result (77cd063)
  • check app state (enumered) instead of status (3b53bfa)
  • fix debugging errors (log data) (fcc46c5)
  • fix handling request options object (aa8faf3)
  • get app id from result object (164a2db)
  • handling fields for transaction.app object (0c33f1c)
  • increase cmax content lenght and debug axios error (e128d54)
  • minor log format fix for axios errors (cba5d7a)
  • mount request body object inside appsloop (9f0124d)
  • return response data even with error status code (a3fc0cb)
  • return response data even with error status code (always string) (38a939c)
  • return response data even with error status code (only if object) (c461573)
  • setup transaction app object (4929d9c)
  • stop using 'multipleOf' to treat decimals (4dde7a4)

Features

  • count request->response time (ms) (a48898a)
  • set order_id to create transaction body (285fd28)
  • setup transaction app object (intermediator data) (d99a816)