Skip to content

Commit

Permalink
Ver3.14.9001 (#1875)
Browse files Browse the repository at this point in the history
* Projects ver3.14.9001

* Packages ver3.14.9001

* Templates ver3.14.9001

* Changelog ver3.14.9001

* Migrate ver3.14.9001
  • Loading branch information
nkast authored Sep 23, 2024
1 parent 6b62242 commit 3eae132
Show file tree
Hide file tree
Showing 58 changed files with 468 additions and 305 deletions.
10 changes: 5 additions & 5 deletions BuildNuget.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ dotnet pack src\Xna.Framework.Content.Pipeline.Audio\Xna.Framework.Content.Pipel
dotnet pack src\Xna.Framework.Content.Pipeline.Graphics\Xna.Framework.Content.Pipeline.Graphics.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack src\Xna.Framework.Content.Pipeline.Media\Xna.Framework.Content.Pipeline.Media.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release

"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/Content.Pipeline.Builder.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.13.9001 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/Content.Pipeline.Builder.Windows.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.13.9001 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/Content.Pipeline.Builder.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.14.9001 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/Content.Pipeline.Builder.Windows.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.14.9001 -Properties Configuration=Release

"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Android.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.13.9001.0 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.iOS.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.13.9001.0 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsUniversal.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.13.9001.1 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Android.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.14.9001.0 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.iOS.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.14.9001.0 -Properties Configuration=Release
"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsUniversal.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.14.9001.0 -Properties Configuration=Release

dotnet pack Platforms\Xna.Framework.WindowsDX11.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
dotnet pack Platforms\Xna.Framework.DesktopGL.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release
Expand Down
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Changelog


## 3.14.9001 Release - September 23, 2024

### Fixed
- fixed TouchPanel scalling #1852
- [BlazorGL] fixed Gamepad disconnect #1771
- [BlazorGL] map GamePad Indices #1773
- [BlazorGL] fixed Buffers SetData(...) with startIndex #1834
- [BlazorGL] fixed TouchPanel initialization #1837
- [OpenGL] fix DrawIndexedPrimitives (#1869
- [WindowsDX/UAP] fixed GamePadState.IsConnected #1769
- [Content.Pipeline] fixed OpenAssetImporter #1817,#1868
- [Content.Pipeline] fixed DX textureSlot #1851

### Performance

### Changed
- IsContentLost will not throw NotImplementedException #1865
- [Android] GraphicsAdapter.MonitorHandle return the native eglDisplay handle #1795
- [OpenGL/WebGL] include GL shader compilation InfoLog in the exception message. #1830,#1832,#1838
- [BlazorGL] Upgrade Wasm packages to v8.0.2 #1860
- [UAP] update to SDK v10.19041 #1769
- [LibOVR] OvrDevice require GraphicsProfile FL11_0 #1795
- [LibOVR] Upgrade LibOVR packages to v2.1 #1862

### Added
- [OpenGL] ColorSRgba support #1802,#1805
- [OpenGL] implemented GL shared texture2D #1854
- [Android/GLES] implemented RenderTarget multisampling #1843,#1814
- [Android/GLES] implemented Multiple Render Targets #1845
- [BlazorGL] implemented Multiple Render Targets #1840
- [BlazorGL] implemented SamplerStates #1765
- [BlazorGL] implemented DXT5 compression #1766
- [BlazorGL] implemented TextureCube #1767
- [BlazorGL] support for SM 3.0 standard_derivatives #1833,#1844
- [BlazorGL] implemented float texture surfaceTypes (Vector4,Vector2,Single) #1842
- [BlazorGL] implemented Buffers GetData(...) #1861
- [BlazorGL] implemented Gamepad Trigger buttons #1770
- [BlazorGL] implemented GamePad.SetVibration #1853
- [LibOVR] add OvrDevice.TrackFloorLevelOrigin #1864
- [Oculus/OpenXR] add HandsState.GetGripTransform() #1856

### Removed

## 3.13.9001 Release - July 24, 2024

### Fixed
Expand Down
34 changes: 17 additions & 17 deletions Documentation/articles/migrate_381.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Migrating from MonoGame 3.8.1 to KNI 3.13
# Migrating from MonoGame 3.8.1 to KNI 3.14


## Migrating Framework
Expand All @@ -12,14 +12,14 @@ Edit your .csproj file of the main project and replace:
to:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.13.9001" />
<PackageReference Include="MonoGame.Framework.{Platform}.9000" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.14.9001" />
<PackageReference Include="MonoGame.Framework.{Platform}.9000" Version="3.14.9001" />
```

where {Platform} is Windows, DesktopGL, Android, etc.
Expand All @@ -33,13 +33,13 @@ For libraries, edit your .csproj file and replace:
to:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.14.9001" />
```

### Migrating Framework (Android)
Expand Down Expand Up @@ -78,7 +78,7 @@ Then replace:
With:

```xml
<PackageReference Include="nkast.Xna.Framework.Content.Pipeline.Builder" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Content.Pipeline.Builder" Version="3.14.9001" />
```

Then rename 'MonoGameContentReference':
Expand Down
119 changes: 119 additions & 0 deletions Documentation/articles/migrate_3_13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Migrating from 3.13 to 3.14


## Migrating Framework

Edit your .csproj file and replace:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.13.9001" />
<PackageReference Include="MonoGame.Framework.{Platform}.9000" Version="3.13.9001" />
```

to:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.14.9001" />
<PackageReference Include="MonoGame.Framework.{Platform}.9000" Version="3.14.9001" />
```

For libraries, edit your .csproj file and replace:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.13.9002" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.13.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.13.9001" />
```

to:

```xml
<PackageReference Include="nkast.Xna.Framework" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Content" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Graphics" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Audio" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Media" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Input" Version="3.14.9001" />
<PackageReference Include="nkast.Xna.Framework.Game" Version="3.14.9001" />
```

## Migrating Content Builder

Edit your .csproj file and replace:

```xml
<ItemGroup>
<PackageReference Include="nkast.Xna.Framework.Content.Pipeline.Builder" Version="3.13.9001" />
</ItemGroup>
```

to:

```xml
<ItemGroup>
<PackageReference Include="nkast.Xna.Framework.Content.Pipeline.Builder" Version="3.14.9001" />
</ItemGroup>
```

if your importers require Windows libraries (WinForms,WPF), use the 'nkast.Xna.Framework.Content.Pipeline.Builder.Windows' package.


### Migrating BlazorGL projects

Edit index.html file and replace:

```
<script src="_content/nkast.Wasm.Dom/js/JSObject.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Window.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Document.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Media.8.0.1.js"></script>
<script src="_content/nkast.Wasm.XHR/js/XHR.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Canvas/js/Canvas.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Canvas/js/CanvasGLContext.8.0.1.js"></script>
<script src="_content/nkast.Wasm.Audio/js/Audio.8.0.1.js"></script>
```

with:

```
<script src="_content/nkast.Wasm.Dom/js/JSObject.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Window.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Document.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Navigator.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Gamepad.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Dom/js/Media.8.0.2.js"></script>
<script src="_content/nkast.Wasm.XHR/js/XHR.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Canvas/js/Canvas.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Canvas/js/CanvasGLContext.8.0.2.js"></script>
<script src="_content/nkast.Wasm.Audio/js/Audio.8.0.2.js"></script>
```

### Migrating OculusVR projects

Edit your .csproj file and replace:

```xml
<PackageReference Include="nkast.Xna.Framework.Oculus.OvrDX11" Version="3.13.9001" />
```

with:

```xml
<PackageReference Include="nkast.Xna.Framework.Oculus.OvrDX11" Version="3.14.9001" />
```
2 changes: 1 addition & 1 deletion Installers/default.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<property name="os" value="${operating-system::get-platform(environment::get-operating-system())}" />

<!-- The build version number we can get from the environment variable -->
<property name="buildNumber" value="3.13.9001.0"/>
<property name="buildNumber" value="3.14.9001.0"/>
<if test="${environment::variable-exists('BUILD_NUMBER')}">
<property name="buildNumber" value="${environment::get-variable('BUILD_NUMBER')}"/>
</if>
Expand Down
Loading

0 comments on commit 3eae132

Please sign in to comment.