release 1.0.0 ; add js CHANGELOG

This commit is contained in:
Brandon Liu
2022-02-18 11:36:45 +08:00
parent d257f7f57a
commit 7fb28f9690

16
js/CHANGELOG.md Normal file
View File

@@ -0,0 +1,16 @@
1.0.0
* Breaking change, introducing new TypeScript module with more clearly defined interfaces.
* Leaflet plugin API changed:
```js
const p = new pmtiles.PMTiles('example.pmtiles')
pmtiles.leafletLayer(p).addTo(map)
```
* MapLibre protocol API changed:
```js
let cache = new pmtiles.ProtocolCache();
maplibregl.addProtocol("pmtiles",cache.protocol);
```