Commit Graph

955 Commits

Author SHA1 Message Date
Evan Simkowitz
74cb6fc885
remove bufferutil 2024-09-19 11:18:07 -07:00
wave-builder[bot]
02932109f3
chore: bump package version to 0.1.14-beta.1 2024-09-19 18:09:57 +00:00
Evan Simkowitz
370ea132fe
Save update channel to user setting automatically (#401)
When a user first launches Wave, we will read the updater config and
store the channel as a user setting for use on future launches. This
should ensure that if a user on a beta channel gets updated to a latest
release, they will still be subscribed to beta releases going forward.
If a user manually updates the user setting, it will be honored.

---------

Co-authored-by: sawka <mike@commandline.dev>
2024-09-19 11:04:18 -07:00
Evan Simkowitz
4c3496c5e1
Fix WebSocket compatibility with Rollup (#398) 2024-09-19 10:53:06 -07:00
dependabot[bot]
43ce3415da
Bump github.com/golang-migrate/migrate/v4 from 4.17.1 to 4.18.1 (#376)
Bumps
[github.com/golang-migrate/migrate/v4](https://github.com/golang-migrate/migrate)
from 4.17.1 to 4.18.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/golang-migrate/migrate/releases">github.com/golang-migrate/migrate/v4's
releases</a>.</em></p>
<blockquote>
<h2>v4.18.1</h2>
<h2>Changes</h2>
<ul>
<li>Update dktest from v0.4.2 to v0.4.3</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/golang-migrate/migrate/compare/v4.18.0...v4.18.1">https://github.com/golang-migrate/migrate/compare/v4.18.0...v4.18.1</a></p>
<h2>v4.18.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump golang.org/x/net from 0.21.0 to 0.23.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1074">golang-migrate/migrate#1074</a></li>
<li>Make MySQL SetVersion compatible with sql_safe_update by <a
href="https://github.com/maxmati"><code>@​maxmati</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1070">golang-migrate/migrate#1070</a></li>
<li><a
href="https://redirect.github.com/golang-migrate/migrate/issues/1104">#1104</a>
Fix golanglint-ci lint config &amp; lint errors by <a
href="https://github.com/Shion1305"><code>@​Shion1305</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1105">golang-migrate/migrate#1105</a></li>
<li>🧑‍💻 improve error message for invalid source, database, resolves: <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1102">#1102</a>
by <a href="https://github.com/Shion1305"><code>@​Shion1305</code></a>
in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1103">golang-migrate/migrate#1103</a></li>
<li>Upgrade go-sqlite3 to v1.14.22 by <a
href="https://github.com/gjabell"><code>@​gjabell</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1098">golang-migrate/migrate#1098</a></li>
<li>Fix redshift tests by <a
href="https://github.com/dhui"><code>@​dhui</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1151">golang-migrate/migrate#1151</a></li>
<li>chore: remove deprecated <code>rand.Seed()</code> in testing.docker
by <a href="https://github.com/joschi"><code>@​joschi</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1149">golang-migrate/migrate#1149</a></li>
<li>build: use Go 1.23 to build the project by <a
href="https://github.com/joschi"><code>@​joschi</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1133">golang-migrate/migrate#1133</a></li>
<li>fix(tests): fix Docker imports by <a
href="https://github.com/joschi"><code>@​joschi</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1153">golang-migrate/migrate#1153</a></li>
<li>test(postgres): run tests with PostgreSQL 16 by <a
href="https://github.com/joschi"><code>@​joschi</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1126">golang-migrate/migrate#1126</a></li>
<li>test(mysql): run tests with MySQL 8.0, 8.4, and 9.0 by <a
href="https://github.com/joschi"><code>@​joschi</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1127">golang-migrate/migrate#1127</a></li>
<li>Support .deb package for Noble Numbat (24.04) by <a
href="https://github.com/muzammilar"><code>@​muzammilar</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1119">golang-migrate/migrate#1119</a></li>
<li>Bump google.golang.org/grpc from 1.64.0 to 1.64.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1152">golang-migrate/migrate#1152</a></li>
<li>CORRECTION DONE near m.Step(2) if you want to explicitly set the
number of migrations to run by <a
href="https://github.com/adityassharma-ss"><code>@​adityassharma-ss</code></a>
in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1101">golang-migrate/migrate#1101</a></li>
</ul>
<p>A special thanks to <a
href="https://github.com/joschi"><code>@​joschi</code></a> fixing tests
and builds!</p>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/maxmati"><code>@​maxmati</code></a> made
their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1070">golang-migrate/migrate#1070</a></li>
<li><a href="https://github.com/Shion1305"><code>@​Shion1305</code></a>
made their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1105">golang-migrate/migrate#1105</a></li>
<li><a href="https://github.com/gjabell"><code>@​gjabell</code></a> made
their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1098">golang-migrate/migrate#1098</a></li>
<li><a href="https://github.com/joschi"><code>@​joschi</code></a> made
their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1149">golang-migrate/migrate#1149</a></li>
<li><a
href="https://github.com/muzammilar"><code>@​muzammilar</code></a> made
their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1119">golang-migrate/migrate#1119</a></li>
<li><a
href="https://github.com/adityassharma-ss"><code>@​adityassharma-ss</code></a>
made their first contribution in <a
href="https://redirect.github.com/golang-migrate/migrate/pull/1101">golang-migrate/migrate#1101</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/golang-migrate/migrate/compare/v4.17.1...v4.17.2">https://github.com/golang-migrate/migrate/compare/v4.17.1...v4.17.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="555501f7cd"><code>555501f</code></a>
Update dktest from v0.4.2 to v0.4.3</li>
<li><a
href="d5eb594426"><code>d5eb594</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1101">#1101</a>
from adityassharma-ss/patch-1</li>
<li><a
href="67c71f9a9d"><code>67c71f9</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1152">#1152</a>
from golang-migrate/dependabot/go_modules/google.gol...</li>
<li><a
href="1e02b42a7a"><code>1e02b42</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1119">#1119</a>
from muzammilar/add-noble-numbat</li>
<li><a
href="5b6f623dec"><code>5b6f623</code></a>
Bump google.golang.org/grpc from 1.64.0 to 1.64.1</li>
<li><a
href="ddd7fa61da"><code>ddd7fa6</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1127">#1127</a>
from joschi/tests-mysql-9</li>
<li><a
href="7e8f6be051"><code>7e8f6be</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1126">#1126</a>
from joschi/tests-postgres-16</li>
<li><a
href="65a3bd56cc"><code>65a3bd5</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1153">#1153</a>
from joschi/fix-docker-imports</li>
<li><a
href="e40e64c4ac"><code>e40e64c</code></a>
Merge pull request <a
href="https://redirect.github.com/golang-migrate/migrate/issues/1133">#1133</a>
from joschi/go-1.23</li>
<li><a
href="6ceb5a9467"><code>6ceb5a9</code></a>
fix(tests): fix Docker imports</li>
<li>Additional commits viewable in <a
href="https://github.com/golang-migrate/migrate/compare/v4.17.1...v4.18.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golang-migrate/migrate/v4&package-manager=go_modules&previous-version=4.17.1&new-version=4.18.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 10:49:06 -07:00
Red J Adaya
dbf88d82b7
use css vars for button colors (#399) 2024-09-19 10:44:12 -07:00
Red J Adaya
a50431ce2b
fix link styles regression in about modal (#400) 2024-09-19 10:43:32 -07:00
Mike Sawka
d2366df9db
updated ws loading code (#397) 2024-09-19 10:42:53 -07:00
wave-builder[bot]
0059b61748
chore: bump package version to 0.1.14-beta.0 2024-09-18 21:32:24 +00:00
Evan Simkowitz
a590fd7fbf
revert package version 2024-09-18 14:31:04 -07:00
Evan Simkowitz
231c960ca8
missed a change 2024-09-18 14:30:45 -07:00
wave-builder[bot]
97ffa8654c
chore: bump package version to 0.1.19-beta.0 2024-09-18 21:27:49 +00:00
Evan Simkowitz
e5e6259dec
Show updater status banner for all statuses (#396)
Also adds updater channel to about modal
2024-09-18 14:25:52 -07:00
Evan Simkowitz
3ade98879b
Fix button disabled behavior 2024-09-18 14:14:03 -07:00
Evan Simkowitz
479414fbd1
If prerelease is false and action is none, remove the prerelease version string (#395)
Updates the version.cjs script so that if the arguments are "none 0" and
a prerelease version is already set, it will be removed. This is
equivalent the behavior of "patch 0", but better aligns with the default
behavior of the Bump Version worklow.
2024-09-18 13:12:34 -07:00
sawka
14f0223277 Merge remote-tracking branch 'thenextwave/main' into wave8 2024-09-18 12:49:35 -07:00
sawka
3901aa7163 first pass at new README 2024-09-18 12:45:36 -07:00
wave-builder[bot]
477df82778
chore: bump package version to 0.1.13 2024-09-18 19:33:42 +00:00
wave-builder[bot]
9e92f21f46
chore: bump package version to 0.1.13-beta.37 2024-09-18 19:31:06 +00:00
Evan Simkowitz
b7d01c0403
Add automated release flow (#394)
## New release workflow

Build Helper will now automatically create a draft GitHub Release after
it finishes its builds. It will upload a copy of the build artifacts to
this release for easy access.

When a version is ready to be published, edit the GitHub Release and
publish it. This will trigger a workflow to publish the artifacts to our
releases feed.

## Moved artifacts scripts to Taskfile

The scripts formerly located at `scripts/artifacts` have been moved to
the Taskfile. They can now be found at `artifacts:*`.

## Moved releases readme to `RELEASES.md`

Updated the releases readme with step-by-step instructions and moved it
from `scripts/artifacts` to `RELEASES.md`

## Created new AWS identities for artifact upload and publishing

This narrows the scopes of the AWS identities used by the workflows to
upload and publish artifacts. The Build Helper workflow now only has
permission to put files into the artifacts bucket. The Publish Release
workflow only has permission to get files from the artifacts bucket and
put them into the releases bucket.
2024-09-18 12:29:47 -07:00
Evan Simkowitz
adcc564d35
Fix emain package error 2024-09-18 12:06:34 -07:00
sawka
1cb4254ce3 update copyright 2024-09-18 12:05:08 -07:00
sawka
ee396a480a move some metadata files over to new repo 2024-09-18 12:04:28 -07:00
sawka
70bda5c8f6 empty branch for wave8 2024-09-18 10:32:10 -07:00
Mike Sawka
c7a60a80f8
initwshrpc in electron (#391) 2024-09-17 23:10:09 -07:00
Red J Adaya
dae72e7009
more on button refactor (#388)
- Removed opacity for hover effect. Now uses a brighter variant of color
- Updated other Button usages
2024-09-17 22:38:17 -07:00
wave-builder[bot]
f08bc8c768
chore: bump package version to 0.1.13-beta.26 2024-09-17 22:05:37 +00:00
wave-builder[bot]
1a0d520ca2
chore: bump package version to 0.1.13-beta.25 2024-09-17 21:32:14 +00:00
Sylvie Crowe
040bcf49b7
Remove Tips Modal (#393)
This tips modal wasn't discovered often enough in tests, so we are
removing it.
2024-09-17 14:29:44 -07:00
wave-builder[bot]
525271ee27
chore: bump package version to 0.1.13-beta.24 2024-09-17 21:04:52 +00:00
Evan Simkowitz
9f53524971
update version regex 2024-09-17 14:03:10 -07:00
wave-builder[bot]
43829dfc85
chore: bump package version to 0.1.13-beta.23 2024-09-17 20:43:13 +00:00
Evan Simkowitz
67ee2484ba
fix yarn lockfile 2024-09-17 13:42:13 -07:00
dependabot[bot]
532dfd6795
Bump vite from 5.4.2 to 5.4.6 (#390)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.4.2 to 5.4.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.4.6 (2024-09-16)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)
(<a
href="179b17773c">179b177</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18115">#18115</a></li>
<li>fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)
(<a
href="6820bb3b9a">6820bb3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18112">#18112</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.5 (2024-09-13)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18098">#18098</a>,
throw error preloading module as well (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18099">#18099</a>)
(<a
href="faa2405e5d">faa2405</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18098">#18098</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18099">#18099</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.4 (2024-09-11)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17997">#17997</a>,
ensure req.url matches moduleByEtag URL to avoid incorrect 304 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18078">#18078</a>)
(<a
href="74a79c53b2">74a79c5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17997">#17997</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18078">#18078</a></li>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18063">#18063</a>,
allow scanning exports from <code>script module</code> in svelte (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18077">#18077</a>)
(<a
href="d90ba40474">d90ba40</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18063">#18063</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18077">#18077</a></li>
<li>fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18046">#18046</a>,
allow ignoring dep errors (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18076">#18076</a>)
(<a
href="8760293d68">8760293</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18046">#18046</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18076">#18076</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.3 (2024-09-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: allow getting URL of JS files in publicDir (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17915">#17915</a>)
(<a
href="943ece177e">943ece1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17915">#17915</a></li>
<li>fix: cjs warning respect the logLevel flag (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17993">#17993</a>)
(<a
href="dc3c14f39f">dc3c14f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17993">#17993</a></li>
<li>fix: improve CJS warning trace information (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17926">#17926</a>)
(<a
href="5c5f82c84b">5c5f82c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17926">#17926</a></li>
<li>fix: only remove entry assets handled by Vite core (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17916">#17916</a>)
(<a
href="ebfaa7e601">ebfaa7e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17916">#17916</a></li>
<li>fix: waitForRequestIdle locked (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17982">#17982</a>)
(<a
href="ad1376018a">ad13760</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17982">#17982</a></li>
<li>fix(css): fix directory index import in sass modern api (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17960">#17960</a>)
(<a
href="9b001baa70">9b001ba</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17960">#17960</a></li>
<li>fix(css): fix sass <code>file://</code> reference (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17909">#17909</a>)
(<a
href="561b940f6f">561b940</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17909">#17909</a></li>
<li>fix(css): fix sass modern source map (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17938">#17938</a>)
(<a
href="d428e7e3a0">d428e7e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17938">#17938</a></li>
<li>fix(deps): bump tsconfck (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17990">#17990</a>)
(<a
href="8c661b20e9">8c661b2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17990">#17990</a></li>
<li>fix(html): rewrite assets url in &lt;template&gt; (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17988">#17988</a>)
(<a
href="413c86aa97">413c86a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17988">#17988</a></li>
<li>fix(preload): add crossorigin attribute in CSS link tags (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17930">#17930</a>)
(<a
href="15871c75e0">15871c7</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17930">#17930</a></li>
<li>chore: reduce diffs with v6 branch (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17942">#17942</a>)
(<a
href="bf9065aa13">bf9065a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17942">#17942</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17945">#17945</a>)
(<a
href="cfb621e7a5">cfb621e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17945">#17945</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17991">#17991</a>)
(<a
href="0ca53cff9f">0ca53cf</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17991">#17991</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f9691767ad"><code>f969176</code></a>
release: v5.4.6</li>
<li><a
href="179b17773c"><code>179b177</code></a>
fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)</li>
<li><a
href="6820bb3b9a"><code>6820bb3</code></a>
fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)</li>
<li><a
href="37881e7198"><code>37881e7</code></a>
release: v5.4.5</li>
<li><a
href="faa2405e5d"><code>faa2405</code></a>
fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18098">#18098</a>,
throw error preloading module as well (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18099">#18099</a>)</li>
<li><a
href="54c55dbffc"><code>54c55db</code></a>
release: v5.4.4</li>
<li><a
href="74a79c53b2"><code>74a79c5</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17997">#17997</a>,
ensure req.url matches moduleByEtag URL to avoid incorr...</li>
<li><a
href="d90ba40474"><code>d90ba40</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18063">#18063</a>,
allow scanning exports from <code>script module</code> in svelte
(...</li>
<li><a
href="8760293d68"><code>8760293</code></a>
fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18046">#18046</a>,
allow ignoring dep errors (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18076">#18076</a>)</li>
<li><a
href="ccbfc1a068"><code>ccbfc1a</code></a>
release: v5.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v5.4.6/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.4.2&new-version=5.4.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/wavetermdev/thenextwave/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 13:38:21 -07:00
Evan Simkowitz
6a7fadc420
Evan/v (#392)
Co-authored-by: wave-builder[bot] <181805596+wave-builder[bot]@users.noreply.github.com>
2024-09-17 13:37:52 -07:00
wave-builder[bot]
2ff55d823e
chore: bump package version to 0.1.13-beta.21 2024-09-17 20:13:16 +00:00
Evan Simkowitz
5b7535d08f
Add release channels (#385)
## New release flow

1. Run "Bump Version" workflow with the desired version bump and the
prerelease flag set to `true`. This will push a new version bump to the
target branch and create a new git tag.
    - See below for more info on how the version bumping works.
2. A new "Build Helper" workflow run will kick off automatically for the
new tag. Once it is complete, test the new build locally by downloading
with the [download
script](https://github.com/wavetermdev/thenextwave/blob/main/scripts/artifacts/download-staged-artifact.sh).
3. Release the new build using the [publish
script](https://github.com/wavetermdev/thenextwave/blob/main/scripts/artifacts/publish-from-staging.sh).
This will trigger electron-updater to distribute the package to beta
users.
4. Run "Bump Version" again with a release bump (either `major`,
`minor`, or `patch`) and the prerelease flag set to `false`.
6. Release the new build to all channels using the [publish
script](https://github.com/wavetermdev/thenextwave/blob/main/scripts/artifacts/publish-from-staging.sh).
This will trigger electron-updater to distribute the package to all
users.

## Change Summary

Creates a new "Bump Version" workflow to manage versioning and tag
creation.

Build Helper is now automated.

### Version bumps

Updates the `version.cjs` script so that an argument can be passed to
trigger a version bump. Under the hood, this utilizes NPM's `semver`
package.

If arguments are present, the version will be bumped.
If only a single argument is given, the following are valid inputs:
    - `none`: No-op.
    - `patch`: Bumps the patch version.
    - `minor`: Bumps the minor version.
    - `major`: Bumps the major version.
    - '1', 'true': Bumps the prerelease version.
If two arguments are given, the first argument must be either `none`,
`patch`, `minor`, or `major`. The second argument must be `1` or `true`
to bump the prerelease version.

### electron-builder

We are now using the release channels support in electron-builder. This
will automatically detect the channel being built based on the package
version to determine which channel update files need to be generated.
See
[here](https://www.electron.build/tutorials/release-using-channels.html)
for more information.

### Github Actions

#### Bump Version

This adds a new "Bump Version" workflow for managing versioning and
queuing new builds. When run, this workflow will bump the version,
create a new tag, and push the changes to the target branch. There is a
new dropdown when queuing the "Bump Version" workflow to select what
kind of version bump to perform. A bump must always be performed when
running a new build to ensure consistency.

I had to create a GitHub App to grant write permissions to our main
branch for the version bump commits. I've made a separate workflow file
to manage the version bump commits, which should help prevent tampering.
Thanks to using the GitHub API directly, I am able to make these commits
signed!

#### Build Helper

Build Helper is now triggered when new tags are created, rather than
being triggered automatically. This ensures we're always creating
artifacts from known checkpoints.

### Settings

Adds a new `autoupdate:channel` configuration to the settings file. If
unset, the default from the artifact will be used (should correspond to
the channel of the artifact when downloaded).

## Future Work

I want to add a release workflow that will automatically copy over the
corresponding version artifacts to the release bucket when a new GitHub
Release is created.

I also want to separate versions into separate subdirectories in the
release bucket so we can clean them up more-easily.

---------

Co-authored-by: wave-builder <builds@commandline.dev>
Co-authored-by: wave-builder[bot] <181805596+wave-builder[bot]@users.noreply.github.com>
2024-09-17 13:10:35 -07:00
dependabot[bot]
0159152c00
Bump vite from 5.4.5 to 5.4.6 (#389)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.4.5 to 5.4.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.4.6 (2024-09-16)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)
(<a
href="179b17773c">179b177</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18115">#18115</a></li>
<li>fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)
(<a
href="6820bb3b9a">6820bb3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18112">#18112</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f9691767ad"><code>f969176</code></a>
release: v5.4.6</li>
<li><a
href="179b17773c"><code>179b177</code></a>
fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)</li>
<li><a
href="6820bb3b9a"><code>6820bb3</code></a>
fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v5.4.6/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.4.5&new-version=5.4.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/wavetermdev/thenextwave/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 13:01:46 -07:00
sawka
f7272c6375 remove aichat-input opacity 2024-09-17 00:10:42 -07:00
sawka
d94a4bc666 don't bookstrap the newwindow layout for the first run 2024-09-17 00:00:20 -07:00
Mike Sawka
46eb164778
tos page 2 -- quick tips (#387) 2024-09-16 23:45:47 -07:00
Evan Simkowitz
87d3f8d88d
add bump version workflow 2024-09-16 23:26:50 -07:00
Evan Simkowitz
e7b99d165a
Update secrets to the new Apple Developer account creds (#384) 2024-09-16 23:10:04 -07:00
Sylvie Crowe
ea19444710
Various Bug Fixes and UI Improvements (#386)
This change adds
- performance improvements for ai chat
- new ai chat user interface
- open blank files with codeedit
- fix for userinput password modal
2024-09-16 22:59:09 -07:00
Red J Adaya
09f4616ae0
button refactor (#383)
Refactored to be more flexible. Now, it has three types

- solid
- outline
- ghost

and subtypes

- green
- grey
- red
- yellow

It defaults to solid and green when no className is provided. It
concatenates defaults if custom classNames are provided.
2024-09-16 22:23:05 -07:00
sawka
dbdcc49ff2 add ws reconnect handlers -- wps + route announcements 2024-09-16 19:35:36 -07:00
Evan Simkowitz
9bf30ce121
bump send 2024-09-16 17:33:37 -07:00
Evan Simkowitz
fd6e92ee2c
Clear previous layout when applying portable layout to tab (#382) 2024-09-16 17:26:37 -07:00
Evan Simkowitz
822920bd2c
fix dirname issue 2024-09-16 15:58:35 -07:00
dependabot[bot]
f0e7babec4
Bump css-tree from 2.3.1 to 3.0.0 in the prod-dependencies group (#379)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps the prod-dependencies group with 1 update:
[css-tree](https://github.com/csstree/csstree).

Updates `css-tree` from 2.3.1 to 3.0.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/csstree/csstree/releases">css-tree's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Added support for the <a
href="https://drafts.csswg.org/css-contain-3/#container-rule"><code>@container</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-transitions-2/#defining-before-change-style"><code>@starting-style</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-cascade-6/#scoped-styles"><code>@scope</code></a>
at-rule</li>
<li>Added support for the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/@position-try"><code>@position-try</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-cascade-5/#at-layer"><code>@layer</code></a>
at-rule</li>
<li>Added support for <code>layer</code>, <code>layer()</code> and
<code>supports()</code> in the <code>@media</code> at-rule (according to
<a href="https://drafts.csswg.org/css-cascade-5/#at-import"><code>the
@​import rule</code></a> in Cascading and Inheritance 5)</li>
<li>Added <code>Layer</code> and <code>LayerList</code> node types</li>
<li>Added <code>TokenStream#lookupTypeNonSC()</code> method</li>
<li>Added <code>&lt;dashed-ident&gt;</code> to generic types</li>
<li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li>
<li>Aligned <code>&lt;'font'&gt;</code> to <a
href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li>
<li>Aligned <code>&lt;color&gt;</code> to <a
href="https://drafts.csswg.org/css-color-5/">CSS Color 5</a></li>
<li>Fixed initialization when <code>Object.prototype</code> is extended
or polluted (<a
href="https://redirect.github.com/csstree/csstree/issues/262">#262</a>)</li>
<li>Fixed <code>fork()</code> method to consider the
<code>generic</code> option when creating a Lexer instance (<a
href="https://redirect.github.com/csstree/csstree/issues/266">#266</a>)</li>
<li>Fixed crash on parse error when custom <code>line</code> or
<code>offset</code> is specified via options (<a
href="https://redirect.github.com/csstree/csstree/issues/251">#251</a>)</li>
<li>Fixed <code>speak</code> syntax patch (<a
href="https://redirect.github.com/csstree/csstree/issues/241">#241</a>)</li>
<li>Fixed <code>:lang()</code> to accept a list of
<code>&lt;ident&gt;</code> or <code>&lt;string&gt;</code> per <a
href="https://drafts.csswg.org/selectors/#the-lang-pseudo">spec</a> (<a
href="https://redirect.github.com/csstree/csstree/issues/265">#265</a>)</li>
<li>Fixed lexer matching for syntaxes referred to as
<code>&lt;'property'&gt;</code>, when the syntax has a top-level
<code>#</code>-multiplier (<a
href="https://redirect.github.com/csstree/csstree/issues/102">#102</a>)</li>
<li>Relaxed parsing of syntax definition to allow whitespaces in range
multiplier (<a
href="https://redirect.github.com/csstree/csstree/issues/270">#270</a>)</li>
<li>Changed <code>parseWithFallback()</code> to rollback
<code>tokenIndex</code> before calling a fallback</li>
<li>Changed <code>Block</code> to not include <code>{</code> and
<code>}</code></li>
<li>Changed <code>Atrule</code> and <code>Rule</code> to include
<code>{</code> and <code>}</code> for a block</li>
<li>Changed <code>Ratio</code> parsing:
<ul>
<li>Left and right parts contain nodes instead of strings</li>
<li>Both left and right parts of a ratio can now be any number;
validation of number range is no longer within the parser's scope.</li>
<li>Both parts can now be functions. Although not explicitly mentioned
in the specification, mathematical functions can replace numbers,
addressing potential use cases (<a
href="https://redirect.github.com/csstree/csstree/issues/162">#162</a>).</li>
<li>As per the <a
href="https://drafts.csswg.org/css-values-4/#ratios">CSS Values and
Units Level 4</a> specification, the right part of <code>Ratio</code>
can be omitted. While this can't be a parser output (which would produce
a <code>Number</code> node), it's feasible during <code>Ratio</code>
node construction or transformation.</li>
</ul>
</li>
<li>Changes to query-related at-rules:
<ul>
<li>Added new node types:
<ul>
<li><a
href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#feature"><code>Feature</code></a>:
represents features like <code>(feature)</code> and <code>(feature:
value)</code>, fundamental for both <code>@media</code> and
<code>@container</code> at-rules</li>
<li><a
href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#featurerange"><code>FeatureRange</code></a>:
represents <a
href="https://www.w3.org/TR/mediaqueries-4/#mq-range-context">features
in a range context</a></li>
<li><a
href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#featurefunction"><code>FeatureFunction</code></a>:
represents functional features such as <code>@supports</code>'s
<code>selector()</code> or <code>@container</code>'s
<code>style()</code></li>
<li><a
href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#condition"><code>Condition</code></a>:
used across all query-like at-rules, encapsulating queries with features
and the <code>not</code>, <code>and</code>, and <code>or</code>
operators</li>
<li><a
href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#condition"><code>GeneralEnclosure</code></a>:
represents the <a
href="https://www.w3.org/TR/mediaqueries-4/#typedef-general-enclosed"><code>&lt;general-enclosed&gt;</code></a>
production, which caters to unparsed parentheses or functional
expressions</li>
</ul>
<blockquote>
<p>Note: All new nodes include a <code>kind</code> property to define
the at-rule type. Supported kinds are <code>media</code>,
<code>supports</code>, and <code>container</code></p>
</blockquote>
</li>
<li>Added support for functions for features and features in a range
context, e.g. <code>(width: calc(100cm / 6))</code></li>
<li>Added a <code>condition</code> value for the parser's context option
to parse queries. Use the <code>kind</code> option to specify the
condition type, e.g., <code>parse('...', { context: 'condition', kind:
'media' })</code></li>
<li>Introduced a <code>features</code> section in the syntax
configuration for defining functional features of at-rules. Expand
definitions using the <code>fork()</code> method. The current definition
is as follows:
<pre lang="js"><code>features: {
    supports: { selector() { /* ... */ } },
    container: { style() { /* ... */ } }
}
</code></pre>
</li>
<li>Changes for <code>@media</code> at-rule:
<ul>
<li>Enhanced prelude parsing for complex queries. Parentheses with
errors will be parsed as <code>GeneralEnclosed</code></li>
<li>Added support for features in a range context, e.g. <code>(width
&gt; 100px)</code> or <code>(100px &lt; height &lt; 400px)</code></li>
<li>Transitioned from <code>MediaFeature</code> node type to the
<code>Feature</code> node type with <code>kind:
&quot;media&quot;</code></li>
<li>Changed <code>MediaQuery</code> node structure into the following
form:</li>
</ul>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/csstree/csstree/blob/master/CHANGELOG.md">css-tree's
changelog</a>.</em></p>
<blockquote>
<h2>3.0.0 (September 11, 2024)</h2>
<ul>
<li>Added support for the <a
href="https://drafts.csswg.org/css-contain-3/#container-rule"><code>@container</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-transitions-2/#defining-before-change-style"><code>@starting-style</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-cascade-6/#scoped-styles"><code>@scope</code></a>
at-rule</li>
<li>Added support for the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/@position-try"><code>@position-try</code></a>
at-rule</li>
<li>Added support for the <a
href="https://drafts.csswg.org/css-cascade-5/#at-layer"><code>@layer</code></a>
at-rule</li>
<li>Added support for <code>layer</code>, <code>layer()</code> and
<code>supports()</code> in the <code>@media</code> at-rule (according to
<a href="https://drafts.csswg.org/css-cascade-5/#at-import"><code>the
@​import rule</code></a> in Cascading and Inheritance 5)</li>
<li>Added <code>Layer</code> and <code>LayerList</code> node types</li>
<li>Added <code>TokenStream#lookupTypeNonSC()</code> method</li>
<li>Added <code>&lt;dashed-ident&gt;</code> to generic types</li>
<li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li>
<li>Aligned <code>&lt;'font'&gt;</code> to <a
href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li>
<li>Aligned <code>&lt;color&gt;</code> to <a
href="https://drafts.csswg.org/css-color-5/">CSS Color 5</a></li>
<li>Fixed initialization when <code>Object.prototype</code> is extended
or polluted (<a
href="https://redirect.github.com/csstree/csstree/issues/262">#262</a>)</li>
<li>Fixed <code>fork()</code> method to consider the
<code>generic</code> option when creating a Lexer instance (<a
href="https://redirect.github.com/csstree/csstree/issues/266">#266</a>)</li>
<li>Fixed crash on parse error when custom <code>line</code> or
<code>offset</code> is specified via options (<a
href="https://redirect.github.com/csstree/csstree/issues/251">#251</a>)</li>
<li>Fixed <code>speak</code> syntax patch (<a
href="https://redirect.github.com/csstree/csstree/issues/241">#241</a>)</li>
<li>Fixed <code>:lang()</code> to accept a list of
<code>&lt;ident&gt;</code> or <code>&lt;string&gt;</code> per <a
href="https://drafts.csswg.org/selectors/#the-lang-pseudo">spec</a> (<a
href="https://redirect.github.com/csstree/csstree/issues/265">#265</a>)</li>
<li>Fixed lexer matching for syntaxes referred to as
<code>&lt;'property'&gt;</code>, when the syntax has a top-level
<code>#</code>-multiplier (<a
href="https://redirect.github.com/csstree/csstree/issues/102">#102</a>)</li>
<li>Relaxed parsing of syntax definition to allow whitespaces in range
multiplier (<a
href="https://redirect.github.com/csstree/csstree/issues/270">#270</a>)</li>
<li>Changed <code>parseWithFallback()</code> to rollback
<code>tokenIndex</code> before calling a fallback</li>
<li>Changed <code>Block</code> to not include <code>{</code> and
<code>}</code></li>
<li>Changed <code>Atrule</code> and <code>Rule</code> to include
<code>{</code> and <code>}</code> for a block</li>
<li>Changed <code>Ratio</code> parsing:
<ul>
<li>Left and right parts contain nodes instead of strings</li>
<li>Both left and right parts of a ratio can now be any number;
validation of number range is no longer within the parser's scope.</li>
<li>Both parts can now be functions. Although not explicitly mentioned
in the specification, mathematical functions can replace numbers,
addressing potential use cases (<a
href="https://redirect.github.com/csstree/csstree/issues/162">#162</a>).</li>
<li>As per the <a
href="https://drafts.csswg.org/css-values-4/#ratios">CSS Values and
Units Level 4</a> specification, the right part of <code>Ratio</code>
can be omitted. While this can't be a parser output (which would produce
a <code>Number</code> node), it's feasible during <code>Ratio</code>
node construction or transformation.</li>
</ul>
</li>
<li>Changes to query-related at-rules:
<ul>
<li>
<p>Added new node types:</p>
<ul>
<li><a
href="https://github.com/csstree/csstree/blob/master/docs/ast.md#feature"><code>Feature</code></a>:
represents features like <code>(feature)</code> and <code>(feature:
value)</code>, fundamental for both <code>@media</code> and
<code>@container</code> at-rules</li>
<li><a
href="https://github.com/csstree/csstree/blob/master/docs/ast.md#featurerange"><code>FeatureRange</code></a>:
represents <a
href="https://www.w3.org/TR/mediaqueries-4/#mq-range-context">features
in a range context</a></li>
<li><a
href="https://github.com/csstree/csstree/blob/master/docs/ast.md#featurefunction"><code>FeatureFunction</code></a>:
represents functional features such as <code>@supports</code>'s
<code>selector()</code> or <code>@container</code>'s
<code>style()</code></li>
<li><a
href="https://github.com/csstree/csstree/blob/master/docs/ast.md#condition"><code>Condition</code></a>:
used across all query-like at-rules, encapsulating queries with features
and the <code>not</code>, <code>and</code>, and <code>or</code>
operators</li>
<li><a
href="https://github.com/csstree/csstree/blob/master/docs/ast.md#condition"><code>GeneralEnclosure</code></a>:
represents the <a
href="https://www.w3.org/TR/mediaqueries-4/#typedef-general-enclosed"><code>&lt;general-enclosed&gt;</code></a>
production, which caters to unparsed parentheses or functional
expressions</li>
</ul>
<blockquote>
<p>Note: All new nodes include a <code>kind</code> property to define
the at-rule type. Supported kinds are <code>media</code>,
<code>supports</code>, and <code>container</code>.</p>
</blockquote>
</li>
<li>
<p>Added support for functions for features and features in a range
context, e.g. <code>(width: calc(100cm / 6))</code></p>
</li>
<li>
<p>Added a <code>condition</code> value for the parser's context option
to parse queries. Use the <code>kind</code> option to specify the
condition type, e.g., <code>parse('...', { context: 'condition', kind:
'media' })</code>.</p>
</li>
<li>
<p>Introduced a <code>features</code> section in the syntax
configuration for defining functional features of at-rules. Expand
definitions using the <code>fork()</code> method. The current definition
is as follows:</p>
<pre lang="js"><code>features: {
    supports: { selector() { /* ... */ } },
    container: { style() { /* ... */ } }
}
</code></pre>
</li>
<li>
<p>Changes for <code>@media</code> at-rule:</p>
<ul>
<li>Enhanced prelude parsing for complex queries. Parentheses with
errors will be parsed as <code>GeneralEnclosed</code>.</li>
<li>Added support for features in a range context, e.g. <code>(width
&gt; 100px)</code> or <code>(100px &lt; height &lt; 400px)</code></li>
</ul>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9de5189fad"><code>9de5189</code></a>
3.0.0</li>
<li><a
href="336c67ecd9"><code>336c67e</code></a>
Remove wrongly added files</li>
<li><a
href="56f3788434"><code>56f3788</code></a>
Fix lint error</li>
<li><a
href="a9a63cbaaa"><code>a9a63cb</code></a>
Improve support for <a
href="https://github.com/position-try"><code>@​position-try</code></a>
by adding allowed descriptors</li>
<li><a
href="66b312d6eb"><code>66b312d</code></a>
Update the year</li>
<li><a
href="049dc34abc"><code>049dc34</code></a>
Run unit tests on windows</li>
<li><a
href="41e70a638f"><code>41e70a6</code></a>
Fix bundling on windows</li>
<li><a
href="b8a97dd01c"><code>b8a97dd</code></a>
Try bundle on windows</li>
<li><a
href="cf8e828015"><code>cf8e828</code></a>
Align color to css-color-5 (fixes <a
href="https://redirect.github.com/csstree/csstree/issues/244">#244</a>)</li>
<li><a
href="94a5d77c56"><code>94a5d77</code></a>
Remove draft entry</li>
<li>Additional commits viewable in <a
href="https://github.com/csstree/csstree/compare/v2.3.1...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=css-tree&package-manager=npm_and_yarn&previous-version=2.3.1&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 13:18:34 -07:00