Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Jun 17, 2024
1 parent f2d34f5 commit f3c6b20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions www/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ if(window.location.search=="?ads=true") {
</div>

<div class="alert">
<b>NEWS:</b> htmx 2.0 has been released! It is not currently marked as <code>latest</code> in NPM so that people using
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.
<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)
in NPM so that people using 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.
</div>

<h2>introduction</h2>
Expand Down
6 changes: 3 additions & 3 deletions www/content/posts/2024-06-17-htmx-2.0.0-is-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ tag = ["posts", "announcements"]
I'm very happy to announce the release of htmx 2.0. This release ends support for Internet Explorer and tightens up some
defaults, but does not change most of the core functionality or the core API of the library.

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

### Major Changes

Expand Down
1 change: 0 additions & 1 deletion www/themes/htmx-theme/static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ table {
border: 1px solid var(--alertBorder);
margin: 24px 8px;
padding: 12px;
border-radius: 8px;
background-color: var(--alertBackground);
filter: drop-shadow(3px 3px var(--alertShadow));
}
Expand Down

0 comments on commit f3c6b20

Please sign in to comment.