pmtiles-swarm 0.99.0 → 0.99.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@
7
7
  ### 🐞 Bug fixes
8
8
  - _...Add new stuff here..._
9
9
 
10
+ ## 0.99.1
11
+ ### ✨ Features and improvements
12
+
13
+ ### 🐞 Bug fixes
14
+ - **The sidecar stops segfaulting, which is what left a library half loaded after a restart.**
15
+ `pmtiles-torrent` 0.11.1. The traceback 0.99.0 made possible named the same frame every time: the
16
+ alert pump, inside `session.wait_for_alert()`. That call hands back a borrowed pointer to an
17
+ alert which the next `pop_alerts()` — the following statement — invalidates, and nothing ever
18
+ read the return value; it was only a way to sleep. The pump waits on its own stop event now.
19
+
20
+ This is the cause behind the `not loaded` archives, not another symptom of them. Each crash took
21
+ whatever restore had handed over before it, because the replacement sidecar holds none of it, so
22
+ the archives restored first were the ones that came back missing. The node stops that leaving a
23
+ mark either way — it hands them back — but they should now not be dropped in the first place.
24
+
25
+ Sidecar shutdown is quicker too: the pump answers the stop at once, where the old wait had to be
26
+ sat through to the end of its timeout.
27
+
10
28
  ## 0.99.0
11
29
  ### ✨ Features and improvements
12
30
  - **A sidecar crash now names the frame it happened in.** `pmtiles-torrent` 0.11.0 arms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmtiles-swarm",
3
- "version": "0.99.0",
3
+ "version": "0.99.1",
4
4
  "description": "BitTorrent distribution for PMTiles map archives: create torrents, watch folders, publish and subscribe to RSS feeds, and seed through qBittorrent or an embedded client",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -49,7 +49,7 @@
49
49
  "maplibre-gl": "^6.2.0",
50
50
  "parse-torrent": "^11.0.24",
51
51
  "pmtiles": "^4.4.1",
52
- "pmtiles-torrent": "^0.11.0",
52
+ "pmtiles-torrent": "^0.11.1",
53
53
  "webtorrent": "^3.0.21"
54
54
  },
55
55
  "engines": {