Skip to content

Commit b4f15e3

Browse files
committed
Prepare to release v1.8.5
1 parent d56edc6 commit b4f15e3

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

CHANGELOG.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ This applies from version 0.5.0 onwards, as some versions before that have broke
1111

1212
## [Unreleased]
1313

14+
### Added
15+
### Changed
16+
### Fixed
17+
### Removed
18+
19+
## [1.8.5] - 2023-01-20
20+
1421
### Added
1522

1623
- Add `crossorigin` attribute to `link` element for CSS asset. This prepares it for having an `integrity` attribute added if people want to use [SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity).
1724

18-
### Changed
1925
### Fixed
2026

2127
- Fix bug: do not ignore the `data-enable-help-for-making-changes` attribute.
2228

23-
### Removed
24-
2529
## [1.8.4] - 2022-11-24
2630

2731
### Changed
@@ -351,7 +355,8 @@ Make the [relevant changes](https://github.com/hilverd/glossary-page-template/co
351355

352356
- Initial release.
353357

354-
[Unreleased]: https://github.com/hilverd/glossary-page-template/compare/v1.8.4...HEAD
358+
[Unreleased]: https://github.com/hilverd/glossary-page-template/compare/v1.8.5...HEAD
359+
[1.8.5]: https://github.com/hilverd/glossary-page-template/compare/v1.8.4...v1.8.5
355360
[1.8.4]: https://github.com/hilverd/glossary-page-template/compare/v1.7.4...v1.8.4
356361
[1.7.4]: https://github.com/hilverd/glossary-page-template/compare/v1.7.3...v1.7.4
357362
[1.7.3]: https://github.com/hilverd/glossary-page-template/compare/v1.7.2...v1.7.3

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,19 @@ https://glstatic.net/glossary-page-template@1/glossary.min.css
2323

2424
These files are cached for 24 hours and get updated with any releases with a [major version number](https://semver.org/) of `1`. Alternatively you can change the URL to point to e.g. `@1.1` which gets all patch releases with version numbers of the form `1.1.x`. You can also specify a specific version such as `1.0.1` -- these are cached forever.
2525

26-
If you [prefer](https://css-tricks.com/potential-dangers-of-third-party-javascript/) to host the static assets yourself then you can get them from the `.tar.gz` package in a release, which also contains a glossary template file that uses them.
26+
#### Security considerations
27+
28+
The [safest option](https://css-tricks.com/potential-dangers-of-third-party-javascript/) would be to either host the static assets yourself or use [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) (SRI) by specifying hashes for the static assets.
29+
30+
To host the static assets yourself, you can get them from the `.tar.gz` package in a release, which also contains a glossary template file that uses them.
31+
32+
To use SRI, change the two lines at the end of the `<head>` element so they
33+
34+
* point to a specific version of the JS and CSS files,
35+
* have a `crossorigin` attribute, and
36+
* have an `integrity="hash-here"` attribute.
37+
38+
You can get the `hash-here` values from the [release notes](https://github.com/hilverd/glossary-page-template/releases/latest).
2739

2840
## Development
2941

elm-application.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hilverd/glossary-page-template",
33
"summary": "Create a glossary as a single HTML page hosted anywhere.",
4-
"version": "1.8.4",
4+
"version": "1.8.5",
55
"exposed-modules": [
66
"ApplicationShell",
77
"Data.AboutLink",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "glossary-page-template",
3-
"version": "1.8.4",
3+
"version": "1.8.5",
44
"description": "Create a glossary as a single HTML page hosted anywhere.",
55
"private": true,
66
"author": "Hilverd Reker",

0 commit comments

Comments
 (0)