Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Releases: Bloombox/JS

v2.1.0

28 May 22:23
v2.1.0
2cd8e35
Compare
Choose a tag to compare

Description

Follow-up to the v2.0.0 transitional release, this release (2.1.0) presents the first version of the breaking 2.1.x branch of the Bloombox JS SDK. In this version (and all future versions), gRPC will be used for underlying RPC dispatch, with the new service interface (which makes services available via api(), rather than individual methods). Additionally, various bugfixes, improvements, and test coverage enhancements made it in.

Improvements

  • Support for Bazel-based builds
  • Binary gRPC dispatch for all unary methods/operations
  • Text gRPC streaming dispatch support
  • Removed older interfaces and dependencies (for v0 APIs)
  • New caching via IndexedDB

Known Issues

This version must only be used directly as sources. Public callers of the library won't find it useful yet. It is, however, compilable via Closure compiler, using goog primitives.

Feature list in detail

  • Support for Bazel
  • Binary gRPC dispatch for unary methods, text (base64) dispatch for streaming methods
  • Major testing improvements and better coverage
  • Local storage/caching of menu data in IndexedDB

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v2.0.0.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Changelog

  • [Feature] Bazel Support (#259)
  • [Chore] Bump firebase-tools from 6.7.0 to 6.7.1 (#243)
  • [Chore] Bump mocha from 5.2.0 to 6.1.4 (#242)

Release: v2.0.0

22 Apr 00:15
v2.0.0
f2c6d0f
Compare
Choose a tag to compare

Description

This is a major release and re-architecture of the Bloombox SDK for JavaScript. In many cases this upgrade will break calls into APIs like menu retrieval, shop operations, and telemetry transmission, so please test carefully before fully upgrading.

As part of the transitional release cycle (i.e. 2.0.x, pre 2.1.x), this version will maintain fallback code to the v1beta0-version API implementations. Once 2.1.x is pushed, it will no longer contain this fallback code. Earlier versions of the library will still work fine but won't be as fast ;).

Improvements

The version 2 re-architecture allows many improvements, most notably:

  • Support for gRPC web, with binary proto encoding over the wire
  • Much wider visibility for the compiler/optimizer
  • Improved test-suite and resulting coverage
  • Unified datamodel support, rather than a manually-maintained façade for API users

Known Issues

This v2 pre-release must only be used directly as sources. Public callers of the library won't find it useful yet. It is, however, compilable via Closure compiler, using goog primitives.

Feature list in detail

  • Support for gRPC via grpc-web (#227)
    • Support for the Menu API (v1beta1)
      • retrieve, featured, product
    • Support for the Shop API (v1)
      • info, zipcheck, verify
    • Support for the Event Telemetry API (v1beta4)
      • ping, event
  • Upstream: Schema support for grpc-web (Bloombox/Schema#106)
  • Updated dependencies and many vulnerabilities fixed (#169, #169, #170, #180, #225)

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v2.0.0.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Changelog

  • [Feature] gRPC Web Support (#227)
  • [Chore] Dependency Update (#225)
  • [Security] Bump extend from 3.0.1 to 3.0.2 (#180)
  • [Security] Bump cryptiles from 3.1.2 to 3.1.4 (#170)
  • [Security] Bump stringstream from 0.0.5 to 0.0.6 (#169)
  • [Security] Bump cached-path-relative from 1.0.1 to 1.0.2 (#168)

Release Candidate: v2.0.0-rc1

21 Apr 03:35
v2.0.0-rc1
42b3a24
Compare
Choose a tag to compare
Pre-release

Description

This is the first release candidate for the version 2 re-architecture of the Bloombox SDK for JavaScript. In many cases this upgrade will break calls into APIs like menu retrieval, shop operations, and telemetry transmission, so please test carefully before fully upgrading.

As part of the transitional release cycle (i.e. 2.0.x, pre 2.1.x), the library will maintain fallback code to the v1beta0-version API implementations. Once 2.1.x is pushed, it will no longer contain this fallback code. Earlier versions of the library will still work fine but won't be as fast ;).

Improvements

The version 2 re-architecture allows many improvements, most notably:

  • Support for gRPC web, with binary proto encoding over the wire
  • Much wider visibility for the compiler/optimizer
  • Improved test-suite and resulting coverage
  • Unified datamodel support, rather than a manually-maintained façade for API users

Known Issues

As part of some of the unsolved issues (project LOCKBOX etc), this v2 pre-release must only be used directly as sources. Public callers of the library won't find it useful yet. However, this is an active area of development and will be fixed before the public v2.0.0 release.

Feature list in detail

  • Support for gRPC via grpc-web (#227)
    • Support for the Menu API (v1beta1)
      • retrieve, featured, product
    • Support for the Shop API (v1)
      • info, zipcheck, verify
    • Support for the Event Telemetry API (v1beta4)
      • ping, event
  • Upstream: Schema support for grpc-web (Bloombox/Schema#106)
  • Updated dependencies and many vulnerabilities fixed (#169, #169, #170, #180, #225)

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v2.0.0-rc1.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Changelog

  • [Feature] gRPC Web Support (#227)
  • [Chore] Dependency Update (#225)
  • [Security] Bump extend from 3.0.1 to 3.0.2 (#180)
  • [Security] Bump cryptiles from 3.1.2 to 3.1.4 (#170)
  • [Security] Bump stringstream from 0.0.5 to 0.0.6 (#169)
  • [Security] Bump cached-path-relative from 1.0.1 to 1.0.2 (#168)

Release v1.1.4

28 Dec 21:36
5aabdf1
Compare
Choose a tag to compare

Description

Bugfixes, dependency upgrades and schema upgrades.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.1.4.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Upgrade schema -> 1.5.6
  • Upgrade submodules/dependencies

Release v1.1.3

28 Dec 21:35
5aabdf1
Compare
Choose a tag to compare

Description

Bugfixes, dependency upgrades and schema upgrades.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.1.3.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Upgrade schema -> 1.5.5
  • Upgrade submodules/dependencies

Release v1.1.2

17 Oct 21:34
8d7ecb7
Compare
Choose a tag to compare

Description

Bugfixes, dependency upgrades and schema upgrades.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.1.2.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Upgrade schema -> 1.5.5
  • Upgrade submodules/dependencies
  • Upgrade telemetry to v1beta4

Release v1.1.1

18 Jun 16:12
a12e781
Compare
Choose a tag to compare

Description

Bugfixes and schema upgrades.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.1.1.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Upgrade schema -> 1.5.3
  • Upgrade submodules/dependencies

Release v1.0.6

20 Apr 18:54
de131e7
Compare
Choose a tag to compare

Description

Bugfixes related to telemetry data transmission.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.0.6.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Bugfix for b64 telemetry bug (#82)

Release v1.0.5

19 Apr 01:51
Compare
Choose a tag to compare

Description

Small improvements, dependency upgrades, and other enhancements.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.0.5.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Updated dependencies
  • Small cleanups
  • Updated schema to 1.5.1

Release v1.0.4

28 Mar 19:49
Compare
Choose a tag to compare

Description

Bugfix and schema update release. Please do not use v1.0.3 or v1.0.2.

Using this version

<!doctype html>
<html>
  <head>

  <script type="text/javascript" src="https://js.bloombox.cloud/client/v1.0.4.min.js"></script>
  <script type="text/javascript">
    bloombox.setup("<partner>", "<location>", "<apikey>", function() {
      // use the library
    });
  </script>

  [...]

Feature list in detail

  • Fixed lots of bugs
  • Eliminated unused code
  • Updated schema to pre-release 1.5.0