Skip to content

Releases: ngageoint/geopackage-js

4.2.6

17 May 17:43
1b3841f
Compare
Choose a tag to compare

This release updates the file-type dependency to address CVE-2022-36313.

4.2.5

27 Feb 06:08
Compare
Choose a tag to compare

4.2.5

  • Fix a bug that set undefined on sql.js prepared statement values causing sql.js to throw an error.
  • Update better-sqlite3 dependency to 9.x.
  • Make properties parameter optional in signature of createMediaTable() method.
  • Add stack trace to error log when loading SQLite adapter.

4.2.4

07 Apr 17:55
Compare
Choose a tag to compare
  • Update CanvasKit libs with libs from develop to fix runtime error in Node 18:
error initializing CanvasKit: TypeError: Failed to parse URL from /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.wasm
    at Object.fetch (node:internal/deps/undici/undici:14152:11) {
  [cause]: TypeError: Invalid URL
      at new NodeError (node:internal/errors:399:5)
      at URL.onParseError (node:internal/url:565:9)
      at new URL (node:internal/url:645:5)
      at new Request (node:internal/deps/undici/undici:6947:25)
      at fetch2 (node:internal/deps/undici/undici:13315:25)
      at Object.fetch (node:internal/deps/undici/undici:14150:18)
      at fetch (node:internal/process/pre_execution:237:25)
      at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940488
      at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940858
      at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940906
      at /Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvasKitCanvasAdapter.ts:5:491
      at new Promise (<anonymous>)
      at CanvasKitCanvasAdapter.initialize (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvasKitCanvasAdapter.ts:5:358)
      at Function.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:30363)
      at step (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:28732)
      at Object.next (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:25730)
      at /Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:24895
      at new Promise (<anonymous>)
      at __awaiter (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:24120)
      at Function.Canvas.initializeAdapter (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:29818)
      at Function.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:26751)
      at step (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:25175)
      at Object.next (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:22083)
      at /Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:21227
      at new Promise (<anonymous>)
      at __awaiter (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:20434)
      at Function.Context.initializeContext (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:26475)
      at Object.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:44:46)
      at step (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:32:23)
      at Object.next (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:13:53)
      at /Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:7:71
      at new Promise (<anonymous>)
      at __awaiter (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:3:12)
      at Context.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:39:29)
      at callFn (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runnable.js:387:21)
      at Hook.Runnable.run (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runnable.js:379:7)
      at next (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runner.js:384:10)
      at Immediate.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runner.js:425:5)
      at processImmediate (node:internal/timers:476:21) {
    input: '/Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.wasm',
    code: 'ERR_INVALID_URL'
  }

5.0.0-beta

02 Feb 20:01
Compare
Choose a tag to compare
5.0.0-beta Pre-release
Pre-release

Major rework of GeoPackage JS library to sync up API with GeoPackage Java v6.4.0.

  • GeoPackage JS's API has been updated to more closely match GeoPackage Java v6.4.0
    • Not yet implemented: 2D Gridded Tile Coverage Extension and OGC API Feature Generator
  • GeoPackageExtensions is now ExtensionManager
  • GeoPackageAPI is now GeoPackageManager
  • Added FeatureTileTableLink extension
  • Added support for extended geometry types
  • Added Properties extension
  • Added ZoomOther extension
  • Added support for drawing extended geometry types
  • Updated to use NGA simple features javascript libraries
  • Updated to use NGA projections javascript library
  • Added UserCustomRow
  • Reworked UserRow, UserTable, and UserColumn and updated all super types
  • Added in FeatureConnection, TileConnection, AttributesConnection and UserCustomConnections.
  • Added GeoPackageCache
  • Utilize ResultSet and Iterators with Database functions to prevent memory issues.

4.2.3

28 Oct 15:36
Compare
Choose a tag to compare
  • Fix cached geometry error

4.2.2

25 Aug 16:05
Compare
Choose a tag to compare
4.2.2
  • fix simplify error

4.1.0

25 Apr 20:59
Compare
Choose a tag to compare

3.0.9

13 Jan 20:25
Compare
Choose a tag to compare
3.0.9
  • Bug fix for null colors

3.0.8

13 Jan 16:49
Compare
Choose a tag to compare
3.0.8
  • If a null color is set on the FeatureTiles class, the color will be reset to the initial default of #000000FF

3.0.7

23 Nov 20:08
Compare
Choose a tag to compare

Styles that are set on the FeatureTiles class will now override all GeoPackage styles