Skip to content

Commit d98d93f

Browse files
authored
Merge pull request #281 from Voltstro-Studios/master
Release 2.1.0
2 parents b0f06f2 + 5d319e5 commit d98d93f

File tree

125 files changed

+3650
-2156
lines changed

Some content is hidden

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

125 files changed

+3650
-2156
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ updates:
88
- package-ecosystem: "gitsubmodule"
99
directory: "/"
1010
schedule:
11-
interval: "daily"
11+
interval: "monthly"
12+
1213
- package-ecosystem: "nuget"
1314
directory: "src/"
1415
schedule:
15-
interval: "daily"
16+
interval: "monthly"
17+
1618
- package-ecosystem: "npm"
1719
directory: "src/UnityWebBrowser.Pages/"
1820
schedule:
19-
interval: "daily"
21+
interval: "monthly"

.github/workflows/main.yml

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,21 @@ on:
55

66
jobs:
77
#This job builds the Unity project
8-
build-unity:
9-
name: 'Build-Unity'
10-
runs-on: ubuntu-20.04
8+
build-core:
9+
name: 'Build-UWB-Core'
10+
runs-on: ubuntu-22.04
1111
steps:
1212

1313
#Restore
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
16-
lfs: false
1716
path: 'UnityWebBrowserSource/'
1817

1918
#Setup the Environment
2019
- uses: actions/setup-dotnet@v2
2120
name: Setup .NET
2221
with:
23-
dotnet-version: '6.0.x'
22+
dotnet-version: '8.0.x'
2423

2524
#Build shared
2625
- name: Build Shared
@@ -36,8 +35,8 @@ jobs:
3635
key: Cache-Unity
3736

3837
#Build the Unity project
39-
- name: Build Unity
40-
uses: game-ci/unity-builder@v2.2.0
38+
- name: Build Unity Project
39+
uses: game-ci/unity-builder@v4
4140
env:
4241
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
4342
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
@@ -47,51 +46,55 @@ jobs:
4746
targetPlatform: StandaloneLinux64
4847
buildsPath: 'UnityWebBrowserSource/src/UnityWebBrowser.UnityProject/Builds'
4948
versioning: Tag
50-
androidVersionCode: 1 #This is here so we can stop getting warnings about it, even tho we have no plans to support Android
5149

52-
# Builds the 'Pages' project
53-
build-pages:
54-
name: 'Build-Pages'
55-
runs-on: ubuntu-20.04
56-
steps:
50+
#Create an output directory for artifacts
51+
- name: Create Artifacts Staging Directory
52+
shell: pwsh
53+
run: mkdir ~/UWBStaging/
5754

58-
#Checkout
59-
- uses: actions/checkout@v2
60-
with:
61-
lfs: false
62-
path: 'UnityWebBrowserSource/'
55+
#Pack UWB Core
56+
- name: Pack Core Package
57+
shell: pwsh
58+
run: npm pack --pack-destination ~/UWBStaging/
59+
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser
6360

64-
#Restore the cache for pages
65-
- name: Pages Cache
66-
uses: actions/cache@v3
67-
with:
68-
path: UnityWebBrowserSource/src/UnityWebBrowser.Pages/node_modules
69-
key: Cache-Pages
61+
#Pack UWB Communication Pipes
62+
- name: Pack Communication Pipes Package
63+
shell: pwsh
64+
run: npm pack --pack-destination ~/UWBStaging/
65+
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser.Communication.Pipes
7066

