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

v2.1.0

Latest
Compare
Choose a tag to compare
@sgammon sgammon released this 28 May 22:23
· 287 commits to master since this release
v2.1.0
2cd8e35

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)