SpineEventEngine / web

Spine web server and JS client library.
https://spine.io
Apache License 2.0
1 stars 3 forks source link

Release v1.7.0 #161

Closed yuri-sergiichuk closed 3 years ago

yuri-sergiichuk commented 3 years ago

This PR does the release of the library version 1.7.0.

A public release of web-related Spine libraries.

As part of the PR, I have also updated the copyright disclaimer as per the https://github.com/SpineEventEngine/config/issues/155.

Breaking Changes

  1. The default grand_origin value must not be set for the signal Origin for the filtering anymore.

    With the #160 and upgrade to the newest version of the spine-server, the default (empty) grand_origin instance must not be set anymore. This change is already done for the JS client, but if one is using a custom solution, she must not set the default grand_origin.

  2. The firebase-web artifact no longer provides the appengine-sdk dependency (see #153 and #155).

API Changes

  1. New web test utilities.

    The testutil-web artifact now provides new test utilities that simplify the creation of pre-configured servlet requests and responses.

    If one needs an immutable HTTP request or response, she may use the KnownRequest and KnownResponse entries respectively. They allow setting a constant request or response data and headers that are not gonna be changed while the entry is being used.

    If it is required to verify that a response is modified by the underlying code, one may use the MemoizingResponse that records actions applied to it and allows getting back the modifications.

    If none of these matches the requirements, the MockedRequest and MockedResponse interfaces provide default no-op overrides for the respective HttpServletRequest and HttpServletResponse interfaces and could be implemented to match specific needs.

    See #159 for additional details.

Fixes

  1. Fixed keep-up and cancellation of Firebase subscriptions from the spine-web client (see #154).

Infrastructure

  1. The libraries now do not use implementation for compile-only annotations like errorprone annotations but use the newly introduced compileOnlyApi configuration for such dependencies (see #159).

Dependency upgrades

codecov[bot] commented 3 years ago

Codecov Report

Merging #161 (932be31) into master (7c44a94) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #161   +/-   ##
=========================================
  Coverage     60.14%   60.14%           
  Complexity      210      210           
=========================================
  Files            93       93           
  Lines          2366     2366           
  Branches         43       43           
=========================================
  Hits           1423     1423           
  Misses          932      932           
  Partials         11       11