Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.1.0 #281

Merged
merged 72 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
9897a88
Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 in /src
dependabot[bot] May 31, 2023
1076d8c
Bump typescript from 5.0.4 to 5.1.3 in /src/UnityWebBrowser.Pages
dependabot[bot] Jun 2, 2023
f66707f
Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.2 in /src
dependabot[bot] Jun 7, 2023
2d621c3
Update CI
Voltstro Jun 7, 2023
e09ce84
Merge remote-tracking branch 'origin/dependabot/nuget/src/NUnit3TestA…
Voltstro Jun 7, 2023
1a90933
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/Unit…
Voltstro Jun 7, 2023
a4582db
Merge remote-tracking branch 'origin/dependabot/nuget/src/Microsoft.N…
Voltstro Jun 7, 2023
00d8433
Bump deps
Voltstro Jun 7, 2023
2a79066
Other check
Voltstro Jun 7, 2023
400b045
Bump typescript from 5.1.3 to 5.1.6 in /src/UnityWebBrowser.Pages
dependabot[bot] Jun 29, 2023
4962f2d
Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.7.0 in /src
dependabot[bot] Aug 7, 2023
667a42b
Bump vite from 4.3.9 to 4.4.9 in /src/UnityWebBrowser.Pages
dependabot[bot] Aug 7, 2023
330c673
Bump @types/node from 20.2.5 to 20.4.8 in /src/UnityWebBrowser.Pages
dependabot[bot] Aug 7, 2023
d70d571
Replace ThisAssembly.AssemblyInfo with Nerdbank.GitVersioning
Voltstro Aug 9, 2023
bba7b50
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/Unit…
Voltstro Aug 9, 2023
356bb80
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/Unit…
Voltstro Aug 9, 2023
d37fbd4
Merge remote-tracking branch 'origin/dependabot/nuget/src/Microsoft.N…
Voltstro Aug 9, 2023
9390168
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/Unit…
Voltstro Aug 9, 2023
2262f0d
Update CI checkout task
Voltstro Aug 9, 2023
dd8ccf5
Fix Unity 2023 TMP problems
Voltstro Dec 15, 2023
6d223cd
Debug UI additions
Voltstro Dec 15, 2023
7dee86c
Update CI
Voltstro Dec 15, 2023
4c5f8fa
Update
Voltstro Dec 15, 2023
af5ff59
Upgrade to .NET 8
Voltstro Dec 15, 2023
b7873f0
Update deps
Voltstro Dec 15, 2023
896f1d6
Update CEF to 120.1.8
Voltstro Dec 15, 2023
54fa348
Merge remote-tracking branch 'origin/master'
Voltstro Dec 17, 2023
607f9b5
Convert to docfx
Voltstro Dec 18, 2023
f4a1cc0
Add open dev tools
Voltstro Dec 20, 2023
6641d85
Remove index.html from link
Voltstro Dec 24, 2023
04a71ba
Add set/get zoom level
Voltstro Jan 24, 2024
1c3185d
Update VoltRpc
Voltstro Jan 25, 2024
3591def
Add support for allowing Unity to build the project on unsupported pl…
Voltstro Jan 26, 2024
bd6b89a
Update CHANGELOG.md
Voltstro Jan 26, 2024
e38ceb1
Forgot to remove comment
Voltstro Jan 26, 2024
2c2e405
Start of JS Methods
Voltstro Jan 27, 2024
4128393
Better messaging
Voltstro Jan 27, 2024
ba2d490
Configure for monthly updates
Voltstro Jan 27, 2024
7c22dc0
Update Pages deps
Voltstro Jan 27, 2024
7a13272
Update Unity deps
Voltstro Jan 27, 2024
d258f8e
Bump copyright
Voltstro Jan 27, 2024
0fc907b
Upgrade UnityProject to Unity 2021.3.34f1
Voltstro Jan 27, 2024
c26f500
Merge branch 'master' into feature/js-methods
Voltstro Jan 27, 2024
f6c160b
Be able to pass arguments into executeMethod
Voltstro Jan 29, 2024
b4bb521
Basic method invoking
Voltstro Jan 29, 2024
ca3a99e
More work on method invoking
Voltstro Jan 30, 2024
6c5eebf
JS Methods objects
Voltstro Feb 1, 2024
905faa2
Bit of cleanup
Voltstro Feb 2, 2024
eaa7994
Correct DateTime handling
Voltstro Feb 2, 2024
5e7fbd3
Use InvalidValueTypeException
Voltstro Feb 4, 2024
5f7f291
JSMethod Null object support
Voltstro Feb 4, 2024
a4b3c96
Cef buffer improvements
Voltstro Feb 5, 2024
cc7f9b6
Upgrade Unity project to 2021.3.35f1
Voltstro Feb 10, 2024
196a924
Merge branch 'master' into feature/js-methods
Voltstro Feb 10, 2024
6776b82
JsMethodManager enable/disable
Voltstro Feb 11, 2024
787cbcd
Made a load of stuff internal
Voltstro Feb 11, 2024
cabc47f
Add XML docs to exceptions
Voltstro Feb 11, 2024
e8ddb52
Add XML docs to RegisterJsMethod
Voltstro Feb 11, 2024
238146b
Fix MethodNotFoundException using wrong methodName in message
Voltstro Feb 11, 2024
fdf8371
Update pages to use uwb property instead
Voltstro Feb 11, 2024
2375e3c
Merge branch 'chore/docfx'
Voltstro Feb 11, 2024
d55f8a1
Add initial JavaScript docs
Voltstro Feb 14, 2024
1758da8
Update docs
Voltstro Feb 15, 2024
12def85
Add tooltips
Voltstro Feb 15, 2024
d3c995d
Add OnClientConnected event
Voltstro Feb 16, 2024
adc2b50
Add event docs
Voltstro Feb 17, 2024
40b2088
Update CHANGELOG.md
Voltstro Feb 17, 2024
0f10d3d
Update CEF
Voltstro Feb 17, 2024
d712ecb
Update deps
Voltstro Feb 17, 2024
b79c8fe
Update docs to all use lower-case file names
Voltstro Feb 18, 2024
88ea471
Remove no-longer needed DocsPrj
Voltstro Feb 18, 2024
5d319e5
Bump version
Voltstro Feb 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ updates:
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"

