Skip to content

Latest commit

 

History

History
140 lines (114 loc) · 4.51 KB

CHANGELOG.md

File metadata and controls

140 lines (114 loc) · 4.51 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • accept_substitute data to order items.
  • options data to order items.

Changed

  • Bump Airtable JS library version number to 0.11.1.
  • Bump lodash version number to 4.17.21.
  • Bump glob-parent version number to 5.1.2.
  • Bump tar version number to 4.4.19.
  • Bump normalize-url version number to 4.5.1.
  • Bump path-parse version number to 1.0.7.
  • Bump hosted-git-info version number to 2.8.9.
  • Replace Airtable order view environment variable with a hardcoded value.
  • Replace Airtable order items view environment variable with a hardcoded value.

0.9.0 - 2021-04-25

Added

  • Stripe shipping feature.

Changed

  • Bump ini version number to 1.3.8.
  • Route files location.
  • Index file location.

Removed

  • Shipping fee line item feature.

0.8.0 - 2021-04-04

Added

  • Shipping product details to shipping module.
  • Fee line item feature.
  • Shipping enable/disable feature.
  • Tip amount feature.

Changed

  • Rename some constants in order module.
  • Improve shipping fee code.

Fixed

  • Line items subtotal calculation in line items module processedLineItems function.

0.7.0 - 2020-11-08

Added

  • Shipping product type check function to shipping module.
  • Order and order item models.

Changed

  • Update checkout session models constructors.

0.6.0 - 2020-11-04

Added

  • .env file to gitignore.
  • An improved router module.
  • License to package.json.

Changed

  • Update .env.dist file.
  • Update root path in bootstrap module globals function.

Removed

  • index.html and now.json files.

0.5.0 - 2020-11-01

Added

  • Stripe promotion code function.
  • Stripe webhooks functions.
  • Data expansion feature to Stripe checkoutSession function.
  • Stripe checkout session creation mode to payload data.
  • Stripe completed checkout session order records creation on Airtable.

Changed

  • Replace checkout line items deprecated data parameters with price_data.
  • Bump Stripe Node.js library version number to 8.107.0.

0.4.0 - 2020-10-06

Added

  • An environment variable to enable/disable promotion codes.
  • An environment variable to change Payment Intent capture method.

Changed

  • Refactor crypto module ctrKey function.

0.3.0 - 2020-10-05

Added

  • Shipping fee feature.

Changed

  • Replace checkout line items amount code field with encrypted amount field.
  • Rename checkout lines items id field to product_id.
  • Refactor checkout line items amount functions.
  • Enable promotion codes feature.
  • Bump argon2 version number to 0.27.0.

Removed

  • Checkout line items data validation.
  • Checkout line items fields mapping.

0.2.0 - 2020-10-04

Added

  • Shipping address allowed countries feature.
  • gitignore file.
  • Add error logging to routes.

Changed

  • Session create endpoint request data structure.
  • Rename project.
  • Bump lodash version number to 4.17.20.
  • Rename routes.
  • Refactor routes.
  • Move Stripe module line items data processing code to a separate module and refactor code accordingly.
  • Refactor Stripe module create checkout session function.

Fixed

  • Handling of line items quantity default value.
  • now.json indentation.
  • Handling line items multiple images.
  • Add a missing break statement to Stripe function processedLineItems switch statement.
  • Add some missing Async/Await keywords to Stripe module.

0.1.0 - 2020-04-27

Added

  • Initial release.