71-
#Build Pages
72-
- name: Build Pages
67+
#Pack UWB UNIX Support
68+
- name: Pack Unix Support Package
7369
shell: pwsh
74-
run: '& ./build-pages.ps1'
75-
working-directory: UnityWebBrowserSource/src/DevScripts/
70+
run: npm pack --pack-destination ~/UWBStaging/
71+
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser.Unix-Support
72+
73+
# Upload Packed Packages
74+
- name: Upload Artifacts
75+
uses: actions/upload-artifact@v4
76+
with:
77+
name: UWB-Core
78+
path: ~/UWBStaging/*.tgz
7679

7780
#Builds the CEF Engine
7881
build-engine-cef:
7982
name: 'Build-Engine-Cef'
80-
runs-on: ubuntu-20.04
83+
runs-on: ubuntu-22.04
8184
steps:
8285

8386
#Checkout
84-
- uses: actions/checkout@v2
87+
- uses: actions/checkout@v3
8588
with:
86-
lfs: false
89+
fetch-depth: 0
8790
submodules: 'recursive'
8891
path: 'UnityWebBrowserSource/'
8992

9093
#Setup the Environment
9194
- uses: actions/setup-dotnet@v2
9295
name: Setup .NET
9396
with:
94-
dotnet-version: '6.0.x'
97+
dotnet-version: '8.0.x'
9598

9699
#Download CEF (Linux)
97100
- name: Download CEF (Linux)

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.1.0] - 2024-02-18
8+
9+
### Added
10+
11+
- Added support for allowing Unity to still build your project on unsupported UWB platforms
12+
- This doesn't mean that UWB will run on them!
13+
- Added set/get zoom level
14+
- Added open dev tools
15+
- Added 'JS Methods'. A way of invoking .NET methods from JS.
16+
- Added `OnClientInitialized` event
17+
- Added `OnClientConnected` event
18+
19+
### Changed
20+
21+
- Bump deps
22+
- Updated CEF to 121.3.13
23+
- Upgrade Engine to .NET 8
24+
- CEF Engine buffer improvements
25+
26+
### Fixed
27+
28+
- Fix Unity 2023 TMP Problems
29+
730
## [2.0.2] - 2023-05-29
831

932
### Added
@@ -20,23 +43,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2043
## [2.0.1] - 2022-11-08
2144

2245
### Changed
46+
2347
- Updated `package.json`(s)
2448
- Updated CEF to 106.1.1
2549

2650
### Fixed
51+
2752
- Fixed issue with stripped builds
2853
- Fixed some keyboard stuff (on new input system)
2954
- Fixed null reference error related to when engine fails to launch, but UWB has already been destroyed
3055

3156
## [2.0.0] - 2022-10-18
3257

3358
### Added
59+
3460
- Added UNIX Support package
3561
- Added Popup Handling
3662
- Added disableAllControls, disableMouse and disableKeyboard
3763
- Added project site (https://projects.voltstro.dev/UnityWebBrowser/)
3864

3965
### Changed
66+
4067
- Updated CEF to 106.1.0
4168
- Updated VoltRpc
4269
- Use UniTask
@@ -62,6 +89,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6289
## [2.0.0-preview.3] - 2021-11-20
6390

6491
### Changed
92+
6593
- Updated CEF to 95.7.18
6694
- Updated VoltRpc to 1.2.0
6795
- CEF engine uses .NET 6
@@ -73,6 +101,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
73101
## [2.0.0-preview.2] - 2021-10-24
74102

75103
### Changed
104+
76105
- Updated CEF to 95.7.10
77106
- Use VoltRpc from [UnityNuGet](https://github.com/xoofx/UnityNuGet)
78107
- Events are executed as a task
@@ -83,11 +112,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
83112
- Updated XML docs
84113

85114
### Fixed
115+
86116
- Potential fix for URLs not loading sometimes
87117

88118
## [2.0.0-preview.1] - 2021-09-09
89119

90120
### Added
121+
91122
- Support for multiple browser engines
92123
- Progress bar when copying browser engine files
93124
- Framework for support of multiple browser engines
@@ -97,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
97128
- NOTE: `System.IO.Pipes` has a bad implementation in Unity's custom mono. Some platforms and configurations can result in named pipes to not work.
98129

99130
### Changed
131+
100132
- Updated CEF to 93.1.11
101133
- CefBrowserProcess was renamed to UnityWebBrowser.Engine.Cef
102134
- Underlying IPC communication layer was replaced with [VoltRpc](https://github.com/Voltstro-Studios/VoltRpc)
@@ -107,37 +139,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107139
- Settings related to IPC was merged into a `UnityWebBrowser.WebBrowserIpcSettings` class
108140

109141
### Fixed
142+
110143
- Linux version of the CEF browser engine doesn't require `cefsimple` anymore
111144
- Linux version of the CEF browser will now used trimmed binaries (From 1.1GB to 160MB)
112145

113146
## [1.6.3] - 2021-06-08
147+
114148
### Changed
149+
115150
- Texture in WebBrowserClient will no longer be linear.
116151

117152
## [1.6.2] - 2021-06-08
153+
118154
### Changed
155+
119156
- Moved events to new UnityWebBrowser.Shared assembly.
120157

121158
### Added
159+
122160
- Added MessagePack serialization helper functions for IEventData to UnityWebBrowser.Shared
123161
- Use auto-generated, IL2CPP compatible resolvers for IEventData.
124162

125163
## [1.6.1] - 2021-06-06
164+
126165
### Changed
166+
127167
- Updated package dependencies
128168
- See updated README to see what you also need to install now.
129169

130170
### Fixed
171+
131172
- Fixed compile error when using new input system.
132173

133174
## [1.6.0] - 2021-06-05
175+
134176
### Changed
177+
135178
- Move to [MessagePack](https://github.com/neuecc/MessagePack-CSharp) for faster serialization.
136179
- Renamed browser control methods in `WebBrowserClient.cs` and made them public.
137180

138181
### Removed
182+
139183
- Newtonsoft.Json serialization.
140184

141185
## [1.5.0] - 2021-06-04
186+
142187
### Added
188+
143189
- Added CHANGELOG.md

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2023 Voltstro-Studios
3+
Copyright (c) 2021-2024 Voltstro-Studios
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
obj/
21
_site/
2+
api/**/*.yml
3+
api/.manifest

docs/VoltDocsBuilder.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/api/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/api/Index.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/articles/dev/How-Things-Work.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/articles/dev/Project-Layout.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)