Skip to content

Latest commit

 

History

History
660 lines (375 loc) · 49.3 KB

CHANGELOG.md

File metadata and controls

660 lines (375 loc) · 49.3 KB

Changelog

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

1.6.0 (2023-08-09)

Features

  • export-order: skip integration with order metafield bling:numero=skip (02a69e1)

Bug Fixes

  • export-order: parse date with correct timezone (a68df65)
  • max instance: remove maxinstance parameter and update node to 16 (92fbf4a)

1.5.0 (2023-03-27)

Features

  • import-product: update all product or create when receive stock callback (de76c91)

Bug Fixes

  • avoid to send partially paid as paid (ba9d002)
  • bling-callback: prevent retries for app without auth error [#74] (a2d5148)
  • cannot access productId (4d700e2)
  • deps: update all non-major dependencies (#66) (ffe01fe)
  • deps: update all non-major dependencies (#81) (02a4141)
  • ecom-config: remove procedure trigger by order create (keep order + status only) (#65) (e26a336)
  • pub-sub: add new deps for pubsub and create function pubsub (93f0327)
  • pub-sub: add pubsub in webhook) (e8c2d5a)
  • pub-sub: create pubsub in bling webhook (509bedc)
  • pub-sub: do not throw error (no retry) when bling token ir wrong (c5f8bfa)
  • remove _id to show only quantity and sku (fec3afb)

1.4.4 (2021-10-11)

Bug Fixes

  • handle-job: queue retry on bling api 429 error response (api limits) (cb5b262)

1.4.3 (2021-08-28)

Bug Fixes

  • bling-callback: end process (clear proceed timer) when new tmp has more orders only [#57] (22a2835)

1.4.2 (2021-08-28)

Bug Fixes

  • bling-callback: try to delay and queue order callbacks [#57] (563379d)

1.4.1 (2021-08-19)

Bug Fixes

  • import-order: check invoice access key when set (#56) (94d714c)

1.4.0 (2021-08-09)

Features

  • bling-deposit: handle bling deposit id option for multi cd [#49] (2abdfdb)

Bug Fixes

  • bling-callback: fix env require relative path [skip ci] (cd02da3)
  • deps: update all non-major dependencies (#48) (5f4febc)
  • import-product: fix handling bling item deposit object for cd specific stock [#49] (001d4e1)
  • import-product: prevent editing default bling products variations list [#49] (aa9969b)

1.3.15 (2021-06-17)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.15.4 (6433959)
  • deps: update dependency dotenv to v10 (#41) (a9e26da)
  • export-product: set origem field (#46) (9870d67)

1.3.14 (2021-06-09)

Bug Fixes

  • import-products: prefer visible/available items on search api query (1201a78)
  • import-products: sku match is a must (fix search api query) (3ddb319)

1.3.13 (2021-04-01)

Bug Fixes

  • bling-callback: try sync sku update, fallback to queue (42eaa1e)
  • deps: update all non-major dependencies (#30) (32582c0)
  • import-product: ignore stored stock updates older than 10min (9d4f5b1)

1.3.12 (2021-03-19)

Bug Fixes

  • export-product: always set precoPromocional field (never reseted) (#27) (c9a504b)

1.3.11 (2021-03-18)

Bug Fixes

  • bling-client: handle bling error response with object (not always array :disapointed:) (#27) (c45ac55)
  • export-product: bling product field profundidade instead of comprimento (#26) (d81572a)

1.3.10 (2021-03-17)

Bug Fixes

  • deps: update all non-major dependencies (#24) (f100791)
  • export-order: try matching order by number only when metadata set (bf4c7d6)
  • parse-order-status: check payments history when financil status not set (#25) (3d81e68)

1.3.9 (2021-03-16)

Bug Fixes

  • export-order: prevent recreating "removed" bling orders automatically (b9419b1)

1.3.8 (2021-03-08)

Bug Fixes

  • deps: update all non-major dependencies (#12) (6d791b8)
  • export-order: limit Bling product item.codigo to 40 chars (#22) (416c4c4)
  • export-product: check Bling product produtoLoja to update price (c382d90)
  • import-product: bling product field descricaoCurta may be null, prevent type error (#19) (2caea15)

1.3.7 (2021-02-16)

Bug Fixes

  • bling-client: better debugging bling error responses (err stack msg) (95b454c)
  • deps: update all non-major dependencies (#10) (3d091b0)
  • import-product: limit short_description string length (#9) (0e239be)

1.3.6 (2021-02-03)

Bug Fixes

  • import-all-product: skip importing variations as products (1450574)

1.3.5 (2021-02-03)

Bug Fixes

  • import-product: fix pushing new variations to imported product on parse (9b54cd7)

1.3.4 (2021-02-03)

Bug Fixes

  • import-product: ensure description fields as string on parse (eeb9912)

1.3.3 (2021-02-03)

Bug Fixes

  • import-all-products: prevent adding empty sku (b640202)
  • import-all-products: prevent sending response twice (c223202)

1.3.2 (2021-02-03)

Bug Fixes

  • import-all-products: endpoint with 'get' method (f1823c4)

1.3.1 (2021-02-03)

Bug Fixes

  • export-order: ensure exiting job when order not found and can't create new one (b97de40)

1.3.0 (2021-02-03)

Features

  • admin-settings: add 'random_order_number' config option (a117635)
  • import-all-products: endpoint to mannually trigger import all from bling (04445bf)

Bug Fixes

  • clear-order-states: add delay for firestore delete operations (5825218)
  • clear-order-states: add delay for firestore operations (0730d1c)
  • clear-order-states: prevent firestore DEADLINE_EXCEEDED error (057c486)
  • clear-order-states: try to prevent Cannot read property '_settings' of undefined error (6ba39a7)
  • export-order: user original order number by default when not already used (b379efe)
  • functions: must fix additional scheduled function name (e277f92)
  • import-all-products: fix require paths (ad2f2c3)
  • import-product: ensure uploaded image has extension on filename (1a1f5f7)
  • import-product: ensure uploaded image has extension on filename (8f2ff1a)
  • import-product: ensure uploaded pictures has 'normal' thumb size (809db6e)
  • order-states: clear documents older than 1 day (03a0d6b)

1.2.7 (2021-02-02)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.14.2 (9dfc68e)
  • deps: update/ddp all non-major dependencies (565bbed)

1.2.6 (2021-01-21)

Bug Fixes

  • export-order: bling order number must be unique (multi store not respected here) (c7aa153)

1.2.5 (2021-01-13)

Bug Fixes

  • response: prevent resending response on header sent (04d4270)
  • server: try to force urlencoded parse (any mime) for bling callback endpoint (e786d52)
  • server: try to force urlencoded parse (any mime) for bling callback endpoint (80f4fd1)
  • server: try to force urlencoded parse (any mime) for bling callback endpoint (c3fe55b)

1.2.4 (2021-01-12)

Bug Fixes

  • import-product: must set 'imagem' param to bling get request (#8) (5f5f64f)

1.2.3 (2021-01-11)

Bug Fixes

  • product-parse: better handling bling description fields (bad names 😐) (b7dfe7b)

1.2.2 (2021-01-11)

Bug Fixes

  • import-product: prevent calling product.variations with undefined product (0555980)

1.2.1 (2021-01-07)

Bug Fixes

  • import-order: syntax fix while handling response from bling invoice (855527b)

1.2.0 (2021-01-07)

Features

  • import-order: also read invoice link and try key from bling invoices endpoint (8429f8b)

1.1.6 (2020-12-21)

Bug Fixes

  • import-order: try to fix bling invoices requests (remove white space) (f22f23a)

1.1.5 (2020-12-21)

Bug Fixes

  • import-order: prevent erro with not found bling invoices (c9c040c)

1.1.4 (2020-12-21)

Bug Fixes

  • bling-callback: prevent unhandled promise rejection (c440a34)
  • import-order: ignore order when when bling 'codigo loja' doesn't match (412210e)
  • import-product: check all stock updates, delete old ones (4bc7289)

1.1.3 (2020-12-10)

Bug Fixes

  • export-product: fix parsing variations with more than one attribute (git title) (da5ca64)

1.1.2 (2020-12-10)

Bug Fixes

  • import-order: also check tracking code from 'codigosRastreamento' (not documented) and invoices (d3a8f58)
  • parse-status: edit status maps (8f5aa42)

1.1.1 (2020-12-08)

Bug Fixes

  • bling-callback: ignore stock callbakc when import disabled or export enabled (94f3eaf)

1.1.0 (2020-12-07)

Features

  • export-order: add/check new 'approved_orders_only' config option (fd1fbf8)

Bug Fixes

  • export-order: better handling bling status (#1) (a198328)

1.0.0 (2020-12-03)

Features

  • auth-callback: add procedure trigger for app "self" (3bc0b3c)
  • bling-callback: authenticating and receiving bling callbacks (7111611)
  • bling-callback: handling order update callbacks (1f64127)
  • bling-callback: properly handling stock callback and update (92bca97)
  • bling-client: setup simple bling api client constructor (f9c94ec)
  • config: setup initial app config for erp common flux (14acb42)
  • export-order: parsing and creating/updating orders on bling (0bdacc3)
  • export-product: handling product export/update from ecomplus to bling (c1a9187)
  • import-order: update status, tracking code and invoices from bling (77c79b5)
  • import-product: handling product import to create/update on ecomplus from bling (492605e)
  • queues: schedule active check idle queues from store api (fallback) (89e35ac)
  • store-api: abstraction lib to update app data (76fe0c0)
  • webhook: webhook route handling importation/exportation queues (a039067)

Bug Fixes

  • admin-settings: edit bling order data additional config fields (5c84b0c)
  • bling-callback: fix parsing json string data (1c4ca22)
  • bling-callback: receive post request instead of get (77a5df3)
  • bling-client: fix handling bling api errors and status (417a4a6)
  • bling-client: must have post method, abstracting response data (faef7f4)
  • bling-client: post with application/x-www-form-urlencoded (f07c4ff)
  • bling-client: post with application/x-www-form-urlencoded (fix qs) (3070c46)
  • bling-client: treat common bling api error codes (e32010a)
  • config: add bling store setting and fix procedure triggers (a1c26bd)
  • deps: add form-data to direct dependencies (85c286e)
  • deps: add js2xmlparser to direct function deps (54a4f26)
  • ecom-config: add (back) 'update_product' to admin settings (5c01e02)
  • export-order: check bling 'situacoes' and thow error if invalid (e420f8e)
  • export-order: don't send buyer id (prevent error with repeated customer) (0ea3f6a)
  • export-order: fix handling bling not found responses (0e38e85)
  • export-order: fix handling response data from bling api (dd369e2)
  • export-order: fix matching existent bling order by number (f98f78e)
  • export-order: fix order parser to bling xml (be16439)
  • export-order: fix parsing bling order status ('situacao') (831548d)
  • export-order: fix updating bling order status (a9ba2fb)
  • export-order: fix updating bling order status ('situacao' object) (d31effc)
  • export-order: minor order parser fixes (address and carrier) (c15c34b)
  • export-order: use order amount total instead of transaction amount to set 'parcelas' (3b5af42)
  • export-product: always set price/stock with manual exportation (f52abd2)
  • export-product: fix handling automatic price/stock update events (3d92c0c)
  • export-product: fix handling multiproduct (variations) to bling store (2bf008d)
  • export-product: fix handling multiproduct (variations) to bling store (838b4fe)
  • export-product: prevent error with unexpected bling api response (6b23287)
  • export-product: properly linking product variations after main product (a69f7ee)
  • import-product: minor fix parsing variation grids and options (3bf7166)
  • imports: fix imported lib file paths (577018b)
  • parse-product: always set bling product 'descricaoCurta' (c7df407)
  • parse-product: always set bling product domensions (zero) (bad85c2)
  • parse-product: array fixes for properly xml parse (8c5fd24)
  • parse-product: fix composing arrays for xml parse (7c9d06c)
  • parse-product: send text only body as 'descricaoComplementar' (960c935)
  • parse-product: set main product stock only if no variations (201436e)
  • post-job-hander: do not stringify request data (xml, not json :disapointed:) (9936921)
  • product-to-bling: send html body when no text only format (2c66e72)
  • webhook: properly checking update price/quantity options (8ea8a52)

1.0.0-starter.16 (2020-11-05)

Bug Fixes

  • deps: add @google-cloud/firestore v4 as direct dep (e79b789)
  • deps: update all non-major dependencies (#38) (37a3346)
  • deps: update all non-major dependencies (#41) (77b78ef)
  • deps: update all non-major dependencies (#48) (c0042d8)
  • deps: update all non-major dependencies (#49) (dc4d847)
  • deps: update dependency firebase-admin to ^9.2.0 (#47) (156714a)
  • refresh-tokens: add scheduled cloud function to run update (d338924)

1.0.0-starter.15 (2020-07-26)

Bug Fixes

  • deps: bump @ecomplus/application-sdk@firestore (fe4fe46)
  • deps: update all non-major dependencies (#36) (b14f2e9)
  • deps: update dependency firebase-admin to v9 (#37) (204df95)

1.0.0-starter.14 (2020-06-30)

Bug Fixes

  • auth-callback: check row.setted_up in place of 'settep_up' (e2a73ca)
  • deps: update all non-major dependencies (#31) (702bee9)
  • deps: update dependency firebase-functions to ^3.7.0 (#30) (0f459a3)
  • deps: update dependency firebase-tools to ^8.4.2 (#29) (cf7e61e)
  • pkg: update deps, start using node 10 (172ed7f)

1.0.0-starter.13 (2020-06-03)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.13.0 (b424410)
  • refresh-tokens: force appSdk update tokens task (139a350)

1.0.0-starter.12 (2020-05-29)

Bug Fixes

  • deps: replace @ecomplus/application-sdk to firestore version (3d2ee85)
  • deps: update all non-major dependencies (#21) (7a370da)
  • deps: update all non-major dependencies (#26) (e37e0e8)
  • deps: update dependency uglify-js to ^3.9.2 (#20) (adccf0a)

1.0.0-starter.11 (2020-04-27)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.11.13 (70584c2)
  • setup: ensure enable token updates by default (67aea0e)

1.0.0-starter.10 (2020-04-27)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.11.11 (b8217d0)
  • deps: update all non-major dependencies (#19) (a99797a)
  • setup: do not disable updates on refresh-tokens route (b983a45)

1.0.0-starter.9 (2020-04-21)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.11.10 (8da579c)

1.0.0-starter.8 (2020-04-18)

Bug Fixes

  • deps: update all non-major dependencies (#17) (785064e)

1.0.0-starter.7 (2020-04-07)

1.0.0-starter.6 (2020-04-06)

Bug Fixes

  • deps: update all non-major dependencies (#10) (b3c65e5)
  • deps: update all non-major dependencies (#13) (33ff19b)
  • deps: update all non-major dependencies (#8) (feba5b9)
  • deps: update dependency firebase-functions to ^3.6.0 (#15) (5f7f0a2)
  • deps: update dependency firebase-tools to ^7.16.1 (#14) (b8e4798)
  • deps: update dependency firebase-tools to v8 (#16) (b72560e)
  • ecom-modules: fix parsing mod names to filenames and vice versa (99c185a)

1.0.0-starter.5 (2020-03-05)

Features

  • market-publication: handle full featured app publication to Market (28379dc)
  • static: handle static with server app files from public folder (827d000)

1.0.0-starter.4 (2020-02-21)

Features

  • calculate-shipping: basic setup for calculate shipping module (db77595)

Bug Fixes

  • home: fix replace accets regex exps to generate slug from title (198cc0b)
  • home: gen slug from pkg name or app title if not set or default (25c20bf)

1.0.0-starter.3 (2020-02-21)

1.0.0-starter.2 (2020-02-21)

Bug Fixes

  • config: stop reading app from functions config (7b9aab7)

1.0.0-starter.1 (2020-02-20)

Features

  • get-auth: endpoint to return auth id and token for external usage (40a8ae2)
  • server: also supporting passing Store Id from query (111f3a7)

Bug Fixes

  • server: remove 'routes' path when setting filename for routes (119524c)

1.0.0-starter.0 (2020-02-18)

Features

  • router: recursive read routes dir to auto setup server routes (ff2b456)

Bug Fixes

  • home: fix semver on for app.version (remove version tag if any) (ad36461)
  • middlewares: update route files exports (named exports by methods) (6a22e67)

0.1.1 (2020-02-18)

Features

  • env: get 'pkg' from functions config (bf45ec3)
  • home: set version and slug from root package, fix with uris (d4b61fa)

Bug Fixes

  • env: firebase doesnt uppercase config (502185e)
  • require: update @ecomplus/application-sdk dependency name (d4174ac)

0.1.0 (2020-02-17)

0.0.4 (2020-02-16)

Bug Fixes

  • server: update routes names (refresh-tokens) (79a2910)

0.0.3 (2020-02-15)

Features

  • server: start reading env options, handle operator token (ce107b7)
  • update-tokens: adding route to start update tokens service (no content) (20c62ec)

Bug Fixes

  • auth-callback: fix handling docRef (desn't need to get by id again) (629ca5a)
  • auth-callback: save procedures if not new, check and set 'settep_up' (#3) (4a01f86)
  • ECOM_AUTH_UPDATE_INTERVAL: disable set interval (no daemons on cloud functions) (2aa2442)
  • env: fixed to get appInfor variable (e9b1a3c)
  • env: fixed to get appInfor variable (22687e2)
  • middleware: check standard http headers for client ip (5045113)

0.0.2 (2020-02-11)

Bug Fixes

Features

  • firestore-app-boilerplate: Initial commit (c9963f0)
  • firestore-app-boilerplate: Initial commit (be493ea)
  • firestore-support: minor changes (3718cba)
  • firestore-support: refactoring to use saveProcedures function (62971ef)
  • firestore-support: removed sqlite error clausule (2d47996)
  • routes: add home route (app json) (42a3f2b)

[LEGACY] Express App Boilerplate

0.1.1 (2019-07-31)

Bug Fixes

  • procedures: fix checking for procedures array to run configureSetup (1371cdc)

0.1.0 (2019-07-31)

0.0.2 (2019-07-31)

Bug Fixes

  • chain promise catch on lib getConfig (281abf9)
  • fix mergin hidden data to config (8b64d58)
  • fix path to require 'get-config' from lib (11425b0)
  • get storeId from header and set on req object (a3bebaa)
  • handle error on get config instead of directly debug (f182589)
  • routes common fixes (2758a57)
  • using req.url (from http module) instead of req.baseUrl (d9057ca)

Features

  • authentication callback (8f18892)
  • conventional store api error handling (bcde87e)
  • function to get app config from data and hidden data (ba470f5)
  • getting store id from web.js (72f18c6)
  • handling E-Com Plus webhooks (63ba19f)
  • main js file including bin web and local (6b8a71a)
  • pre-validate body for ecom modules endpoints (f06bdb0)
  • setup app package dependencies and main.js (b2826ed)
  • setup base app.json (015599a)
  • setup daemon processes, configure store setup (db3ca8c)
  • setup procedures object (c5e8627)
  • setup web app with express (d128430)