Skip to content

Commit f3c6b20

Browse files
committed
improve docs
1 parent f2d34f5 commit f3c6b20

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

www/content/_index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ if(window.location.search=="?ads=true") {
9191
</div>
9292

9393
<div class="alert">
94-
<b>NEWS:</b> htmx 2.0 has been released! It is not currently marked as <code>latest</code> in NPM so that people using
95-
the <a href="https://v1.htmx.org">1.x line</a> are not accidentally upgraded. We will mark 2.0 as <code>latest</code> at some point in 2025.
94+
<b>NEWS:</b> htmx 2.0 has been released! It is not currently marked as [<code>latest</code>](https://docs.npmjs.com/cli/v10/commands/npm-dist-tag#purpose)
95+
in NPM so that people using the <a href="https://v1.htmx.org">1.x line</a> are not accidentally upgraded. We will mark
96+
2.0 as <code>latest</code> at some point in 2025.
9697
</div>
9798

9899
<h2>introduction</h2>

www/content/posts/2024-06-17-htmx-2.0.0-is-released.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ tag = ["posts", "announcements"]
1010
I'm very happy to announce the release of htmx 2.0. This release ends support for Internet Explorer and tightens up some
1111
defaults, but does not change most of the core functionality or the core API of the library.
1212

13-
Note that we are not marking 2.0 as `current` in NPM because we do not want to force-upgrade users who are relying on
14-
non-versioned URLs for htmx. Instead, 1.x will remain `current` and the 2.0 line will remain `next` until Jan 1, 2025.
15-
The website, however, will reference 2.0.
13+
Note that we are not marking 2.0 as [`latest`](https://docs.npmjs.com/cli/v10/commands/npm-dist-tag#purpose) in NPM
14+
because we do not want to force-upgrade users who are relying on non-versioned CDN URLs for htmx. Instead, 1.x will
15+
remain `latest` and the 2.0 line will remain `next` until Jan 1, 2025. The website, however, will reference 2.0.
1616

1717
### Major Changes
1818

www/themes/htmx-theme/static/css/site.css

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ table {
6969
border: 1px solid var(--alertBorder);
7070
margin: 24px 8px;
7171
padding: 12px;
72-
border-radius: 8px;
7372
background-color: var(--alertBackground);
7473
filter: drop-shadow(3px 3px var(--alertShadow));
7574
}

0 commit comments

Comments
 (0)