Releases: jaydenseric/google-static-maps-styler-query
Releases · jaydenseric/google-static-maps-styler-query
Version 6.0.0
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
./packagefrom the packageexportsfield; the fullpackage.jsonfilename must be used in arequirepath. - The API is now ESM in
.mjsfiles instead of CJS in.jsfiles, accessible viaimportbut notrequire. - Implemented TypeScript types via JSDoc comments.
Minor
- Added the main
./googleStaticMapsStylerQuery.mjsmodule to the packageexportsfield 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
typesscript. - Removed the
jsdoc-mddev 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
assertBundleSizefunction 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
googleStaticMapsStylerQueryfunction. - Configured Prettier option
singleQuoteto the default,false. - Added a
license.mdMIT License file. - Improved documentation.
Version 5.0.0
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
exportsfield. - Added a package
sideEffectsfield. - Published code now contains more modern ES syntax.
- The tests are now ESM in
.mjsfiles instead of CJS in a.jsfile.
Patch
- Simplified JSDoc related package scripts now that
jsdoc-mdv10+ automatically generates a Prettier formatted readme. - Added a package
test:jsdocscript that checks the readme API docs are up to date with the source JSDoc. - Stop using
hard-rejectionto detect unhandledPromiserejections in tests, as Node.js v15+ does this natively. - Test the bundle size manually using
esbuildandgzip-size, removingsize-limitrelated dev dependencies, config, and scripts. - More specific package
mainfield path. - Updated GitHub Actions CI config:
- Run tests with Node.js v12, v14, v16.
- Updated
actions/checkoutto v2. - Updated
actions/setup-nodeto v2. - Use the simpler
npm install-testcommand. - Don’t specify the
CIenvironment variable as it’s set by default.
- Removed
npm-debug.logfrom the.gitignorefile as npm v4.2.0+ doesn’t create it in the current working directory. - Documentation improvements.
- The file
changelog.mdis no longer published.
Version 4.0.0
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
.editorconfigfile.
Version 3.0.0
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.ymlto display a sponsor button in GitHub. - Added a
package.jsonfundingfield to enable npm CLI funding features.
- Added
Patch
- Updated dev dependencies.
- Setup
eslint-plugin-compat. - Replaced the
size-limitdev dependency with@size-limit/preset-small-lib. - Removed the now redundant
eslint-plugin-import-order-alphabeticaldev dependency. - Stop using
huskyandlint-staged. - Added tests using new
test-director,coverage-nodeandhard-rejectiondev dependencies. - Refactored source to CJS, removed the build scripts and Babel related tooling.
- Removed the package
sideEffectsfield. - Removed
package-lock.jsonfrom.gitignoreand.prettierignoreas it’s disabled in.npmrcanyway. - 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
Major
- Support Node.js >= v8.
- New project file structure.
- Changed the single default export to a named
googleStaticMapsStylerQueryexport. - Use
.mjsfor source files, as well as the prepared ESM files. - Dropped the package
modulefield. - No longer publishing source code and source maps.
Patch
- Added
changelog.md. - Changed a
letto aconst. - Removed
yarn.lockand Yarn installation instructions in the readme. - Redid the readme.
- Setup Travis.
- Replaced Rollup with the Babel CLI.
- Use
jsdoc-mdto automatically populate a new readme “API” section from source code JSDoc. - Replaced
standardwitheslint-config-env. - Use
prettierlint a variety of project files. - Use
size-limitto test the package bundle size. - Use
huskyandlint-stagedto lint on commit. - Overhaul the package scripts:
- Added a
cleanscript. - Added a
preparescript, so forks can be installed via Git. - Added a
testscript.
- Added a
- Moved dev tool config from
package.jsonto separate files, except for a newbrowserslistfield. - Added
"sideEffects": falsetopackage.json. - Simplified the
package.jsonrepositoryfield. - Use HTTPS for the
package.jsonauthor.urlfield.
Version 1.0.0
First release.