From cccd708b2be7cb714bbcb933b5f347ad67f734dc Mon Sep 17 00:00:00 2001
From: stffabi
Date: Tue, 21 Feb 2023 08:20:01 +0100
Subject: [PATCH 01/36] [assetserver] Add more builtin mimetypes by extension
(#2391)
---
v2/pkg/assetserver/mimecache.go | 46 ++++++++++++++++++++--------
v2/pkg/assetserver/mimecache_test.go | 7 +++--
website/src/pages/changelog.mdx | 1 +
3 files changed, 38 insertions(+), 16 deletions(-)
diff --git a/v2/pkg/assetserver/mimecache.go b/v2/pkg/assetserver/mimecache.go
index dc2dd5c75..9d97e8f5a 100644
--- a/v2/pkg/assetserver/mimecache.go
+++ b/v2/pkg/assetserver/mimecache.go
@@ -9,24 +9,44 @@ import (
)
var (
- cache = map[string]string{}
- mutex sync.Mutex
+ mimeCache = map[string]string{}
+ mimeMutex sync.Mutex
+
+ // The list of builtin mime-types by extension as defined by
+ // the golang standard lib package "mime"
+ // The standard lib also takes into account mime type definitions from
+ // etc files like '/etc/apache2/mime.types' but we want to have the
+ // same behavivour on all platforms and not depend on some external file.
+ mimeTypesByExt = map[string]string{
+ ".avif": "image/avif",
+ ".css": "text/css; charset=utf-8",
+ ".gif": "image/gif",
+ ".htm": "text/html; charset=utf-8",
+ ".html": "text/html; charset=utf-8",
+ ".jpeg": "image/jpeg",
+ ".jpg": "image/jpeg",
+ ".js": "text/javascript; charset=utf-8",
+ ".json": "application/json",
+ ".mjs": "text/javascript; charset=utf-8",
+ ".pdf": "application/pdf",
+ ".png": "image/png",
+ ".svg": "image/svg+xml",
+ ".wasm": "application/wasm",
+ ".webp": "image/webp",
+ ".xml": "text/xml; charset=utf-8",
+ }
)
func GetMimetype(filename string, data []byte) string {
- mutex.Lock()
- defer mutex.Unlock()
+ mimeMutex.Lock()
+ defer mimeMutex.Unlock()
- // short-circuit .js, .css to ensure the
- // browser evaluates them in the right context
- switch filepath.Ext(filename) {
- case ".js":
- return "application/javascript"
- case ".css":
- return "text/css; charset=utf-8"
+ result := mimeTypesByExt[filepath.Ext(filename)]
+ if result != "" {
+ return result
}
- result := cache[filename]
+ result = mimeCache[filename]
if result != "" {
return result
}
@@ -42,6 +62,6 @@ func GetMimetype(filename string, data []byte) string {
result = "application/octet-stream"
}
- cache[filename] = result
+ mimeCache[filename] = result
return result
}
diff --git a/v2/pkg/assetserver/mimecache_test.go b/v2/pkg/assetserver/mimecache_test.go
index 6b338b7e4..1496dbf52 100644
--- a/v2/pkg/assetserver/mimecache_test.go
+++ b/v2/pkg/assetserver/mimecache_test.go
@@ -25,10 +25,11 @@ func TestGetMimetype(t *testing.T) {
want string
}{
// TODO: Add test cases.
- {"nil data", args{"nil.svg", nil}, "text/plain"},
- {"empty data", args{"empty.html", emptyMsg}, "text/plain"},
+ {"nil data", args{"nil.svg", nil}, "image/svg+xml"},
+ {"empty data", args{"empty.html", emptyMsg}, "text/html; charset=utf-8"},
{"css", args{"test.css", css}, "text/css; charset=utf-8"},
- {"js", args{"test.js", []byte("let foo = 'bar'; console.log(foo);")}, "application/javascript"},
+ {"js", args{"test.js", []byte("let foo = 'bar'; console.log(foo);")}, "text/javascript; charset=utf-8"},
+ {"mjs", args{"test.mjs", []byte("let foo = 'bar'; console.log(foo);")}, "text/javascript; charset=utf-8"},
{"html-utf8", args{"test_utf8.html", html}, "text/html; charset=utf-8"},
{"html-bom-utf8", args{"test_bom_utf8.html", bomHtml}, "text/html; charset=utf-8"},
{"svg", args{"test.svg", svg}, "image/svg+xml"},
diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx
index fdb64b48b..0c625ce88 100644
--- a/website/src/pages/changelog.mdx
+++ b/website/src/pages/changelog.mdx
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added Webview GPU acceleration options for [Windows](/docs/reference/options#webviewgpuisdisabled) and [Linux](/docs/reference/options#webviewgpupolicy). Added by @Lyimmi in [PR](https://github.com/wailsapp/wails/pull/2266)
- Added `EnableFraudulentWebsiteDetection` option to opt-in to scan services for fraudulent content, such as malware or phishing attempts. Older releases had the scan services per default activated. Added by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2269)
- Allow an [AssetServer Middleware](/docs/reference/options#middleware) to specify the `Content-Type` of a file served by the [Assets](/docs/reference/options#assets-1) `fs.FS`. Added by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2286)
+- The AssetServer now detects more mimetypes by extension, e.g. `.mjs`. Added by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2391)
### Changed
- Improved fullscreen mode for frameless window on Windows. Changed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2279), [PR](https://github.com/wailsapp/wails/pull/2288) and [PR](https://github.com/wailsapp/wails/pull/2299)
From 0f572925554250e21bc695336875757df1396081 Mon Sep 17 00:00:00 2001
From: stffabi
Date: Wed, 22 Feb 2023 10:55:40 +0100
Subject: [PATCH 02/36] [darwin] Add a macOS version guard for opening the web
inspector (#2397)
Log if the inspector could not be opened due to missing or
incorrect private API.
---
.../frontend/desktop/darwin/inspector_dev.go | 28 ++++++++++++++-----
website/src/pages/changelog.mdx | 1 +
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/v2/internal/frontend/desktop/darwin/inspector_dev.go b/v2/internal/frontend/desktop/darwin/inspector_dev.go
index 4e63e23e3..e948435cb 100644
--- a/v2/internal/frontend/desktop/darwin/inspector_dev.go
+++ b/v2/internal/frontend/desktop/darwin/inspector_dev.go
@@ -21,14 +21,28 @@ package darwin
@end
void showInspector(void *inctx) {
- WailsContext *ctx = (__bridge WailsContext*) inctx;
+ if (@available(macOS 12.0, *)) {
+ WailsContext *ctx = (__bridge WailsContext*) inctx;
- [ctx.webview._inspector show];
- dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC);
- dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
- // Detach must be deferred a little bit and is ignored directly after a show.
- [ctx.webview._inspector detach];
- });
+ @try {
+ [ctx.webview._inspector show];
+ } @catch (NSException *exception) {
+ NSLog(@"Opening the inspector failed: %@", exception.reason);
+ return;
+ }
+
+ dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC);
+ dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
+ // Detach must be deferred a little bit and is ignored directly after a show.
+ @try {
+ [ctx.webview._inspector detach];
+ } @catch (NSException *exception) {
+ NSLog(@"Detaching the inspector failed: %@", exception.reason);
+ }
+ });
+ } else {
+ NSLog(@"Opening the inspector needs at least MacOS 12");
+ }
}
*/
import "C"
diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx
index 0c625ce88..ab4356532 100644
--- a/website/src/pages/changelog.mdx
+++ b/website/src/pages/changelog.mdx
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed the showing of a white border around a fullscreen window when `DisableWindowIcon` is active on Windows. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2299)
- Fixed the sometimes lagging drag experience with `--wails-draggable` on Windows. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2302)
- Fixed applying the default arch to platform flag in wails cli. If only a `GOOS` has been supplied as platform flag e.g. `wails build --platform windows` the current architecture wasn't applied and the build failed. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2309)
+- Fixed a segfault on opening the inspector on older macOS versions. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2397)
## v2.3.0 - 2022-12-29
From 42f43462e8ad9664a7ce0539217ac0907a9897a0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 23 Feb 2023 20:02:19 +1100
Subject: [PATCH 03/36] Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2
(#2408)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
v2/go.mod | 2 +-
v2/go.sum | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/v2/go.mod b/v2/go.mod
index 7f6b7cc08..e0fd76556 100644
--- a/v2/go.mod
+++ b/v2/go.mod
@@ -92,7 +92,7 @@ require (
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/image v0.0.0-20201208152932-35266b937fa6 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
- golang.org/x/text v0.3.7 // indirect
+ golang.org/x/text v0.3.8 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/v2/go.sum b/v2/go.sum
index c434fd7af..0f1598f45 100644
--- a/v2/go.sum
+++ b/v2/go.sum
@@ -268,8 +268,9 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
+golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
From 6c2b0fcb028c6e7248ec2f7af2a532860152153f Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 23 Feb 2023 20:03:16 +1100
Subject: [PATCH 04/36] chore: update sponsors.svg (#2403)
Co-authored-by: leaanthony
---
website/static/img/sponsors.svg | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/website/static/img/sponsors.svg b/website/static/img/sponsors.svg
index 1f7c28dfa..9006725d8 100644
--- a/website/static/img/sponsors.svg
+++ b/website/static/img/sponsors.svg
@@ -113,38 +113,42 @@ text {
+
From 2686d5c61ad9afed32bcbbdb9d42895a2c49449c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 23 Feb 2023 20:04:29 +1100
Subject: [PATCH 05/36] Bump golang.org/x/text from 0.3.7 to 0.3.8 in
/v2/examples/customlayout (#2409)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony
---
v2/examples/customlayout/go.mod | 2 +-
v2/examples/customlayout/go.sum | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/v2/examples/customlayout/go.mod b/v2/examples/customlayout/go.mod
index 97defaeb1..febd12d24 100644
--- a/v2/examples/customlayout/go.mod
+++ b/v2/examples/customlayout/go.mod
@@ -28,7 +28,7 @@ require (
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
- golang.org/x/text v0.3.7 // indirect
+ golang.org/x/text v0.3.8 // indirect
)
replace github.com/wailsapp/wails/v2 v2.1.0 => ../..
diff --git a/v2/examples/customlayout/go.sum b/v2/examples/customlayout/go.sum
index 13bb6bbe1..0a9019d81 100644
--- a/v2/examples/customlayout/go.sum
+++ b/v2/examples/customlayout/go.sum
@@ -39,7 +39,7 @@ github.com/samber/lo v1.27.1 h1:sTXwkRiIFIQG+G0HeAvOEnGjqWeWtI9cg5/n51KrxPg=
github.com/samber/lo v1.27.1/go.mod h1:it33p9UtPMS7z72fP4gw/EIfQB2eI8ke7GR2wc6+Rhg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
+github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
github.com/thoas/go-funk v0.9.1 h1:O549iLZqPpTUQ10ykd26sZhzD+rmR5pWhuElrhbC20M=
github.com/tkrajina/go-reflector v0.5.5 h1:gwoQFNye30Kk7NrExj8zm3zFtrGPqOkzFMLuQZg1DtQ=
github.com/tkrajina/go-reflector v0.5.5/go.mod h1:ECbqLgccecY5kPmPmXg1MrHW585yMcDkVl6IvJe64T4=
@@ -68,8 +68,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9w
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
-golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
+golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
From c20ccfb9a61843c315ba741029df39ed9c6d990d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 23 Feb 2023 20:05:25 +1100
Subject: [PATCH 06/36] Bump golang.org/x/text from 0.3.0 to 0.3.8 (#2404)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.0 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.0...v0.3.8)
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony
---
go.mod | 5 ++---
go.sum | 33 ++++++++++++++++++++++++---------
2 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/go.mod b/go.mod
index de1bbf336..c08ae7b4e 100644
--- a/go.mod
+++ b/go.mod
@@ -19,9 +19,8 @@ require (
github.com/stretchr/testify v1.3.0 // indirect
github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
golang.org/x/image v0.0.0-20200430140353-33d19683fad8
- golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect
- golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359
- golang.org/x/text v0.3.0
+ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
+ golang.org/x/text v0.3.8
gopkg.in/AlecAivazis/survey.v1 v1.8.4
gopkg.in/yaml.v3 v3.0.0-20190709130402-674ba3eaed22
)
diff --git a/go.sum b/go.sum
index 6883f786a..b433a1ea1 100644
--- a/go.sum
+++ b/go.sum
@@ -58,25 +58,40 @@ github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba h1:2DHfQOxcpWdGf5q5IzCUFPNvRX9Icf+09RvQK2VnJq0=
github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba/go.mod h1:iLnlXG2Pakcii2CU0cbY07DRCSvpWNa7nFxtevhOChk=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/image v0.0.0-20200430140353-33d19683fad8 h1:6WW6V3x1P/jokJBpRQYUJnMHRP6isStQwCozxnU7XQw=
golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20200625001655-4c5254603344 h1:vGXIOMxbNfDTk/aXCmfdLgkrSV+Z2tcbze+pEc3v5W4=
-golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
+golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
+golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180606202747-9527bec2660b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181228144115-9a3f9b0469bb/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 h1:2B5p2L5IfGiD7+b9BOoRMC6DgObAVZV+Fsp050NqXik=
-golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
+golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
+golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
+golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/AlecAivazis/survey.v1 v1.8.4 h1:10xXXN3wgIhPheb5NI58zFgZv32Ana7P3Tl4shW+0Qc=
gopkg.in/AlecAivazis/survey.v1 v1.8.4/go.mod h1:iBNOmqKz/NUbZx3bA+4hAGLRC7fSK7tgtVDT4tB22XA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
From 017ce1e33ed555b78de5c35d30dd0498f857deb5 Mon Sep 17 00:00:00 2001
From: Gwyn
Date: Fri, 24 Feb 2023 12:13:27 -0700
Subject: [PATCH 07/36] =?UTF-8?q?The=20outputFile=20was=20only=20being=20s?=
=?UTF-8?q?et=20for=20darwin=20universal=20builds.=20I=20move=E2=80=A6=20(?=
=?UTF-8?q?#2358)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* The outputFile was only being set for darwin universal builds. I moved the
variable assignment to a location where it will take place for all builds.
The ProjectData entries are used in generating the .app plist file, so
setting them here ensures that the app will run with the custom binary name.
* Increases the reach of the output flag.
* Updates the changelog with a record of this fix.
---
v2/pkg/commands/build/build.go | 5 ++++-
website/src/pages/changelog.mdx | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/v2/pkg/commands/build/build.go b/v2/pkg/commands/build/build.go
index fe8f926f5..1af7e99f4 100644
--- a/v2/pkg/commands/build/build.go
+++ b/v2/pkg/commands/build/build.go
@@ -262,9 +262,12 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
// Compile the application
printBulletPoint("Compiling application: ")
+ outputFile := builder.OutputFilename(options)
+ options.ProjectData.OutputFilename = outputFile
+ options.ProjectData.Name = outputFile
+ options.ProjectData.Info.ProductName = outputFile
if options.Platform == "darwin" && options.Arch == "universal" {
- outputFile := builder.OutputFilename(options)
amd64Filename := outputFile + "-amd64"
arm64Filename := outputFile + "-arm64"
diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx
index ab4356532..ac0b20f55 100644
--- a/website/src/pages/changelog.mdx
+++ b/website/src/pages/changelog.mdx
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed the sometimes lagging drag experience with `--wails-draggable` on Windows. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2302)
- Fixed applying the default arch to platform flag in wails cli. If only a `GOOS` has been supplied as platform flag e.g. `wails build --platform windows` the current architecture wasn't applied and the build failed. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2309)
- Fixed a segfault on opening the inspector on older macOS versions. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2397)
+- Fixed the macos single architecture builds not respecting an output file name specified with the '-o' flag. Fixed by @gwynforthewyn in [PR](https://github.com/wailsapp/wails/pull/2358)
## v2.3.0 - 2022-12-29
From 64ff0753021be04f13e647f3197ad1af46c385a5 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 25 Feb 2023 10:02:34 +1100
Subject: [PATCH 08/36] chore: update sponsors.svg (#2416)
Co-authored-by: leaanthony
---
website/static/img/sponsors.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/static/img/sponsors.svg b/website/static/img/sponsors.svg
index 9006725d8..505674481 100644
--- a/website/static/img/sponsors.svg
+++ b/website/static/img/sponsors.svg
@@ -100,7 +100,7 @@ text {
-
From 3eaaf3180331bccb7813b7c9ea9da838f8a940b9 Mon Sep 17 00:00:00 2001
From: Lea Anthony
Date: Sat, 25 Feb 2023 12:29:46 +1100
Subject: [PATCH 09/36] Upgrade sponsorkit
---
scripts/sponsors/package-lock.json | 317 ++++++++++++++++++++---------
scripts/sponsors/package.json | 2 +-
2 files changed, 217 insertions(+), 102 deletions(-)
diff --git a/scripts/sponsors/package-lock.json b/scripts/sponsors/package-lock.json
index 3a10700de..afb8c45a5 100644
--- a/scripts/sponsors/package-lock.json
+++ b/scripts/sponsors/package-lock.json
@@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
- "sponsorkit": "^0.6.1"
+ "sponsorkit": "^0.8.2"
}
},
"node_modules/@antfu/utils": {
@@ -57,13 +57,16 @@
},
"node_modules/ansi-styles": {
"version": "4.3.0",
- "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/array-back": {
@@ -118,8 +121,22 @@
},
"node_modules/base64-js": {
"version": "1.5.1",
- "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
},
"node_modules/bcrypt-pbkdf": {
"version": "1.0.2",
@@ -131,7 +148,7 @@
},
"node_modules/bl": {
"version": "4.1.0",
- "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
"integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
"dependencies": {
"buffer": "^5.5.0",
@@ -141,7 +158,7 @@
},
"node_modules/boolbase": {
"version": "1.0.0",
- "resolved": "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="
},
"node_modules/brace-expansion": {
@@ -155,8 +172,22 @@
},
"node_modules/buffer": {
"version": "5.7.1",
- "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
"integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
"dependencies": {
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
@@ -188,7 +219,7 @@
},
"node_modules/chownr": {
"version": "1.1.4",
- "resolved": "https://registry.npmmirror.com/chownr/-/chownr-1.1.4.tgz",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
},
"node_modules/cliss": {
@@ -208,7 +239,7 @@
},
"node_modules/cliui": {
"version": "8.0.1",
- "resolved": "https://registry.npmmirror.com/cliui/-/cliui-8.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
"integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
"dependencies": {
"string-width": "^4.2.0",
@@ -221,7 +252,7 @@
},
"node_modules/cliui/node_modules/ansi-regex": {
"version": "5.0.1",
- "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"engines": {
"node": ">=8"
@@ -229,7 +260,7 @@
},
"node_modules/cliui/node_modules/strip-ansi": {
"version": "6.0.1",
- "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -240,7 +271,7 @@
},
"node_modules/color": {
"version": "4.2.3",
- "resolved": "https://registry.npmmirror.com/color/-/color-4.2.3.tgz",
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
"integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
"dependencies": {
"color-convert": "^2.0.1",
@@ -252,7 +283,7 @@
},
"node_modules/color-convert": {
"version": "2.0.1",
- "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dependencies": {
"color-name": "~1.1.4"
@@ -263,12 +294,12 @@
},
"node_modules/color-name": {
"version": "1.1.4",
- "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/color-string": {
"version": "1.9.1",
- "resolved": "https://registry.npmmirror.com/color-string/-/color-string-1.9.1.tgz",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
"dependencies": {
"color-name": "^1.0.0",
@@ -322,7 +353,7 @@
},
"node_modules/css-select": {
"version": "5.1.0",
- "resolved": "https://registry.npmmirror.com/css-select/-/css-select-5.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
"integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
"dependencies": {
"boolbase": "^1.0.0",
@@ -330,14 +361,20 @@
"domhandler": "^5.0.2",
"domutils": "^3.0.1",
"nth-check": "^2.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
}
},
"node_modules/css-what": {
"version": "6.1.0",
- "resolved": "https://registry.npmmirror.com/css-what/-/css-what-6.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",
"integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==",
"engines": {
"node": ">= 6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
}
},
"node_modules/dashdash": {
@@ -353,13 +390,16 @@
},
"node_modules/decompress-response": {
"version": "6.0.0",
- "resolved": "https://registry.npmmirror.com/decompress-response/-/decompress-response-6.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
"integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
"dependencies": {
"mimic-response": "^3.1.0"
},
"engines": {
"node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/deep-extend": {
@@ -398,7 +438,7 @@
},
"node_modules/detect-libc": {
"version": "2.0.1",
- "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz",
"integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==",
"engines": {
"node": ">=8"
@@ -406,38 +446,53 @@
},
"node_modules/dom-serializer": {
"version": "2.0.0",
- "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"dependencies": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.2",
"entities": "^4.2.0"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
"node_modules/domelementtype": {
"version": "2.3.0",
- "resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz",
- "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw=="
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
+ "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ]
},
"node_modules/domhandler": {
"version": "5.0.3",
- "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"dependencies": {
"domelementtype": "^2.3.0"
},
"engines": {
"node": ">= 4"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/domutils": {
"version": "3.0.1",
- "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz",
"integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==",
"dependencies": {
"dom-serializer": "^2.0.0",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/dotenv": {
@@ -459,12 +514,12 @@
},
"node_modules/emoji-regex": {
"version": "8.0.0",
- "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"node_modules/end-of-stream": {
"version": "1.4.4",
- "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dependencies": {
"once": "^1.4.0"
@@ -472,15 +527,18 @@
},
"node_modules/entities": {
"version": "4.4.0",
- "resolved": "https://registry.npmmirror.com/entities/-/entities-4.4.0.tgz",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz",
"integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==",
"engines": {
"node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/escalade": {
"version": "3.1.1",
- "resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"engines": {
"node": ">=6"
@@ -488,7 +546,7 @@
},
"node_modules/expand-template": {
"version": "2.0.3",
- "resolved": "https://registry.npmmirror.com/expand-template/-/expand-template-2.0.3.tgz",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
"integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
"engines": {
"node": ">=6"
@@ -567,20 +625,20 @@
},
"node_modules/fs-constants": {
"version": "1.0.0",
- "resolved": "https://registry.npmmirror.com/fs-constants/-/fs-constants-1.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=14.14"
}
},
"node_modules/fs.realpath": {
@@ -590,7 +648,7 @@
},
"node_modules/get-caller-file": {
"version": "2.0.5",
- "resolved": "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"engines": {
"node": "6.* || 8.* || >= 10.*"
@@ -622,7 +680,7 @@
},
"node_modules/github-from-package": {
"version": "0.0.0",
- "resolved": "https://registry.npmmirror.com/github-from-package/-/github-from-package-0.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
"integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw=="
},
"node_modules/glob": {
@@ -669,7 +727,7 @@
},
"node_modules/he": {
"version": "1.2.0",
- "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
"bin": {
"he": "bin/he"
@@ -691,8 +749,22 @@
},
"node_modules/ieee754": {
"version": "1.2.1",
- "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
},
"node_modules/image-data-uri": {
"version": "2.0.1",
@@ -744,7 +816,7 @@
},
"node_modules/ini": {
"version": "1.3.8",
- "resolved": "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
},
"node_modules/inspect-function": {
@@ -857,12 +929,12 @@
},
"node_modules/is-arrayish": {
"version": "0.3.2",
- "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.3.2.tgz",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
},
"node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
- "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"engines": {
"node": ">=8"
@@ -908,7 +980,7 @@
},
"node_modules/jsonfile": {
"version": "6.1.0",
- "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dependencies": {
"universalify": "^2.0.0"
@@ -958,7 +1030,7 @@
},
"node_modules/lru-cache": {
"version": "6.0.0",
- "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"dependencies": {
"yallist": "^4.0.0"
@@ -999,10 +1071,13 @@
},
"node_modules/mimic-response": {
"version": "3.1.0",
- "resolved": "https://registry.npmmirror.com/mimic-response/-/mimic-response-3.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
"integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
"engines": {
"node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/minimatch": {
@@ -1017,24 +1092,27 @@
}
},
"node_modules/minimist": {
- "version": "1.2.7",
- "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.7.tgz",
- "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g=="
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
"node_modules/mkdirp-classic": {
"version": "0.5.3",
- "resolved": "https://registry.npmmirror.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
},
"node_modules/napi-build-utils": {
"version": "1.0.2",
- "resolved": "https://registry.npmmirror.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
"integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg=="
},
"node_modules/node-abi": {
- "version": "3.30.0",
- "resolved": "https://registry.npmmirror.com/node-abi/-/node-abi-3.30.0.tgz",
- "integrity": "sha512-qWO5l3SCqbwQavymOmtTVuCWZE23++S+rxyoHjXqUmPyzRcaoI4lA2gO55/drddGnedAyjA7sk76SfQ5lfUMnw==",
+ "version": "3.33.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.33.0.tgz",
+ "integrity": "sha512-7GGVawqyHF4pfd0YFybhv/eM9JwTtPqx0mAanQ146O3FlSh3pA24zf9IRQTOsfTSqXTNzPSP5iagAJ94jjuVog==",
"dependencies": {
"semver": "^7.3.5"
},
@@ -1043,9 +1121,9 @@
}
},
"node_modules/node-addon-api": {
- "version": "5.0.0",
- "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-5.0.0.tgz",
- "integrity": "sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA=="
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz",
+ "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA=="
},
"node_modules/node-fetch-native": {
"version": "0.1.8",
@@ -1053,9 +1131,9 @@
"integrity": "sha512-ZNaury9r0NxaT2oL65GvdGDy+5PlSaHTovT6JV5tOW07k1TQmgC0olZETa4C9KZg0+6zBr99ctTYa3Utqj9P/Q=="
},
"node_modules/node-html-parser": {
- "version": "6.1.4",
- "resolved": "https://registry.npmmirror.com/node-html-parser/-/node-html-parser-6.1.4.tgz",
- "integrity": "sha512-3muP9Uy/Pz7bQa9TNYVQzWJhNZMqyCx7xJle8kz2/y1UgzAUyXXShc1IcPaJy6u07CE3K5rQcRwlvHzmlySRjg==",
+ "version": "6.1.5",
+ "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.5.tgz",
+ "integrity": "sha512-fAaM511feX++/Chnhe475a0NHD8M7AxDInsqQpz6x63GRF7xYNdS8Vo5dKsIVPgsOvG7eioRRTZQnWBrhDHBSg==",
"dependencies": {
"css-select": "^5.1.0",
"he": "1.2.0"
@@ -1063,10 +1141,13 @@
},
"node_modules/nth-check": {
"version": "2.1.1",
- "resolved": "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
"integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
"dependencies": {
"boolbase": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/nth-check?sponsor=1"
}
},
"node_modules/oauth-sign": {
@@ -1213,7 +1294,7 @@
},
"node_modules/prebuild-install": {
"version": "7.1.1",
- "resolved": "https://registry.npmmirror.com/prebuild-install/-/prebuild-install-7.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz",
"integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==",
"dependencies": {
"detect-libc": "^2.0.0",
@@ -1243,7 +1324,7 @@
},
"node_modules/pump": {
"version": "3.0.0",
- "resolved": "https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -1268,7 +1349,7 @@
},
"node_modules/rc": {
"version": "1.2.8",
- "resolved": "https://registry.npmmirror.com/rc/-/rc-1.2.8.tgz",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
"integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
"dependencies": {
"deep-extend": "^0.6.0",
@@ -1281,9 +1362,9 @@
}
},
"node_modules/readable-stream": {
- "version": "3.6.0",
- "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz",
- "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.1.tgz",
+ "integrity": "sha512-+rQmrWMYGA90yenhTYsLWAsLsqVC8osOw6PKE1HDYiO0gdPeKe/xDHNzIAIn4C91YQ6oenEhfYqqc1883qHbjQ==",
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
@@ -1334,7 +1415,7 @@
},
"node_modules/require-directory": {
"version": "2.1.1",
- "resolved": "https://registry.npmmirror.com/require-directory/-/require-directory-2.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
"engines": {
"node": ">=0.10.0"
@@ -1363,7 +1444,7 @@
},
"node_modules/semver": {
"version": "7.3.8",
- "resolved": "https://registry.npmmirror.com/semver/-/semver-7.3.8.tgz",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"dependencies": {
"lru-cache": "^6.0.0"
@@ -1376,9 +1457,9 @@
}
},
"node_modules/sharp": {
- "version": "0.31.2",
- "resolved": "https://registry.npmmirror.com/sharp/-/sharp-0.31.2.tgz",
- "integrity": "sha512-DUdNVEXgS5A97cTagSLIIp8dUZ/lZtk78iNVZgHdHbx1qnQR7JAHY0BnXnwwH39Iw+VKhO08CTYhIg0p98vQ5Q==",
+ "version": "0.31.3",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.31.3.tgz",
+ "integrity": "sha512-XcR4+FCLBFKw1bdB+GEhnUNXNXvnt0tDo4WsBsraKymuo/IAuPuCBVAL2wIkUw2r/dwFW5Q5+g66Kwl2dgDFVg==",
"hasInstallScript": true,
"dependencies": {
"color": "^4.2.3",
@@ -1392,17 +1473,48 @@
},
"engines": {
"node": ">=14.15.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
"node_modules/simple-concat": {
"version": "1.0.1",
- "resolved": "https://registry.npmmirror.com/simple-concat/-/simple-concat-1.0.1.tgz",
- "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
},
"node_modules/simple-get": {
"version": "4.0.1",
- "resolved": "https://registry.npmmirror.com/simple-get/-/simple-get-4.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
"integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
"dependencies": {
"decompress-response": "^6.0.0",
"once": "^1.3.1",
@@ -1411,7 +1523,7 @@
},
"node_modules/simple-swizzle": {
"version": "0.2.2",
- "resolved": "https://registry.npmmirror.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
"dependencies": {
"is-arrayish": "^0.3.1"
@@ -1423,20 +1535,20 @@
"integrity": "sha512-weHOi8BolsDnGIwhhWHbA+wKSuSpvWwjRrdj8SdbIIis2vSwOE37CQP8x3EleuzxanUr3AK8BdUy4MkiOULPZg=="
},
"node_modules/sponsorkit": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/sponsorkit/-/sponsorkit-0.6.1.tgz",
- "integrity": "sha512-KPctw94EI/n/ynCC1GNUYOcXyHDV3C7pnbH9fRHc7LuME4KDMLJCzKC+DsNHH684nyKRNQKU41v5BCfZPjfw+w==",
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/sponsorkit/-/sponsorkit-0.8.2.tgz",
+ "integrity": "sha512-Gxh7hkTUuUVj823+BnwC77Rl5ztFEY00qA2QVULOU0N5qgj1YEP3/0BB/EayfPrHeV7HbAOwSeAnqC8/yoRABA==",
"dependencies": {
"consola": "^2.15.3",
"dotenv": "^16.0.3",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"image-data-uri": "^2.0.1",
- "node-html-parser": "^6.1.1",
- "ohmyfetch": "^0.4.20",
+ "node-html-parser": "^6.1.5",
+ "ohmyfetch": "^0.4.21",
"picocolors": "^1.0.0",
- "sharp": "^0.31.1",
+ "sharp": "^0.31.3",
"unconfig": "^0.3.7",
- "yargs": "^17.6.0"
+ "yargs": "^17.7.1"
},
"bin": {
"sponsorkit": "bin/sponsorkit.js"
@@ -1479,7 +1591,7 @@
},
"node_modules/string_decoder": {
"version": "1.3.0",
- "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dependencies": {
"safe-buffer": "~5.2.0"
@@ -1487,7 +1599,7 @@
},
"node_modules/string-width": {
"version": "4.2.3",
- "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -1500,7 +1612,7 @@
},
"node_modules/string-width/node_modules/ansi-regex": {
"version": "5.0.1",
- "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"engines": {
"node": ">=8"
@@ -1508,7 +1620,7 @@
},
"node_modules/string-width/node_modules/strip-ansi": {
"version": "6.0.1",
- "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -1567,7 +1679,7 @@
},
"node_modules/strip-json-comments": {
"version": "2.0.1",
- "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
"integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
"engines": {
"node": ">=0.10.0"
@@ -1590,7 +1702,7 @@
},
"node_modules/tar-fs": {
"version": "2.1.1",
- "resolved": "https://registry.npmmirror.com/tar-fs/-/tar-fs-2.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
"integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
"dependencies": {
"chownr": "^1.1.1",
@@ -1601,7 +1713,7 @@
},
"node_modules/tar-stream": {
"version": "2.2.0",
- "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
"integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
"dependencies": {
"bl": "^4.0.3",
@@ -1675,7 +1787,7 @@
},
"node_modules/universalify": {
"version": "2.0.0",
- "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"engines": {
"node": ">= 10.0.0"
@@ -1696,7 +1808,7 @@
},
"node_modules/util-deprecate": {
"version": "1.0.2",
- "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
},
"node_modules/uuid": {
@@ -1735,7 +1847,7 @@
},
"node_modules/wrap-ansi": {
"version": "7.0.0",
- "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dependencies": {
"ansi-styles": "^4.0.0",
@@ -1744,11 +1856,14 @@
},
"engines": {
"node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
"node_modules/wrap-ansi/node_modules/ansi-regex": {
"version": "5.0.1",
- "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"engines": {
"node": ">=8"
@@ -1756,7 +1871,7 @@
},
"node_modules/wrap-ansi/node_modules/strip-ansi": {
"version": "6.0.1",
- "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -1772,7 +1887,7 @@
},
"node_modules/y18n": {
"version": "5.0.8",
- "resolved": "https://registry.npmmirror.com/y18n/-/y18n-5.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
"engines": {
"node": ">=10"
@@ -1780,13 +1895,13 @@
},
"node_modules/yallist": {
"version": "4.0.0",
- "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
},
"node_modules/yargs": {
- "version": "17.6.2",
- "resolved": "https://registry.npmmirror.com/yargs/-/yargs-17.6.2.tgz",
- "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==",
+ "version": "17.7.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
+ "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==",
"dependencies": {
"cliui": "^8.0.1",
"escalade": "^3.1.1",
@@ -1810,7 +1925,7 @@
},
"node_modules/yargs/node_modules/yargs-parser": {
"version": "21.1.1",
- "resolved": "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
"engines": {
"node": ">=12"
diff --git a/scripts/sponsors/package.json b/scripts/sponsors/package.json
index 38dc1ad7b..70d6dc5ce 100644
--- a/scripts/sponsors/package.json
+++ b/scripts/sponsors/package.json
@@ -10,6 +10,6 @@
"author": "",
"license": "ISC",
"dependencies": {
- "sponsorkit": "^0.6.1"
+ "sponsorkit": "^0.8.2"
}
}
From 01820d0e8e580b850b1c2a95d9dd87dc40df52da Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 25 Feb 2023 12:32:22 +1100
Subject: [PATCH 10/36] chore: update sponsors.svg (#2418)
Co-authored-by: leaanthony
---
website/static/img/sponsors.svg | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/website/static/img/sponsors.svg b/website/static/img/sponsors.svg
index 505674481..2769b23d3 100644
--- a/website/static/img/sponsors.svg
+++ b/website/static/img/sponsors.svg
@@ -42,32 +42,28 @@ text {
-
```
-[Modal File Manager](https://github.com/raguay/ModalFileManager) is a dual pane file manager using web technologies. My original design was based on NW.js and can be found [here](https://github.com/raguay/ModalFileManager-NWjs). This version uses the same Svelte based frontend code (but it has be greatly modified since the departure from NW.js), but the backend is a [Wails 2](https://wails.io/) implementation. By using this implementation, I no longer use command line `rm`, `cp`, etc. commands. It is fully coded using Go and runs much faster than the previous versions.
+[Modal File Manager](https://github.com/raguay/ModalFileManager) is a dual pane file manager using web technologies. My original design was based on NW.js and can be found [here](https://github.com/raguay/ModalFileManager-NWjs). This version uses the same Svelte based frontend code (but it has be greatly modified since the departure from NW.js), but the backend is a [Wails 2](https://wails.io/) implementation. By using this implementation, I no longer use command line `rm`, `cp`, etc. commands, but a git install has to be on the system to download themes and extensions. It is fully coded using Go and runs much faster than the previous versions.
-This file manager is designed around the same principle as Vim: a state controlled keyboard actions. The number of states isn't fixed, but very programmable. Therefore, an infinite number of keyboard configurations can be created and used. This is the main difference from other file managers.
+This file manager is designed around the same principle as Vim: a state controlled keyboard actions. The number of states isn't fixed, but very programmable. Therefore, an infinite number of keyboard configurations can be created and used. This is the main difference from other file managers. There are themes and extensions available to download from GitHub.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/mollywallet.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/mollywallet.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/mollywallet.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/mollywallet.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/october.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/october.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/october.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/october.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/optimus.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/optimus.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/optimus.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/optimus.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/portfall.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/portfall.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/portfall.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/portfall.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/restic-browser.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/restic-browser.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/restic-browser.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/restic-browser.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/riftshare.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/riftshare.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/riftshare.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/riftshare.mdx
diff --git a/website/versioned_docs/version-v2.4.0/community/showcase/scriptbar.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/scriptbar.mdx
new file mode 100644
index 000000000..3e41eb32a
--- /dev/null
+++ b/website/versioned_docs/version-v2.4.0/community/showcase/scriptbar.mdx
@@ -0,0 +1,10 @@
+# ScriptBar
+
+```mdx-code-block
+
+
+
+
+```
+
+[ScriptBar](https://GitHub.com/raguay/ScriptBarApp) is a program to show the output of scripts or [Node-Red](https://nodered.org) server. It runs scripts defined in EmailIt program and shows the output. Scripts from xBar or TextBar can be used, but currently on the TextBar scripts work well. It also displays the output of scripts on your system. ScriptBar doesn't put them in the menubar, but has them all in a convient window for easy viewing. You can have multiple tabs to have many different things show. You can also keep the links to your most visited web sites.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/surge.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/surge.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/surge.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/surge.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/wally.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/wally.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/wally.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/wally.mdx
diff --git a/website/versioned_docs/version-v2.4.0/community/showcase/warmine.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/warmine.mdx
new file mode 100644
index 000000000..46b10b5b1
--- /dev/null
+++ b/website/versioned_docs/version-v2.4.0/community/showcase/warmine.mdx
@@ -0,0 +1,19 @@
+# Minecraft launcher for WarMine
+
+```mdx-code-block
+
+
+
+
+
+```
+
+[Minecraft launcher for WarMine](https://warmine.ru/) is a Wails application, that allows you to easily join modded game servers and manage your game accounts.
+
+The Launcher downloads the game files, checks their integrity and launches the game with a wide range of customization options for the launch arguments from the backend.
+
+Frontend is written in Svelte, whole launcher fits in 9MB and supports Windows 7-11.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/wombat.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/wombat.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.2.0/community/showcase/wombat.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/wombat.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/ytd.mdx b/website/versioned_docs/version-v2.4.0/community/showcase/ytd.mdx
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.3.0/community/showcase/ytd.mdx
rename to website/versioned_docs/version-v2.4.0/community/showcase/ytd.mdx
diff --git a/website/versioned_docs/version-v2.3.0/community/templates.mdx b/website/versioned_docs/version-v2.4.0/community/templates.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/community/templates.mdx
rename to website/versioned_docs/version-v2.4.0/community/templates.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/gettingstarted/_category_.json b/website/versioned_docs/version-v2.4.0/gettingstarted/_category_.json
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/gettingstarted/_category_.json
rename to website/versioned_docs/version-v2.4.0/gettingstarted/_category_.json
diff --git a/website/versioned_docs/version-v2.3.0/gettingstarted/building.mdx b/website/versioned_docs/version-v2.4.0/gettingstarted/building.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/gettingstarted/building.mdx
rename to website/versioned_docs/version-v2.4.0/gettingstarted/building.mdx
diff --git a/website/versioned_docs/version-v2.3.0/gettingstarted/development.mdx b/website/versioned_docs/version-v2.4.0/gettingstarted/development.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/gettingstarted/development.mdx
rename to website/versioned_docs/version-v2.4.0/gettingstarted/development.mdx
diff --git a/website/versioned_docs/version-v2.3.0/gettingstarted/firstproject.mdx b/website/versioned_docs/version-v2.4.0/gettingstarted/firstproject.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/gettingstarted/firstproject.mdx
rename to website/versioned_docs/version-v2.4.0/gettingstarted/firstproject.mdx
diff --git a/website/versioned_docs/version-v2.3.0/gettingstarted/installation.mdx b/website/versioned_docs/version-v2.4.0/gettingstarted/installation.mdx
similarity index 98%
rename from website/versioned_docs/version-v2.3.0/gettingstarted/installation.mdx
rename to website/versioned_docs/version-v2.4.0/gettingstarted/installation.mdx
index 0e4bd0a50..331ca5062 100644
--- a/website/versioned_docs/version-v2.3.0/gettingstarted/installation.mdx
+++ b/website/versioned_docs/version-v2.4.0/gettingstarted/installation.mdx
@@ -57,7 +57,7 @@ import TabItem from "@theme/TabItem";
Wails requires that the WebView2 runtime is installed. Some Windows installations will already have this installed. You can check using the wails doctor command.
- Linux required the standard gcc build tools plus libgtk3 and libwebkit. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
+ Linux requires the standard gcc build tools plus libgtk3 and libwebkit. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
```
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/guides/_category_.json b/website/versioned_docs/version-v2.4.0/guides/_category_.json
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/guides/_category_.json
rename to website/versioned_docs/version-v2.4.0/guides/_category_.json
diff --git a/website/versioned_docs/version-v2.3.0/guides/angular.mdx b/website/versioned_docs/version-v2.4.0/guides/angular.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/angular.mdx
rename to website/versioned_docs/version-v2.4.0/guides/angular.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/application-development.mdx b/website/versioned_docs/version-v2.4.0/guides/application-development.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/application-development.mdx
rename to website/versioned_docs/version-v2.4.0/guides/application-development.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/dynamic-assets.mdx b/website/versioned_docs/version-v2.4.0/guides/dynamic-assets.mdx
similarity index 99%
rename from website/versioned_docs/version-v2.3.0/guides/dynamic-assets.mdx
rename to website/versioned_docs/version-v2.4.0/guides/dynamic-assets.mdx
index 806accf18..0516fb729 100644
--- a/website/versioned_docs/version-v2.3.0/guides/dynamic-assets.mdx
+++ b/website/versioned_docs/version-v2.4.0/guides/dynamic-assets.mdx
@@ -11,7 +11,7 @@ By installing a custom AssetsHandler, you can serve your own assets using a cust
In our example project, we will create a simple assets handler which will load files off disk:
-```go title=main.go {16-35,49}
+```go title=main.go {17-36,49}
package main
import (
diff --git a/website/versioned_docs/version-v2.3.0/guides/frameless.mdx b/website/versioned_docs/version-v2.4.0/guides/frameless.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/frameless.mdx
rename to website/versioned_docs/version-v2.4.0/guides/frameless.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/frontend.mdx b/website/versioned_docs/version-v2.4.0/guides/frontend.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/frontend.mdx
rename to website/versioned_docs/version-v2.4.0/guides/frontend.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/ides.mdx b/website/versioned_docs/version-v2.4.0/guides/ides.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/ides.mdx
rename to website/versioned_docs/version-v2.4.0/guides/ides.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/linux-distro-support.mdx b/website/versioned_docs/version-v2.4.0/guides/linux-distro-support.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/linux-distro-support.mdx
rename to website/versioned_docs/version-v2.4.0/guides/linux-distro-support.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/linux.mdx b/website/versioned_docs/version-v2.4.0/guides/linux.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/linux.mdx
rename to website/versioned_docs/version-v2.4.0/guides/linux.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/local-development.mdx b/website/versioned_docs/version-v2.4.0/guides/local-development.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/local-development.mdx
rename to website/versioned_docs/version-v2.4.0/guides/local-development.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/mac-appstore.mdx b/website/versioned_docs/version-v2.4.0/guides/mac-appstore.mdx
similarity index 81%
rename from website/versioned_docs/version-v2.3.0/guides/mac-appstore.mdx
rename to website/versioned_docs/version-v2.4.0/guides/mac-appstore.mdx
index 271464730..d2c3a9458 100644
--- a/website/versioned_docs/version-v2.3.0/guides/mac-appstore.mdx
+++ b/website/versioned_docs/version-v2.4.0/guides/mac-appstore.mdx
@@ -21,6 +21,12 @@ This page gives a brief overview of how to submit your Wails App to the Mac App
3. Populate your app with the correct screen shots, descriptions, etc. as required by Apple
4. Create a new version of your app
+#### Create Provisioning Profile
+1. Go to the [Apple Developer Profiles](https://developer.apple.com/account/resources/profiles/list) page
+2. Add a new provisioning profile for Mac App Store Distribution
+3. Set the Profile Type as Mac and select the App ID for the application created above
+4. Select the Mac App Distribution certificate
+5. Name the Provisioning Profile embedded and download the created profile.
## Mac App Store Process
@@ -30,7 +36,7 @@ Apps submitted to the Mac App Store must run under Apple's [App Sandbox](https:/
**Example Entitlements File**
-This is an example entitlements file from the [RiftShare](https://github.com/achhabra2/riftshare) app. For reference please put in the entitlements your app requires. Refer to [this site](https://developer.apple.com/documentation/bundleresources/entitlements) for more information.
+This is an example entitlements file from the [RiftShare](https://github.com/achhabra2/riftshare) app. For reference please put in the entitlements your app requires. Refer to [this site](https://developer.apple.com/documentation/bundleresources/entitlements) for more information. You will need to replace the Team ID and Application Name with the ones you registered above.
```xml title="entitlements.plist"
@@ -47,10 +53,17 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
com.apple.security.files.downloads.read-write
+ com.apple.application-identifier
+ TEAM_ID.APP_NAME
+ com.apple.developer.team-identifier
+ TEAM_ID
```
+**Add the Embedded Provisioning Profile**
+The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+
#### Build and Sign the App Package
The following is an example script for building and signing your app for Mac App Store submission. It assumes you are running the script from your root project directory.
@@ -66,6 +79,8 @@ APP_NAME="YourApp"
wails build -platform darwin/universal -clean
+cp ./embedded.provisionprofile "./build/bin/$APP_NAME.app/Contents"
+
codesign --timestamp --options=runtime -s "$APP_CERTIFICATE" -v --entitlements ./build/darwin/entitlements.plist ./build/bin/$APP_NAME.app
productbuild --sign "$PKG_CERTIFICATE" --component ./build/bin/$APP_NAME.app /Applications ./$APP_NAME.pkg
@@ -80,4 +95,4 @@ You will need to upload the generated package file and associate it to your Appl
3. Click the + sign and select the `APP_NAME.pkg` file that you generated in the previous step. Upload it
4. Go back to the [App Store Connect](https://appstoreconnect.apple.com/apps) site and navigate back into your app submission. Select the version that you are ready to make available on the App Store. Under `Build` select the package that you uploaded via Transporter.
-That's it! You can now use the site to submit your App for review. After a few business days if all goes well you should see your App live on the Mac App Store.
\ No newline at end of file
+That's it! You can now use the site to submit your App for review. After a few business days if all goes well you should see your App live on the Mac App Store.
diff --git a/website/versioned_docs/version-v2.3.0/guides/manual-builds.mdx b/website/versioned_docs/version-v2.4.0/guides/manual-builds.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/manual-builds.mdx
rename to website/versioned_docs/version-v2.4.0/guides/manual-builds.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/migrating.mdx b/website/versioned_docs/version-v2.4.0/guides/migrating.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/migrating.mdx
rename to website/versioned_docs/version-v2.4.0/guides/migrating.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/mouse-buttons.mdx b/website/versioned_docs/version-v2.4.0/guides/mouse-buttons.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/mouse-buttons.mdx
rename to website/versioned_docs/version-v2.4.0/guides/mouse-buttons.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/obfuscated.mdx b/website/versioned_docs/version-v2.4.0/guides/obfuscated.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/obfuscated.mdx
rename to website/versioned_docs/version-v2.4.0/guides/obfuscated.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/overscroll.mdx b/website/versioned_docs/version-v2.4.0/guides/overscroll.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/overscroll.mdx
rename to website/versioned_docs/version-v2.4.0/guides/overscroll.mdx
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/version-v2.3.0/guides/routing.mdx b/website/versioned_docs/version-v2.4.0/guides/routing.mdx
similarity index 100%
rename from website/i18n/ko/docusaurus-plugin-content-docs/version-v2.3.0/guides/routing.mdx
rename to website/versioned_docs/version-v2.4.0/guides/routing.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/signing.mdx b/website/versioned_docs/version-v2.4.0/guides/signing.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/signing.mdx
rename to website/versioned_docs/version-v2.4.0/guides/signing.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/templates.mdx b/website/versioned_docs/version-v2.4.0/guides/templates.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/templates.mdx
rename to website/versioned_docs/version-v2.4.0/guides/templates.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx b/website/versioned_docs/version-v2.4.0/guides/troubleshooting.mdx
similarity index 99%
rename from website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx
rename to website/versioned_docs/version-v2.4.0/guides/troubleshooting.mdx
index 37a6d3e79..9a68610c3 100644
--- a/website/versioned_docs/version-v2.3.0/guides/troubleshooting.mdx
+++ b/website/versioned_docs/version-v2.4.0/guides/troubleshooting.mdx
@@ -173,7 +173,7 @@ Sources: https://github.com/wailsapp/wails/issues/1806 and https://github.com/wa
It's preferable to add `frontend/node_modules` and `frontend/package-lock.json` to your `.gitignore`. Otherwise when opening your repository on another machine
that may have different versions of Node installed, you may not be able to run your application.
-If this does happen, simply delete `frontend/node_modules` and `frontend/package-lock.json` and run your `wails build` or `wails dev` command again.
+If this does happen, simply delete `frontend/node_modules` and `frontend/package-lock.json` and run your `wails build` or `wails dev` command again.
## Build process stuck on "Generating bindings"
diff --git a/website/versioned_docs/version-v2.3.0/guides/vscode.mdx b/website/versioned_docs/version-v2.4.0/guides/vscode.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/vscode.mdx
rename to website/versioned_docs/version-v2.4.0/guides/vscode.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/windows-installer.mdx b/website/versioned_docs/version-v2.4.0/guides/windows-installer.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/windows-installer.mdx
rename to website/versioned_docs/version-v2.4.0/guides/windows-installer.mdx
diff --git a/website/versioned_docs/version-v2.3.0/guides/windows.mdx b/website/versioned_docs/version-v2.4.0/guides/windows.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/guides/windows.mdx
rename to website/versioned_docs/version-v2.4.0/guides/windows.mdx
diff --git a/website/versioned_docs/version-v2.3.0/howdoesitwork.mdx b/website/versioned_docs/version-v2.4.0/howdoesitwork.mdx
similarity index 99%
rename from website/versioned_docs/version-v2.3.0/howdoesitwork.mdx
rename to website/versioned_docs/version-v2.4.0/howdoesitwork.mdx
index 2db56daa5..e9f2c6e3d 100644
--- a/website/versioned_docs/version-v2.3.0/howdoesitwork.mdx
+++ b/website/versioned_docs/version-v2.4.0/howdoesitwork.mdx
@@ -141,7 +141,7 @@ Wails requires that you pass in an _instance_ of the struct for it to bind it co
In this example, we create a new `App` instance and then add this instance to the `Bind` option in `wails.Run`:
-```go {16,24} title="main.go"
+```go {17,27} title="main.go"
package main
import (
@@ -188,7 +188,7 @@ func (a *App) Greet(name string) string {
You may bind as many structs as you like. Just make sure you create an instance of it and pass it in `Bind`:
-```go {8-10}
+```go {10-12}
//...
err := wails.Run(&options.App{
Title: "Basic Demo",
@@ -276,7 +276,7 @@ it will be returned to your frontend as a JavaScript class.
:::info Note
-Struct fields *must* have a valid `json` tag to be included in the generated TypeScript.
+Struct fields _must_ have a valid `json` tag to be included in the generated TypeScript.
Anonymous nested structs are not supported at this time.
diff --git a/website/versioned_docs/version-v2.3.0/introduction.mdx b/website/versioned_docs/version-v2.4.0/introduction.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/introduction.mdx
rename to website/versioned_docs/version-v2.4.0/introduction.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/reference/_category_.json b/website/versioned_docs/version-v2.4.0/reference/_category_.json
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/reference/_category_.json
rename to website/versioned_docs/version-v2.4.0/reference/_category_.json
diff --git a/website/versioned_docs/version-v2.3.0/reference/cli.mdx b/website/versioned_docs/version-v2.4.0/reference/cli.mdx
similarity index 99%
rename from website/versioned_docs/version-v2.3.0/reference/cli.mdx
rename to website/versioned_docs/version-v2.4.0/reference/cli.mdx
index 4a73292ae..c76baaadd 100644
--- a/website/versioned_docs/version-v2.3.0/reference/cli.mdx
+++ b/website/versioned_docs/version-v2.4.0/reference/cli.mdx
@@ -85,8 +85,10 @@ Example:
`wails build -clean -o myproject.exe`
-:::Info
+:::info
+
On Mac, the application will be bundled with `Info.plist`, not `Info.dev.plist`.
+
:::
:::info UPX on Apple Silicon
diff --git a/website/versioned_docs/version-v2.3.0/reference/menus.mdx b/website/versioned_docs/version-v2.4.0/reference/menus.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/menus.mdx
rename to website/versioned_docs/version-v2.4.0/reference/menus.mdx
diff --git a/website/versioned_docs/version-v2.3.0/reference/options.mdx b/website/versioned_docs/version-v2.4.0/reference/options.mdx
similarity index 95%
rename from website/versioned_docs/version-v2.3.0/reference/options.mdx
rename to website/versioned_docs/version-v2.4.0/reference/options.mdx
index 1e7af4c19..878512d25 100644
--- a/website/versioned_docs/version-v2.3.0/reference/options.mdx
+++ b/website/versioned_docs/version-v2.4.0/reference/options.mdx
@@ -51,6 +51,7 @@ func main() {
OnBeforeClose: app.beforeClose,
CSSDragProperty: "--wails-draggable",
CSSDragValue: "drag",
+ EnableFraudulentWebsiteDetection: false,
ZoomFactor: 1.0,
IsZoomControlEnabled: false,
Bind: []interface{}{
@@ -78,7 +79,8 @@ func main() {
// OnSuspend is called when Windows enters low power mode
OnSuspend func()
// OnResume is called when Windows resumes from low power mode
- OnResume func()
+ OnResume func(),
+ WebviewGpuDisabled: false,
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -101,6 +103,7 @@ func main() {
Linux: &linux.Options{
Icon: icon,
WindowIsTranslucent: false,
+ WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
},
Debug: options.Debug{
OpenInspectorOnStartup: false,
@@ -413,6 +416,15 @@ Indicates what value the `CSSDragProperty` style should have to drag the window.
Name: CSSDragValue
Type: `string`
+### EnableFraudulentWebsiteDetection
+
+EnableFraudulentWebsiteDetection enables scan services for fraudulent content, such as malware or phishing attempts.
+These services might send information from your app like URLs navigated to and possibly other content to cloud
+services of Apple and Microsoft.
+
+Name: EnableFraudulentWebsiteDetection
+Type: `bool`
+
### ZoomFactor
Name: ZoomFactor
@@ -628,6 +640,13 @@ If set, this function will be called when Windows resumes from low power mode (s
Name: OnResume
Type: `func()`
+#### WebviewGpuIsDisabled
+
+Setting this to `true` will disable GPU hardware acceleration for the webview.
+
+Name: WebviewGpuIsDisabled
+Type: `bool`
+
### Mac
This defines [Mac specific options](#mac).
@@ -824,6 +843,22 @@ Setting this to `true` will make the window background translucent. Some window
Name: WindowIsTranslucent
Type: `bool`
+#### WebviewGpuPolicy
+
+This option is used for determining the webview's hardware acceleration policy.
+
+Name: WebviewGpuPolicy
+Type: [`options.WebviewGpuPolicy`](#webviewgpupolicy-type)
+Default: `WebviewGpuPolicyAlways`
+
+##### WebviewGpuPolicy type
+
+| Value | Description |
+| -------------------------| ----------- |
+| WebviewGpuPolicyAlways | Hardware acceleration is always enabled|
+| WebviewGpuPolicyOnDemand | Hardware acceleration is enabled/disabled as request by web contents|
+| WebviewGpuPolicyNever | Hardware acceleration is always disabled |
+
### Debug
This defines [Debug specific options](#Debug) that apply to debug builds.
diff --git a/website/versioned_docs/version-v2.3.0/reference/project-config.mdx b/website/versioned_docs/version-v2.4.0/reference/project-config.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/project-config.mdx
rename to website/versioned_docs/version-v2.4.0/reference/project-config.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/reference/runtime/_category_.json b/website/versioned_docs/version-v2.4.0/reference/runtime/_category_.json
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/reference/runtime/_category_.json
rename to website/versioned_docs/version-v2.4.0/reference/runtime/_category_.json
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/browser.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/browser.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/browser.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/browser.mdx
diff --git a/website/versioned_docs/version-v2.4.0/reference/runtime/clipboard.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/clipboard.mdx
new file mode 100644
index 000000000..306cfcb44
--- /dev/null
+++ b/website/versioned_docs/version-v2.4.0/reference/runtime/clipboard.mdx
@@ -0,0 +1,28 @@
+---
+sidebar_position: 8
+---
+
+# Clipboard
+
+This part of the runtime provides access to the operating system's clipboard.
+The current implementation only handles text.
+
+### ClipboardGetText
+
+This method reads the currently stored text from the clipboard.
+
+Go: `ClipboardGetText(ctx context.Context) (string, error)`
+Returns: a string (if the clipboard is empty an empty string will be returned) or an error.
+
+JS: `ClipboardGetText(): Promise`
+Returns: a promise with a string result (if the clipboard is empty an empty string will be returned).
+
+### ClipboardSetText
+
+This method writes a text to the clipboard.
+
+Go: `ClipboardSetText(ctx context.Context, text string) error`
+Returns: an error if there is any.
+
+JS: `ClipboardSetText(text: string): Promise`
+Returns: a promise with true result if the text was successfully set on the clipboard, false otherwise.
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/dialog.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/dialog.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/dialog.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/dialog.mdx
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/events.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/events.mdx
similarity index 96%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/events.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/events.mdx
index 354a68f4c..138e03d73 100644
--- a/website/versioned_docs/version-v2.3.0/reference/runtime/events.mdx
+++ b/website/versioned_docs/version-v2.4.0/reference/runtime/events.mdx
@@ -44,4 +44,4 @@ JS: `EventsOnMultiple(eventName string, callback function(optionalData?: any), c
This method emits the given event. Optional data may be passed with the event. This will trigger any event listeners.
Go: `EventsEmit(ctx context.Context, eventName string, optionalData ...interface{})`
-JS: `EventsEmit(ctx context, optionalData function(optionalData?: any))`
+JS: `EventsEmit(eventName: string, ...optionalData: any)`
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/intro.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/intro.mdx
similarity index 98%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/intro.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/intro.mdx
index 13a50edfb..3c491ecf0 100644
--- a/website/versioned_docs/version-v2.3.0/reference/runtime/intro.mdx
+++ b/website/versioned_docs/version-v2.4.0/reference/runtime/intro.mdx
@@ -15,6 +15,7 @@ It has utility methods for:
- [Events](events.mdx)
- [Browser](browser.mdx)
- [Log](log.mdx)
+- [Clipboard](clipboard.mdx)
The Go Runtime is available through importing `github.com/wailsapp/wails/v2/pkg/runtime`. All methods in this package
take a context as the first parameter. This context should be obtained from the [OnStartup](../options.mdx#onstartup)
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/log.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/log.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/log.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/log.mdx
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/menu.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/menu.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/menu.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/menu.mdx
diff --git a/website/versioned_docs/version-v2.3.0/reference/runtime/window.mdx b/website/versioned_docs/version-v2.4.0/reference/runtime/window.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/reference/runtime/window.mdx
rename to website/versioned_docs/version-v2.4.0/reference/runtime/window.mdx
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/tutorials/_category_.json b/website/versioned_docs/version-v2.4.0/tutorials/_category_.json
similarity index 100%
rename from website/i18n/ja/docusaurus-plugin-content-docs/version-v2.1.0/tutorials/_category_.json
rename to website/versioned_docs/version-v2.4.0/tutorials/_category_.json
diff --git a/website/versioned_docs/version-v2.3.0/tutorials/dogsapi.mdx b/website/versioned_docs/version-v2.4.0/tutorials/dogsapi.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/tutorials/dogsapi.mdx
rename to website/versioned_docs/version-v2.4.0/tutorials/dogsapi.mdx
diff --git a/website/versioned_docs/version-v2.3.0/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.4.0/tutorials/helloworld.mdx
similarity index 100%
rename from website/versioned_docs/version-v2.3.0/tutorials/helloworld.mdx
rename to website/versioned_docs/version-v2.4.0/tutorials/helloworld.mdx
diff --git a/website/versioned_sidebars/version-v2.3.0-sidebars.json b/website/versioned_sidebars/version-v2.4.0-sidebars.json
similarity index 100%
rename from website/versioned_sidebars/version-v2.3.0-sidebars.json
rename to website/versioned_sidebars/version-v2.4.0-sidebars.json
diff --git a/website/versions.json b/website/versions.json
index 55f999c0a..a3ee08918 100644
--- a/website/versions.json
+++ b/website/versions.json
@@ -1 +1 @@
-["v2.3.1","v2.3.0"]
\ No newline at end of file
+["v2.4.0","v2.3.1"]
\ No newline at end of file