- package-ecosystem: "nuget"
directory: "src/"
schedule:
interval: "daily"
interval: "monthly"

- package-ecosystem: "npm"
directory: "src/UnityWebBrowser.Pages/"
schedule:
interval: "daily"
interval: "monthly"
69 changes: 36 additions & 33 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@ on:

jobs:
#This job builds the Unity project
build-unity:
name: 'Build-Unity'
runs-on: ubuntu-20.04
build-core:
name: 'Build-UWB-Core'
runs-on: ubuntu-22.04
steps:

#Restore
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
lfs: false
path: 'UnityWebBrowserSource/'

#Setup the Environment
- uses: actions/setup-dotnet@v2
name: Setup .NET
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'

#Build shared
- name: Build Shared
Expand All @@ -36,8 +35,8 @@ jobs:
key: Cache-Unity

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

# Builds the 'Pages' project
build-pages:
name: 'Build-Pages'
runs-on: ubuntu-20.04
steps:
#Create an output directory for artifacts
- name: Create Artifacts Staging Directory
shell: pwsh
run: mkdir ~/UWBStaging/

#Checkout
- uses: actions/checkout@v2
with:
lfs: false
path: 'UnityWebBrowserSource/'
#Pack UWB Core
- name: Pack Core Package
shell: pwsh
run: npm pack --pack-destination ~/UWBStaging/
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser

#Restore the cache for pages
- name: Pages Cache
uses: actions/cache@v3
with:
path: UnityWebBrowserSource/src/UnityWebBrowser.Pages/node_modules
key: Cache-Pages
#Pack UWB Communication Pipes
- name: Pack Communication Pipes Package
shell: pwsh
run: npm pack --pack-destination ~/UWBStaging/
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser.Communication.Pipes

