Skip to content

Commit bcf876f

Browse files
committed
Revert all changes between 4.6.0 and 4.7.0
What was released as 4.7.0 should have been a new major release, as there are backwards incompatible changes.
1 parent 71a64cf commit bcf876f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+5398
-6780
lines changed

CHANGELOG.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ This applies from version 0.5.0 onwards, as some versions before that have broke
1616
### Fixed
1717
### Removed
1818

19-
## [4.7.0] - 2024-06-21
20-
21-
### Changed
22-
23-
- Make link for scrolling back to top dynamically appear at bottom right when (probably) needed -- instead of always being visible at the top left.
24-
- Open external links in a new tab.
25-
- Show at most 40 search results.
26-
- Upgrade KaTeX to version 0.16.10.
27-
- Make `worker.min.js` script more performant by removing UI specific concerns.
28-
2919
## [4.6.0] - 2024-03-04
3020

3121
### Changed
@@ -717,8 +707,7 @@ Make the [relevant changes](https://github.com/hilverd/glossary-page-template/co
717707

718708
- Initial release.
719709

720-
[Unreleased]: https://github.com/hilverd/glossary-page-template/compare/v4.7.0...HEAD
721-
[4.7.0]: https://github.com/hilverd/glossary-page-template/compare/v4.6.0...v4.7.0
710+
[Unreleased]: https://github.com/hilverd/glossary-page-template/compare/v4.6.0...HEAD
722711
[4.6.0]: https://github.com/hilverd/glossary-page-template/compare/v4.5.1...v4.6.0
723712
[4.5.1]: https://github.com/hilverd/glossary-page-template/compare/v4.5.0...v4.5.1
724713
[4.5.0]: https://github.com/hilverd/glossary-page-template/compare/v4.4.0...v4.5.0

bin/simulate-release

+16-16
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ pnpm run build
8181
pnpm run build:worker
8282
./bin/prepare-release
8383

84+
echo
85+
echo '############################################################ '
86+
echo '### Open glossary.html in web browser ### '
87+
echo '############################################################ '
88+
echo
89+
8490
echo "cd $PWD/release"
8591
cd release
86-
87-
# echo
88-
# echo '############################################################ '
89-
# echo '### Open glossary.html in web browser ### '
90-
# echo '############################################################ '
91-
# echo
92-
# ls -lha
93-
# echo -n 'Press Enter to continue...'
94-
# read
95-
# less glossary.html
96-
# firefox glossary.html
92+
ls -lha
93+
echo -n 'Press Enter to continue...'
94+
read
95+
less glossary.html
96+
firefox glossary.html
9797

9898
echo
9999
echo '############################################################ '
@@ -105,14 +105,14 @@ full_release_gzip_file=$(ls glossary-page-template-*.tar.gz)
105105
tar -zxf "$full_release_gzip_file"
106106
full_release_dir="${full_release_gzip_file%.tar.gz}"
107107
cd "$full_release_dir"
108-
# ls -lha
109-
# echo -n 'Press Enter to continue...'
110-
# read
111-
# less glossary.html
108+
ls -lha
109+
echo -n 'Press Enter to continue...'
110+
read
111+
less glossary.html
112112

113113
cp glossary.html before.html
114114

115-
sed -n '/START OF editor.js$/,$p' glossary.html | PORT=3004 node &
115+
(sed -n '/START OF editor.js$/,$p' glossary.html | PORT=3004 node) &
116116
NODE_PID=$!
117117

118118
firefox http://localhost:3004

elm-application.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
{
22
"name": "hilverd/glossary-page-template",
33
"summary": "Create a glossary as a single HTML page hosted anywhere.",
4-
"version": "4.7.0",
4+
"version": "4.6.0",
55
"exposed-modules": [
66
"AmortizedQueue",
77
"ApplicationShell",
88
"Data.AboutLink",
99
"Data.AboutParagraph",
10-
"Data.DescribedTag",
11-
"Data.DescribedTagFromDom",
1210
"Data.Editability",
11+
"Data.Glossary",
1312
"Data.GlossaryChange",
1413
"Data.GlossaryChangelist",
15-
"Data.GlossaryForUi",
16-
"Data.GlossaryFromDom",
1714
"Data.GlossaryItem.Definition",
1815
"Data.GlossaryItem.DisambiguatedTerm",
1916
"Data.GlossaryItem.RawTerm",
2017
"Data.GlossaryItem.Tag",
2118
"Data.GlossaryItem.Term",
22-
"Data.GlossaryItem.TermFromDom",
2319
"Data.GlossaryItem",
24-
"Data.GlossaryItemForUi",
25-
"Data.GlossaryItemFromDom",
20+
"Data.GlossaryItemForHtml",
2621
"Data.GlossaryItemId",
2722
"Data.GlossaryItemIdDict",
28-
"Data.GlossaryItemsForUi",
29-
"Data.GlossaryTags",
23+
"Data.GlossaryItems",
3024
"Data.GlossaryTitle",
3125
"Data.GlossaryVersionNumber",
3226
"Data.IndexOfTerms",

empty.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
<!--
2727
28-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.10/dist/katex.min.css" integrity="sha384-wcIxkf4k558AjM3Yz3BBFQUbk/zgIYC2R0QpeeYb+TwlBVMrlgLqwRjRtGZiK7ww" crossorigin="anonymous">
29-
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.10/dist/katex.min.js" integrity="sha384-hIoBPJpTUs74ddyc4bFZSM1TVlQDA60VBbJS0oA934VSz82sBx1X7kSx2ATBDIyd" crossorigin="anonymous"></script>
28+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
29+
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script>
3030
3131
-->
3232

@@ -55,7 +55,7 @@ <h1 id="glossary-page-title">
5555
</article>
5656
</main>
5757
<footer>
58-
Built using
58+
Built using
5959
<a target="_blank" href="https://glossary.page/template">Glossary Page Template</a>
6060
.
6161
</footer>

0 commit comments

Comments
 (0)