Skip to content

Releases: jaydenseric/google-static-maps-styler-query

Version 6.0.0

10 Feb 02:01

Choose a tag to compare

Major

  • Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0.
  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.
  • Removed ./package from the package exports field; the full package.json filename must be used in a require path.
  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.
  • Implemented TypeScript types via JSDoc comments.

Minor

  • Added the main ./googleStaticMapsStylerQuery.mjs module to the package exports field to allow it to be deep imported.

Patch

  • Also run GitHub Actions CI with Node.js v17.
  • Simplified package scripts.
  • Simplified dev dependencies and config for ESLint.
  • Check TypeScript types via a new package types script.
  • Removed the jsdoc-md dev dependency and the related package scripts, replacing the readme “API” section with manually written “Examples” and “Exports” sections.
  • Reorganized the test file structure.
  • Test the bundle sizes for public modules individually.
  • Use a new assertBundleSize function to assert module bundle size in tests:
    • Failure message contains details about the bundle size and how much the limit was exceeded.
    • Errors when the surplus is greater than 25% of the limit, suggesting the limit should be reduced.
    • Resolves the minified bundle and its gzipped size for debugging in tests.
  • More reliable string coercion within the googleStaticMapsStylerQuery function.
  • Configured Prettier option singleQuote to the default, false.
  • Added a license.md MIT License file.
  • Improved documentation.

Version 5.0.0

25 May 07:15

Choose a tag to compare

Major

  • Updated Node.js support to ^12.20 || >= 14.13.
  • Stopped supporting Internet Explorer.
  • Updated dev dependencies, some of which require newer Node.js versions than were previously supported.
  • Added a package exports field.
  • Added a package sideEffects field.
  • Published code now contains more modern ES syntax.
  • The tests are now ESM in .mjs files instead of CJS in a .js file.

Patch

  • Simplified JSDoc related package scripts now that jsdoc-md v10+ automatically generates a Prettier formatted readme.
  • Added a package test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.
  • Stop using hard-rejection to detect unhandled Promise rejections in tests, as Node.js v15+ does this natively.
  • Test the bundle size manually using esbuild and gzip-size, removing size-limit related dev dependencies, config, and scripts.
  • More specific package main field path.
  • Updated GitHub Actions CI config:
    • Run tests with Node.js v12, v14, v16.
    • Updated actions/checkout to v2.
    • Updated actions/setup-node to v2.
    • Use the simpler npm install-test command.
    • Don’t specify the CI environment variable as it’s set by default.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • Documentation improvements.
  • The file changelog.md is no longer published.

Version 4.0.0

02 Jun 01:59

Choose a tag to compare

Major

  • Updated Node.js support to ^10.13.0 || ^12.0.0 || >= 13.7.
  • Updated dev dependencies, some of which require newer Node.js versions than were previously supported.

Patch

  • Ensure GitHub Actions run on pull request.
  • Also run GitHub Actions in Node.js v14 and drop v13.
  • Updated Prettier config and scripts.
  • Updated the .editorconfig file.

Version 3.0.0

02 Jan 00:35

Choose a tag to compare

Major

  • Support Node.js v10+, from v8+. This mostly applies to this project’s development environment.
  • The published files have been reorganized.
  • The package now exports a single default export, instead of a named export.
  • ESM is no longer published.

Minor

  • Setup GitHub Sponsors funding:
    • Added .github/funding.yml to display a sponsor button in GitHub.
    • Added a package.json funding field to enable npm CLI funding features.

Patch

  • Updated dev dependencies.
  • Setup eslint-plugin-compat.
  • Replaced the size-limit dev dependency with @size-limit/preset-small-lib.
  • Removed the now redundant eslint-plugin-import-order-alphabetical dev dependency.
  • Stop using husky and lint-staged.
  • Added tests using new test-director, coverage-node and hard-rejection dev dependencies.
  • Refactored source to CJS, removed the build scripts and Babel related tooling.
  • Removed the package sideEffects field.
  • Removed package-lock.json from .gitignore and .prettierignore as it’s disabled in .npmrc anyway.
  • Use GitHub Actions instead of Travis for CI.
  • Tweaked the setup instructions.
  • Clarified that Opera Mini isn’t supported in the Browserslist queries and readme “Support” section.
  • Tweaked the JSDoc and simplified the example.

Version 2.0.0

01 Aug 23:46

Choose a tag to compare

Major

  • Support Node.js >= v8.
  • New project file structure.
  • Changed the single default export to a named googleStaticMapsStylerQuery export.
  • Use .mjs for source files, as well as the prepared ESM files.
  • Dropped the package module field.
  • No longer publishing source code and source maps.

Patch

  • Added changelog.md.
  • Changed a let to a const.
  • Removed yarn.lock and Yarn installation instructions in the readme.
  • Redid the readme.
  • Setup Travis.
  • Replaced Rollup with the Babel CLI.
  • Use jsdoc-md to automatically populate a new readme “API” section from source code JSDoc.
  • Replaced standard with eslint-config-env.
  • Use prettier lint a variety of project files.
  • Use size-limit to test the package bundle size.
  • Use husky and lint-staged to lint on commit.
  • Overhaul the package scripts:
    • Added a clean script.
    • Added a prepare script, so forks can be installed via Git.
    • Added a test script.
  • Moved dev tool config from package.json to separate files, except for a new browserslist field.
  • Added "sideEffects": false to package.json.
  • Simplified the package.json repository field.
  • Use HTTPS for the package.json author.url field.

Version 1.0.0

19 Mar 06:50

Choose a tag to compare

First release.