#Build Pages
- name: Build Pages
#Pack UWB UNIX Support
- name: Pack Unix Support Package
shell: pwsh
run: '& ./build-pages.ps1'
working-directory: UnityWebBrowserSource/src/DevScripts/
run: npm pack --pack-destination ~/UWBStaging/
working-directory: UnityWebBrowserSource/src/Packages/UnityWebBrowser.Unix-Support

# Upload Packed Packages
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: UWB-Core
path: ~/UWBStaging/*.tgz

#Builds the CEF Engine
build-engine-cef:
name: 'Build-Engine-Cef'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:

#Checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
lfs: false
fetch-depth: 0
submodules: 'recursive'
path: 'UnityWebBrowserSource/'

#Setup the Environment
- uses: actions/setup-dotnet@v2
name: Setup .NET
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'

#Download CEF (Linux)
- name: Download CEF (Linux)
Expand Down
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.0] - 2024-02-18

### Added

- Added support for allowing Unity to still build your project on unsupported UWB platforms
- This doesn't mean that UWB will run on them!
- Added set/get zoom level
- Added open dev tools
- Added 'JS Methods'. A way of invoking .NET methods from JS.
- Added `OnClientInitialized` event
- Added `OnClientConnected` event

### Changed

- Bump deps
- Updated CEF to 121.3.13
- Upgrade Engine to .NET 8
- CEF Engine buffer improvements

### Fixed

- Fix Unity 2023 TMP Problems

## [2.0.2] - 2023-05-29

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

### Changed

- Updated `package.json`(s)
- Updated CEF to 106.1.1

### Fixed

- Fixed issue with stripped builds
- Fixed some keyboard stuff (on new input system)
- Fixed null reference error related to when engine fails to launch, but UWB has already been destroyed

## [2.0.0] - 2022-10-18

### Added

- Added UNIX Support package
- Added Popup Handling
- Added disableAllControls, disableMouse and disableKeyboard
- Added project site (https://projects.voltstro.dev/UnityWebBrowser/)

### Changed

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

### Changed

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

### Changed

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

### Fixed

- Potential fix for URLs not loading sometimes

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

### Added

- Support for multiple browser engines
- Progress bar when copying browser engine files
- Framework for support of multiple browser engines
Expand All @@ -97,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 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.

### Changed

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

### Fixed

- Linux version of the CEF browser engine doesn't require `cefsimple` anymore
- Linux version of the CEF browser will now used trimmed binaries (From 1.1GB to 160MB)

## [1.6.3] - 2021-06-08

### Changed

- Texture in WebBrowserClient will no longer be linear.

## [1.6.2] - 2021-06-08

### Changed

- Moved events to new UnityWebBrowser.Shared assembly.

### Added

- Added MessagePack serialization helper functions for IEventData to UnityWebBrowser.Shared
- Use auto-generated, IL2CPP compatible resolvers for IEventData.

## [1.6.1] - 2021-06-06

### Changed

- Updated package dependencies
- See updated README to see what you also need to install now.

### Fixed

- Fixed compile error when using new input system.

## [1.6.0] - 2021-06-05

### Changed

- Move to [MessagePack](https://github.com/neuecc/MessagePack-CSharp) for faster serialization.
- Renamed browser control methods in `WebBrowserClient.cs` and made them public.

### Removed

- Newtonsoft.Json serialization.

## [1.5.0] - 2021-06-04

### Added

- Added CHANGELOG.md
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2023 Voltstro-Studios
Copyright (c) 2021-2024 Voltstro-Studios

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj/
_site/
api/**/*.yml
api/.manifest
9 changes: 0 additions & 9 deletions docs/VoltDocsBuilder.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions docs/api/Index.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/articles/dev/How-Things-Work.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/articles/dev/Project-Layout.md

This file was deleted.

Loading
Loading