- Convert entire library to ES5+ (NodeJS 4 compatible)
- Upgrade
sqlite3-offline
to NodeJS 4 compatible - Drop classes in favor of ES5 syntax
- Added new methods
findOneSync
&metadataSync
using callbacks - Improve
Promise.reject
handling - Update Typescript definition - added
mbtiles.db
&mbtiles.uri
- Updated documentation
- Dropped automatic conversion of JPG to JPEG (MBTiles spec uses
jpg
)
- Update
sqlite3-offline
to support the 3 latest versions of Electron - Update typescript definintions to easily declare MBTiles in a container/Object/{}
- Change tests to Tape/Tap instead of Jest
- Add Schema parameters -- allows the user to enter TMS, Quadkey or XYZ as tile format and returns that format as well.
- BREAKING CHANGE: Default Tile Schema is XYZ (before it was TMS)
- BREAKING CHANGE:
hashes()
output =>Promise<Set(number)>
- Update sqlite-offline to support NodeJS v8
- Switch to
debug
instead ofconsole.log
- Use
jpeg
in metadata instead ofjpg
(bug in GeoServer, cannot be detected as valid MBTiles)
- Add
bbox-dateline
to support malformed bbox extents (+/-180 longitudes "Fiji extent")
- Test for corrupt MBTiles
- Add more error detection
- Remove undefined, blank & null values from metadata() & update()
- Update
bounds
Typescript definition - Drop
extent
input, nowbounds
can handle BBox|BBox[]|GeoJSON
- Allow multiple extent inputs (BBox & BBox[] & GeoJSON)
- Update SQLite3-offline dependency
- Add validation method
validate()
- Auto detect Image format (png/jpg)
format()
- Auto detect min & max zoom level
getMinZoom()
&getMaxZoom()
- Auto detect bounding box
getBounds(zoom)
- Update Typescript definitions
- Add tiles as param for count
- Add tiles index
- Add tiles @param to findAll & hashes
- Improve operations on blank mbtiles
- Add hashes to quickly build an index
- Removed Sequelize for SQLite3 (offline)
- Entire rewrite of methods:
- metadata
- count
- update
- tables
- save
- Overhaul module to be Standard JS
- Removed await by
async
- Add options to
findAll
(queue, limit, offset)
- Fixed overwrite save function
Cannot read property 'destroy' of null
- Added
count
,findOne
&findAll
functions
- Handle metadata via class attributes
- Detect image type using tiletype
- Initialize library