Skip to content

Latest commit

 

History

History
225 lines (139 loc) · 5.22 KB

CHANGELOG.md

File metadata and controls

225 lines (139 loc) · 5.22 KB

4.0.2

Fix vector map labels

  • Fix vector map labels not being rendered with 100% opacity

4.0.1

Fix vectorserverUrl

  • Fix vectorserverUrl option was never returning the image
  • Change equal default zoom for vector and raster tiles

4.0.0

Change commonjs to nodejs modules

  • Breaking: Change commonjs to nodejs modules
  • Upgrade all dependencies to latest versions
  • Fix imagemin missing binary
  • Change oxipng compression to level 0

3.11.2

Improve docker files

  • Add prod config without volumes and autoreload

3.11.1

Better dependencies pinning

  • Uningnored package-lock.json to better pin dependencies

3.11.0

Improve speed

  • Speed up results:
    • Add cache to resolve faster tilesets in sample-server
    • Correct default tile url to use https to avoid redirection
    • Remove unnecessary network wait. Change it to wait for map load event
    • Remove tile fade-in effect to be able to resolve earlier
  • Upgrade all dependencies to latest versions
  • Removed not-working heroku demo
  • Removed validation that broke the /dynamic endpoint

3.10.3

Support AWS functions hotfix

  • Move dependencies right.

3.10.2

Support AWS functions

  • Move dependencies to dev to conform the 50Mib limit

3.10.1

Hotfix

  • Fix broken local puppeteer

3.10.0

Add support to vercel api functions

  • Use chrome-aws-lambda as alternative to base puppeteer

3.9.1

Maintenance

  • Upgrade dependencies to latest versions

3.9.0

Read geojson from file or stdin

  • Add new option -f to read geojson from file, stdin (-) or url
  • Fix issue on console error misses, add haltOnConsoleError option
  • Prevent HTML/JS injection vulnerability in sample server
  • Upgrade dependencies

3.8.1

Maintenance

  • Upgrade dependencies, outstandingly puppeteer from 3.x to 5.x
  • Improve sample-server logging client information

3.8.0

Add styling options to features

  • Add per feature and global style configuration option
  • Add timeout option
  • Add Dockerfile kanji font support
  • Add geojson typescript type
  • Fix arrows argument crashing lib
  • Update all dependencies to the latest version

3.7.0

Add serve command to CLI

  • Add serve subcommand to CLI
  • Fix sample-server
  • Updated all dependencies to latest version

3.6.0

New CLI interface, puppeteer singleton

  • Add CLI interface
  • Fix sample server using too many resources, make headless browser singleton
  • Updated all dependencies to latest version
  • Refactored README
  • Refactored project directory structure

3.5.1

Fix geojson option

  • Fix geojson option being an object was not being parsed right and throwed an error

3.5.0

Add scale and marker icon options

  • Add scale parameter to render a scale ruler
  • Add marker icon options

3.4.1

Improve code reliability

  • Improved requirements' path resolution: use builtin require() function instead of relying in custom paths
  • Updated all dependencies to latest version
  • Fix center parameter issue in sample server

3.4.0

Add typescript definitions, allow POST in server

  • Add typescript definitions
  • Allow sample-server to use POST json enconded body to get the parameters
  • Allow library to be called without any arguments

3.3.0

Add arrows option on linestrings

  • Add arrows boolean option to show the direction of each linestring inside the geojson
  • Updated all dependencies to latest version
  • Improved nodemon to watch html template file
  • Remove annoying package-lock.json and pin all versions directly

3.2.0

Add optional lossless compresion

  • Add imagemin boolean option to lossless compress the result image using imagemin (optipng / jpegtran)
  • Add oxipng boolean option to lossless compress the result image using oxipng (only for png images) (searches in /root/.cargo/bin/oxipng, see how to install it in Dockerfile)

3.1.1

Bugfixing

  • Fix bug wrong zooming when no geojson
  • Default to different zoom levels depending on vector vs raster tiles

3.1.0

Add mapbox vector tiles and expose more options

  • Add CHANGELOG file to track version changes
  • Add vectorserverUrl and vectorserverToken options for taking a screenshot using Mapbox Vector Tiles (MVT) Layer (style.json)
  • Expose center option
  • Expose zoom andmaxZoom options
  • Expose attribution option to set the legend / copyright
  • Expose renderToHtml option
  • Expose type and quality to control returned image format

3.0.0

Upgrade packages and improve speed

  • Replace unmaintained node-webshot with puppeteer
  • Upgrade all dependencies, including leaflet
  • Fix bug geojson Points were not being rendered
  • Add docker-compose support
  • Upgrade heroku config to latest CEDAR stack

2.1.0

Add options

  • Add tileserverUrl option
  • Add Dockerfile

2.0.0

Make it reusable as a library

  • Refactored to be a npm library
  • Publish package in npm
  • Started using semver

1.0.0

Improve reliability for a stable release

  • Serve leaflet locally instead of using a cdn
  • Upgrade packages to latest versions
  • Improve readme

0.0.1

Initial useful version.

  • Express application that takes a screenshot of a geojson over a leafletmap with parameters geojson, height, width
  • Published in heroku