loading fixes: fix pages loaded from wacz files having the wrong timestamp, more efficent loading of wacz files even if HEAD method is not supported (from wabac.js 2.6.6)

docs: embedding: add that relative paths are relative to replayBase
bump to 3.1.12
This commit is contained in:
Ilya Kreymer
2021-03-18 21:05:18 -07:00
parent f35776e165
commit d86ab8300b
7 changed files with 17 additions and 11 deletions
+6
View File
@@ -1,5 +1,11 @@
## CHANGES ## CHANGES
v1.3.12
- Loading: Fix bug with pages from WACZ files showing loading time, instead of actual timestamp.
- Loading: WACZ loading works efficiently even when HEAD method is not supported.
- Documentation: Updated Documentation with new images, troubleshooting and updated embed guide.
- Dependencies: wabac 2.6.6
v1.3.11 v1.3.11
- Loading: Fix regression in indexing of WARCs, including ignoring metadata records that were accidentally being indexed. - Loading: Fix regression in indexing of WARCs, including ignoring metadata records that were accidentally being indexed.
- Loading: Add periodic ping when loading to avoid serviceworker shutdown in Firefox. - Loading: Add periodic ping when loading to avoid serviceworker shutdown in Firefox.
+1 -1
View File
@@ -24,7 +24,7 @@ plugins:
version: version:
- 1.3.11 - 1.3.12
#baseUrl: '/' #baseUrl: '/'
+1 -1
View File
@@ -62,7 +62,7 @@ The `<replay-web-page>` tag is a web component and supports a number of addition
| Attribute | Description | | Attribute | Description |
|:-------------|:-----------------| |:-------------|:-----------------|
| `source` | Source URL for the archive file. It should be a URL in one of the [supported formats](/docs/formats) loaded from one of the [support locations](/docs/locations) and is required. | | `source` | Source URL for the archive file. It should be a URL in one of the [supported formats](/docs/formats) loaded from one of the [support locations](/docs/locations) and is required. If it is a relative URL, it will be evaluated relative to `replayBase`. |
| `url` | The starting URL to load from the archive. If omitted, will start with the page list or URL search view. | | `url` | The starting URL to load from the archive. If omitted, will start with the page list or URL search view. |
| `ts` | The timestamp of the starting URL to load. If omitted, the latest available version is used. | | `ts` | The timestamp of the starting URL to load. If omitted, the latest available version is used. |
| `deepLink` | (`true` / `false`) if set to true, allow 'deep linking' to exact pages in the embed, besides the starting URL. | | `deepLink` | (`true` / `false`) if set to true, allow 'deep linking' to exact pages in the embed, besides the starting URL. |
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"name": "replaywebpage", "name": "replaywebpage",
"productName": "ReplayWeb.page", "productName": "ReplayWeb.page",
"version": "1.3.11", "version": "1.3.12",
"description": "Serverless Web Archive Replay", "description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page", "repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/", "homepage": "https://replayweb.page/",
@@ -9,7 +9,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.13.0", "@fortawesome/fontawesome-free": "^5.13.0",
"@webrecorder/wabac": "^2.6.5", "@webrecorder/wabac": "^2.6.6",
"bulma": "^0.9.0", "bulma": "^0.9.0",
"electron-log": "^4.3.0", "electron-log": "^4.3.0",
"electron-updater": "^4.3.5", "electron-updater": "^4.3.5",
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -387,7 +387,7 @@ const oe=new WeakMap,ne=v(e=>t=>{if(!(t instanceof D))throw new Error("unsafeSVG
<div style="display: flex"> <div style="display: flex">
<div class="has-text-centered" style="width: 220px"> <div class="has-text-centered" style="width: 220px">
<wr-anim-logo class="logo" size="48px"></wr-anim-logo> <wr-anim-logo class="logo" size="48px"></wr-anim-logo>
<div style="font-size: smaller; margin-bottom: 1em">${pe?"App":""} v${"1.3.11"}</div> <div style="font-size: smaller; margin-bottom: 1em">${pe?"App":""} v${"1.3.12"}</div>
</div> </div>
${pe?q` ${pe?q`
@@ -1166,7 +1166,7 @@ const oe=new WeakMap,ne=v(e=>t=>{if(!(t instanceof D))throw new Error("unsafeSVG
<a href="#" role="button" class="dropdown-item" @click="${this.onAbout}"> <a href="#" role="button" class="dropdown-item" @click="${this.onAbout}">
<fa-icon class="menu-logo" size="1.0rem" aria-hidden="true" .svg=${this.appLogo}></fa-icon> <fa-icon class="menu-logo" size="1.0rem" aria-hidden="true" .svg=${this.appLogo}></fa-icon>
<span>&nbsp;About ${this.appName}</span> <span>&nbsp;About ${this.appName}</span>
<span class="menu-version">(${"1.3.11"})</span> <span class="menu-version">(${"1.3.12"})</span>
</a> </a>
</div> </div>
</div> </div>
+4 -4
View File
@@ -760,10 +760,10 @@
"@webassemblyjs/wast-parser" "1.9.0" "@webassemblyjs/wast-parser" "1.9.0"
"@xtuc/long" "4.2.2" "@xtuc/long" "4.2.2"
"@webrecorder/wabac@^2.6.5": "@webrecorder/wabac@^2.6.6":
version "2.6.5" version "2.6.6"
resolved "https://registry.yarnpkg.com/@webrecorder/wabac/-/wabac-2.6.5.tgz#d765adde075dfebed6e7ea849a22d0693142dfbb" resolved "https://registry.yarnpkg.com/@webrecorder/wabac/-/wabac-2.6.6.tgz#128924cb9584dc6f5f73c38b409db13ea84bec54"
integrity sha512-h3J0tp8lGQPF3ovSMsO6pOORuW6QMDirTiNDxF/ekqLpnV+kvfYM484BbEzf54VO8jwb/MgC81IYKH6YaVjAgA== integrity sha512-jB4ml0HG1A9vwTwMEklSYuLzNqIQZ+/+vxCflhkkZdfTKoltp3zr7Gtiy0/g5r1Or+gia4FPHggJP3IoZEhnYw==
dependencies: dependencies:
"@webrecorder/wombat" "^3.1.2" "@webrecorder/wombat" "^3.1.2"
brotli "github:foliojs/brotli.js" brotli "github:foliojs/brotli.js"