All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.8.0 (2025-04-23)
- add
min_kg_weightfilter option on shipping rules (9692b15)
1.7.0 (2025-03-20)
- new option to hardset package weight up to 50kg (mandae limit) (4bc6b43)
- fix checking rules max weight (da4fd6d)
1.6.0 (2025-03-13)
- add
max_kg_weightfilter option on shipping rules (3cfc5aa)
1.5.1 (2025-03-08)
1.5.0 (2025-03-08)
- calculate-shipping: use bigger box as calculate option (40cd424)
- ecom-config: set option to fix value in shipping rule (580ee1a)
- route: set route to mandae tracking (9180c40)
- update check tracking cron to re-export orders when tracking id (invoice) is changed (4374571)
- also removing mandae webhook endpoint in favor of cron tracking (2a0545b)
- better debugging order export errors (a457b29)
- cleaning config options and edge cases on warehouses implementation (31e9b0b)
- deps: update all non-major (9567c54)
- deps: update all non-major (#65) (254a85f)
- deps: update all non-major (#67) (2d59cc5)
- deps: update dependency dotenv to ^16.3.1 (57bf30b)
- deps: update dependency dotenv to ^16.4.1 (b3be090)
- deps: update firebase-tools to v11 (e461a0c)
- do not fail order export on tag already created by id (5e860e1)
- double check already saved tracking code on current order (943ebf5)
- export order with address borough "Centro" as default value if undefined (ddd750e)
- fix calculate shipping with configured warehouses (check zip range) (83db61d)
- fix data updating shipping line on order export (0b94cc0)
- format carrier doc number (39185c2)
- list stores from auths up to 48h (62ba933)
- list stores from auths up to 48h (a115df6)
- parsing additional mandae status to
returned(7ee83d2) - prevent interrumpting orders export queue with some invalid body (5ebf1c8)
- prevent interrumpting orders status import with some 404 (2c41ad6)
- prevent running orders tracking for unecessary stores (require tracking prefix) (1361fae)
- properly sending waiting orders to mandae (85cdeda)
- refactored check orders tracking routine (1580b36)
- run orders tracking and taging twice an hour, swap orders list sort order each execution (d681e31)
- stop considering "Encomenda coletada" as shipped on status import (44e5526)
- tracking-code: request response with apropriate treatment (0e04530)
- tracking-codes: set right requested url to get specific invoice (664cdf4)
- trim order invoice numbers to tracking id (afecc8c)
- update-tracking: cronjob with fixed array result (446fb2c)
- using tracking code object tag to prevent resending orders (d299d0a)
1.4.0 (2023-09-08)
- new optional carrier name and doc config per service (550c925)
1.3.1 (2023-09-05)
- calculate-shipping: do not insert additional value on free shipping rule (#45) (3f9bd51)
- calculate-shipping: return shipping services with
service_code(#39) [#40] (3142eea) - calculate-shipping: use ecomutils to get correct price (b282803)
- deps: update all non-major (a7a4275)
- deps: update all non-major (9b7b5f1)
- deps: update all non-major (115a50d)
- deps: update all non-major (b1b78b3)
- deps: update all non-major (32cfe02)
- deps: update dependency dotenv to ^16.1.3 (3f2a3ff)
1.3.0 (2022-03-14)
- calculate-shipping: must return full shipping address (#4) (e213850)
- deps: update @ecomplus/application-sdk to v1.15.5 firestore (f9c4c9d)
- deps: update all non-major (80d3b66)
- deps: update all non-major (15afa6c)
- deps: update all non-major (70ada42)
- deps: update all non-major (b2829b9)
- deps: update dependency @ecomplus/application-sdk to ^22.0.0-firestore.1.15.6 (b5fcb5b)
- deps: update dependency dotenv to v16 (#26) [skip ci] (7f78743)
- deps: update dependency firebase-admin to v10 (#14) [skip ci] (6dbd289)
- deps: update dependency firebase-functions to ^3.15.5 (36258f8)
- deps: update dependency firebase-tools to ^9.17.0 (c3ce0e6)
- deps: update dependency uglify-js to ^3.14.3 (3cd1111)
- deps: update dependency uglify-js to ^3.15.0 (954f11b)
1.2.0 (2021-08-03)
1.1.0 (2021-08-02)
- calculate-shipping: must set subtotal with sum of price * quantity (609d5b7)
1.0.0-starter.24 (2021-06-24)
- deps: update functions non-major dependencies (dca0a11)
- webhooks: handle auth not found error to prevent webhook retries (5082a7d)
1.0.0-starter.23 (2021-06-15)
- deps: update @ecomplus/application-sdk to v1.14.11 (c7d8cd0)
- deps: update dependency dotenv to v10 (#90) (47104be)
1.0.0-starter.22 (2021-05-07)
- deps: update @ecomplus/application-sdk to v1.14.10 (c6f25f2)
- env: try FIREBASE_CONFIG json when GCLOUD_PROJECT unset (92cfb16)
1.0.0-starter.21 (2021-05-07)
- deps: update @ecomplus/application-sdk to v1.14.9 (1df5166)
- env: try both GCP_PROJECT and GCLOUD_PROJECT (obsolete) (9e53963)
1.0.0-starter.20 (2021-04-30)
1.0.0-starter.19 (2021-04-05)
1.0.0-starter.18 (2021-04-03)
- functions: using node v12 engine (96a9ed6)
- deps: update all non-major dependencies (#73) (c90e4bd)
- deps: update all non-major dependencies (#75) (37454b3)
1.0.0-starter.17 (2021-02-14)
- modules: start examples and mocks for discounts and payment modules (#66) (ec388a8)
- update-app-data: setup commum updateAppData method to store api lib (888c28f)
- deps: update all non-major dependencies (#53) (d8b6bf3)
- deps: update all non-major dependencies (#54) (46bbafd)
- deps: update all non-major dependencies (#55) (470d6ed)
- deps: update all non-major dependencies (#56) (a2382fc)
- deps: update all non-major dependencies (#58) (bf4c575)
- deps: update all non-major dependencies (#59) (e5545d7)
- deps: update all non-major dependencies (#68) (40f8c6f)
- deps: update all non-major dependencies (#69) (c01a26b)
- deps: update all non-major dependencies (#70) (712fdc3)
- deps: update dependency firebase-tools to ^9.2.0 (#65) (eb84885)
- deps: update dependency firebase-tools to v9 (#61) (dffdf35)
1.0.0-starter.16 (2020-11-05)
- 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)
- 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)
- auth-callback: check
row.setted_upin 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)
- 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)
- 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)
- 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)
- 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)
- deps: update @ecomplus/application-sdk to v1.11.10 (8da579c)
1.0.0-starter.8 (2020-04-18)
1.0.0-starter.7 (2020-04-07)
1.0.0-starter.6 (2020-04-06)
- 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)
- 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)
- calculate-shipping: basic setup for calculate shipping module (db77595)
- 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)
- config: stop reading app from functions config (7b9aab7)
1.0.0-starter.1 (2020-02-20)
- get-auth: endpoint to return auth id and token for external usage (40a8ae2)
- server: also supporting passing Store Id from query (111f3a7)
- server: remove 'routes' path when setting filename for routes (119524c)
1.0.0-starter.0 (2020-02-18)
- router: recursive read routes dir to auto setup server routes (ff2b456)
- 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)
- env: get 'pkg' from functions config (bf45ec3)
- home: set version and slug from root package, fix with uris (d4b61fa)
- 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)
- server: update routes names (refresh-tokens) (79a2910)
0.0.3 (2020-02-15)
- server: start reading env options, handle operator token (ce107b7)
- update-tokens: adding route to start update tokens service (no content) (20c62ec)
- 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)
- lib: remove unecessary/incorrect requires with new deps (69f2b77)
- routes: fix handling appSdk (param) (0cf2dde)
- setup: added initializeApp() to firebase admin (e941e59)
- setup: manually setup ecomplus-app-sdk with firestore (64e49f8)
- setup: manually setup ecomplus-app-sdk with firestore (c718bd0)
- setup: manually setup ecomplus-app-sdk with firestore (33909bf), closes /github.com/ecomclub/ecomplus-app-sdk/blob/master/main.js#L45
- startup: setup routes after appSdk ready, add home route (d182555)
- 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)
0.1.1 (2019-07-31)
- procedures: fix checking for procedures array to run configureSetup (1371cdc)
0.1.0 (2019-07-31)
- 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)
- 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)