All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bug when sharp^0.24.0 would prevent the plugin to run because of an error about the file type (thank you both @vergissberlin for you PR #7 and @Kulcanhez for reporting the issue).
- Bug when upgrading the dependencies would cause Sharp to be built twice, on differents version, leading to libvips to not be usable by the plugin. Now, the version of sharp has been corrected to not produce 2 installation of Sharp.
- Building a Gridsome project using this plugin on Netlify will not make the build fail anymore (due to the removal of a package that was causing the issue).
- The error when you do not add an
icon_path
or have this option targeting a non existing file will now be more explicit, rather than being cryptic (because thrown by a dependency).
- Bug when the manifest file were not found (the error was visible in the browser console) in development mode. Instead, it will now be removed in development mode, but still generated (with its
<link rel="manifest" />
) at build time.
- You will need to add an ISO 2
lang
value in your configuration in order to keep generating a manifest file without issues.
- Support for the keys
dir
,lang
,prefer_related_applications
andrelated_applications
in the manifest: they are now configurable and will be outputed in themanifest.json
file.
- The names of the different options in the API section of the README have been updated to reflect the changes in the version
0.2.0
. - The manifest file will now be served with the MIME type
application/manifest+json
instead ofapplication/json
to respect the standard.
- The documentation example showing the necessary keys to add to the
options
key of the plugin have been updated to follow one of the fix that the version0.2.0
provided.
- A
<meta name="theme-color" />
will be automatically added to the head of your html files (using thetheme_color
value you provided in the options in the filegridsome.client.js
).
- The default
display
option in the manifest will now beminimal-ui
(instead ofbrowser
) to fix a bug when Lighthouse was not recognizing thebrowser
display value. - The
manifest.json
file will be correctly formed (previously, pascal cased keys were used, now this file is generated using correct snake cased keys).
- Bug when the
fileName
option was forbidden instead of being allowed.
- First working version