Skip to content

Releases: hilverd/glossary-page-template

v5.2.1

09 Dec 22:23
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-9k1AXV+RXvZm8+16kxvfvrBXBw9UhWzI7z53Gfn6jo/hJIu3u+ucEMt7XlLOi8cg
  • glossary.min.css: sha384-J5zAkWrOoTJ9sfeRq6kNWH7kP0TH9eCKq+h1LTB5pFRKg9QaR07dORx7b8jR3IsU

Fixed

  • Make Browser.application hack more reliable, as v5.2.0 had accidentally been released with a bug that broke the ability to open a glossary file in the browser.

v5.2.0

09 Dec 21:42
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-Fc7AD68cuZK9nFBpJAp0r51E9jalqZsfWucqqGzLo3CgWm+QWVglwgEwuEIo6sU4
  • glossary.min.css: sha384-J5zAkWrOoTJ9sfeRq6kNWH7kP0TH9eCKq+h1LTB5pFRKg9QaR07dORx7b8jR3IsU

Changed

  • Improve performance.
  • Improve styling.
    • Increase background/foreground contrast for a number of elements.
    • Change styling of index of terms.

Fixed

  • Keep links to related items intact when renaming those items.

v5.1.0

18 Nov 19:49
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-yUDvIZJ7tKbhK6I792E7VPOYjvVNOeTYkIBVWuaw1cXGojA/Oo+WglaoIff5BSDr
  • glossary.min.css: sha384-iMUk8uUyWHhXcZNsI1FERY6GsYV5BbYCDrTqw8BVILGv9aGT9kv05DbwmihHCSPk

Added

  • Allow setting a default theme. This is used if the user has not explicitly picked a theme, and has also not indicated a preference for dark mode in their browser settings.

Changed

  • Allow viewing a glossary file directly in a browser (using a file:// URL), instead of showing only a help message. This restores functionality that was lost from version 4.0.0 onwards (see #11 for context).

v5.0.3

17 Jul 16:04
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-0C4iwxejjTVMqlruoCfWHNAQ3Bt24E1SJbNHUIItnEvyzLHgkEcqnuzTZlQ5xgBh
  • glossary.min.css: sha384-BHGtlp4W7tG7s+RGAR1o1EqRgtxlH+8s6o+N/OmndFOPZLQBXw9IN0jJnMPPFM1k

Changed

  • Upgrade GitHub Actions.

Fixed

  • When using the worker.min.js script, ensure that items are sorted by the IDs of their disambiguated preferred terms.

v5.0.2

21 Jun 16:13
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-TzsMdSSz4z+TSRJYsVD/Bj9wmczo1d5z0fL3T+4u3y3pCH6qfuRKNgvrkpIr1D2X
  • glossary.min.css: sha384-BHGtlp4W7tG7s+RGAR1o1EqRgtxlH+8s6o+N/OmndFOPZLQBXw9IN0jJnMPPFM1k

Fixed

  • Fix bug that always switched on saving changes in memory.
  • Fix instructions visibility issue when file: URL is opened.

v5.0.1

21 Jun 15:15
Compare
Choose a tag to compare

This version contains the changes that were originally released in 4.7.0 (and then temporarily reverted in 4.7.1).

The breaking change is that there are now stricter validation rules around preferred and alternative terms. In particular, a preferred term cannot also appear as an alternative term in any item.

If your glossary does not violate this rule then upgrading should hopefully be easy. Otherwise, you can follow the steps below.

  1. Upgrade to 5.0.1
  2. Edit the glossary and save without making any changes
  3. If this doesn't get past the validation, revert back to version 4.7.1 and then make the necessary changes
  4. Go back to step 1.

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-/a2/fRPHD0yoIoQQgBEAxneowFw5ltHh+IvO4QfgLjnbrPif83elNFLQnWF3NODM
  • glossary.min.css: sha384-BHGtlp4W7tG7s+RGAR1o1EqRgtxlH+8s6o+N/OmndFOPZLQBXw9IN0jJnMPPFM1k

Changed

  • Make link for scrolling back to top dynamically appear at bottom right when (probably) needed -- instead of always being visible at the top left.
  • Open external links in a new tab.
  • Show at most 40 search results.
  • Upgrade KaTeX to version 0.16.10.
  • Make the worker.min.js script more performant by removing UI specific concerns.

v4.7.1

21 Jun 13:09
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-jca5ATNt8LiA8r4MGt/6kfBOIjXDnQR7oY4vvdOg4ejUlah4Z92rDhxmIE/PBHuX
  • glossary.min.css: sha384-DNui8OxuTGDvjEFi9cgv5+4LGEoJ2b5V/NazAfx5gvur1Ur6Q1EFVhJWuchg8YRE

This release brings back version 4.6.0. The changes for 4.7.0 should have been released as a new major version, as there are breaking changes.

v4.7.0

21 Jun 12:41
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-/a2/fRPHD0yoIoQQgBEAxneowFw5ltHh+IvO4QfgLjnbrPif83elNFLQnWF3NODM
  • glossary.min.css: sha384-BHGtlp4W7tG7s+RGAR1o1EqRgtxlH+8s6o+N/OmndFOPZLQBXw9IN0jJnMPPFM1k

Changed

  • Make link for scrolling back to top dynamically appear at bottom right when (probably) needed -- instead of always being visible at the top left.
  • Open external links in a new tab.
  • Show at most 40 search results.
  • Upgrade KaTeX to version 0.16.10.
  • Make the worker.min.js script more performant by removing UI specific concerns.

v4.6.0

04 Mar 14:34
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-jca5ATNt8LiA8r4MGt/6kfBOIjXDnQR7oY4vvdOg4ejUlah4Z92rDhxmIE/PBHuX
  • glossary.min.css: sha384-DNui8OxuTGDvjEFi9cgv5+4LGEoJ2b5V/NazAfx5gvur1Ur6Q1EFVhJWuchg8YRE

Changed

  • Make search also cover definitions.
  • Support ⌘K for searching on macOS.
  • Select first search result by default.
  • Upgrade KaTeX to version 0.16.9.

Fixed

  • Fix issues with back/forward buttons.
  • Stop using :target for styling item pointed to by fragment identifier, as it doesn't work well with back/forward buttons. Handle highlighting of item that has "focus" in JavaScript instead.
  • Prevent having multiple items with the same fragment identifier. The fragment identifier for an item is its disambiguated preferred term, with spaces replaced by underscores.
  • Prevent search item from being made active just because mouse pointer is already over it.

v4.5.1

13 Feb 09:00
Compare
Choose a tag to compare

SRI Hashes

See static assets for how to use these.

  • glossary.min.js: sha384-iBmBl5W5c1DzWvpey9ueo1UBDA+VvrzidKDN+cEqsgEfkzkV2oiL/VOS2Ws27dtl
  • glossary.min.css: sha384-dUXLl0/DIKzgd6TckNXkW0KdM3HLFF9oFYxT1MkbkczOBj+B/2+Bnp35BfZtgg3N

Added

  • Add function for converting glossary JSON to HTML to experimental worker.min.js script.

Changed

  • Make it more obvious when a tag is being filtered by.
  • Don't show tag being filtered by on item cards.
  • Rename "Quick search" to just "Search" for consistency.

Fixed

  • Attempt to make jumping to fragment identifier more reliable on initial page load.