Skip to content

Releases: ecomplus/cloud-commerce

v0.0.62

31 Aug 18:43
Compare
Choose a tag to compare

Bug Fixes

  • Properly import firebase-admin/firestore (5754bb0)

Performance Improvements

  • GH Action with wildcard pattern to cache npm deps (74f5711)

v0.0.61

31 Aug 01:47
Compare
Choose a tag to compare

Bug Fixes

  • tiny-erp: Properly set and reuse process.env.TINY_ERP_TOKEN on webhooks (4aee43a)

Features

  • Add optional tiny-erp-token input to GH Action to improve Tiny webhooks performance (0444f65)

v0.0.60

30 Aug 07:44
Compare
Choose a tag to compare

Bug Fixes

  • api: Fix typedefs for authenticated methods (may use env vars) (f4c51aa)
  • api: Fix typedefs for authenticated methods with optional config (c1938ae)
  • deps: Update all non-major dependencies (#45) (5fef410)
  • events: Must read full apiDoc even on new document events (b8cbac6)
  • events: Prevent handling multiple API events for same ID&topic at once (f7e3ba3)
  • events: Remove generic onNewOrder function [#29] (3da6a26)
  • firebase: Ensure fetch polyfill and Firebase app initialization before any function logic (09f8ad2)

Features

  • api: Check auth from env vars ECOM_AUTHENTICATION_ID and ECOM_API_KEY (0dce4e0)
  • events: Get app data on events list (scheduled) and send on PubSub message [#29] (bcdeec1)
  • events: Read API doc of respective event and send on Pub/Sub message [#29] (f8702e9)
  • firebase: Create helpers to setup Pub/Sub on publish functions (8e240c6)
  • Helper method to update app data on Store API and publish internal PubSub message [#29] (be7ab47)
  • tiny-erp: Refactor Tiny ERP handlers from https://github.com/ecomplus/app-tiny-erp (6530533)

Performance Improvements

  • events: Prevent (re)fetching application doc on data set events (3bedb45)

Reverts

  • events: Back with exported /firebase module (2613a70)

v0.0.59

24 Aug 23:47
Compare
Choose a tag to compare

Bug Fixes

  • cli: Do not create GH_TOKEN secret (set by default) (8e50e37)
  • deps: Add @google-cloud/pubsub to core @cloudcommerce/firebase dependencies (0b35b0e)
  • events: Save last run state and timestamp to Firestore (7183a55)
  • Set default GCloud region to southamerica-east1 (São Paulo) (212d04d)

Features

  • cli: Use GITHUB_TOKEN env to auto set secrets on setup (#43) (8949070)
  • events: Start publishing PubSub messages for each topic/app/event [#29] (9575d25)

Performance Improvements

  • cli: Generate GH public key base64 buffer once only (ecd2e59)

v0.0.54

19 Aug 00:50
Compare
Choose a tag to compare
chore(release): 0.0.54

v0.0.53

19 Aug 00:50
Compare
Choose a tag to compare

Bug Fixes

  • cli: Fix GCloud IAM roles with temporary serviceUsageAdmin for first deploy (3481f0c)

v0.0.52

18 Aug 22:56
Compare
Choose a tag to compare

Bug Fixes

  • cli: Fix GCloud IAM roles and properly check if service account already exists (bb23dd0)

Features

  • cli: Add --no-gcloud option to setup command to skip GCloud IAM (bbe5ce2)
  • Properly config Firebase Hosting to call modules/passport/ssr Cloud Functions (b6e6540)

v0.0.51

18 Aug 00:01
Compare
Choose a tag to compare

Bug Fixes

  • api: Update applications schema interface (af7e152)
  • cli: Must deploy with --force option for functions failure police (384d28a)
  • cli: Properly run deploy with --force option (d4d8f18)
  • cli: Setup authentication with almost all permissions (6f0ccb6)
  • Config getter/setter to work on browser and node (fedc4c8)
  • deps: Bump astro stable v1 (8f4d3cb)
  • deps: Update all non-major dependencies (#37) (5f5bb37)
  • deps: Update all non-major dependencies (#39) (56e684d)
  • Keep old (discounts) apps IDs for backport compatibility (28833af), closes #L2
  • modules: Must call insternal apps passing module body (data) (42d6d1d)
  • passport: Consider valid tokens stored with at least 2 min to expire (ac2b0b8)
  • Stop hiding cloud commerce default API key (f4389f7)

Features

  • cli: Create Google Cloud IAM account and key on setup (#40) (f532888)
  • passport: Setup Passport API token endpoint handling Firebase Auth (#38) (bd7863d)
  • types: Add AppModuleBody object definition (b4a1fbd)

Reverts

  • firebase: Remove (no more used) auth callback function (1ffe72a)

v0.0.46

05 Aug 08:08
Compare
Choose a tag to compare

Bug Fixes

  • Set Firebase Functions v2 names with one word at all (23d5f17)

v0.0.45

05 Aug 07:30
Compare
Choose a tag to compare

Bug Fixes

  • GH Action must install dependencies of each functions codebase (0e1212a)
  • GH Action must install dependencies of each functions codebase (7379f0e)
  • GH Action must install optional dependencies for functions deploy (59b281e)
  • Set Firebase Functions names with snake case (2ec6a31)