From 0e1e3c66307558d4e9b85dc33c487621f04d07c9 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:01:03 -0300 Subject: [PATCH 1/7] Update `Autodesk.Forge` to `1.9.9`. --- Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj | 2 +- Build/.nuke/build.schema.json | 6 ++++++ CHANGELOG.md | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj index 27efc8e..95e2a92 100644 --- a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj +++ b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj @@ -36,7 +36,7 @@ ricaun.Autodesk.Forge.Oss - 1.0.2 + 2.0.0 {54AC7247-0A9C-4A56-835B-D1790800647B} diff --git a/Build/.nuke/build.schema.json b/Build/.nuke/build.schema.json index 59eec2f..6bd7ef6 100644 --- a/Build/.nuke/build.schema.json +++ b/Build/.nuke/build.schema.json @@ -72,6 +72,9 @@ "type": "string" } }, + "ReleaseFolder": { + "type": "string" + }, "ReleaseNameVersion": { "type": "boolean" }, @@ -134,6 +137,9 @@ "TestResults": { "type": "boolean" }, + "UnlistNuget": { + "type": "boolean" + }, "Verbosity": { "type": "string", "description": "Logging verbosity during build execution. Default is 'Normal'", diff --git a/CHANGELOG.md b/CHANGELOG.md index c1c8eb5..1fd14ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [2.0.0] / 2024-08-20 +### Updated +- Update `Autodesk.Forge` to `1.9.9`. (Fix #6) + ## [1.0.2] / 2023-08-09 ### Updated - Update `Autodesk.Forge` to `1.9.8` - (Migrate from OAuth V1 to OAuth V2) @@ -20,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Add `Autodesk.Forge.Oss.Tests` project [vNext]: ../../compare/1.0.0...HEAD +[2.0.0]: ../../compare/1.0.2...2.0.0 [1.0.2]: ../../compare/1.0.1...1.0.2 [1.0.1]: ../../compare/1.0.0...1.0.1 [1.0.0]: ../../compare/1.0.0 \ No newline at end of file From cdfe52d5075db477256fb0fdb3e2cca7db0835a1 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:03:08 -0300 Subject: [PATCH 2/7] Update build --- .github/workflows/Build.yml | 4 ++-- Build/Build.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 2cbfa05..b594c1e 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -20,9 +20,9 @@ jobs: - uses: actions/checkout@v1 - name: NuGet Setup - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: "NuGet Add Source Organization" run: if ("${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }}" -ne "") { dotnet nuget add source --username ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_USERNAME }} --password ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" } diff --git a/Build/Build.csproj b/Build/Build.csproj index ead9320..77e1e9c 100644 --- a/Build/Build.csproj +++ b/Build/Build.csproj @@ -1,7 +1,7 @@  Exe - net6.0 + net8.0 CS0649;CS0169 . From 7312b7ade3aa2fe89fec707d569f4eb8cfde8204 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:07:57 -0300 Subject: [PATCH 3/7] Prerelease beta --- .github/workflows/Build.yml | 2 -- Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj | 2 +- Build/Build.cs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index b594c1e..9627334 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -23,8 +23,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - - name: "NuGet Add Source Organization" - run: if ("${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }}" -ne "") { dotnet nuget add source --username ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_USERNAME }} --password ${{ secrets.ORGANIZATION_SOURCE_PACKAGE_PASSWORD }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" } - name: Run './build/build.cmd' run: ./build/build.cmd --root ./build diff --git a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj index 95e2a92..7dd2460 100644 --- a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj +++ b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj @@ -36,7 +36,7 @@ ricaun.Autodesk.Forge.Oss - 2.0.0 + 2.0.0-beta {54AC7247-0A9C-4A56-835B-D1790800647B} diff --git a/Build/Build.cs b/Build/Build.cs index aaa54e1..6b24085 100644 --- a/Build/Build.cs +++ b/Build/Build.cs @@ -3,7 +3,7 @@ using ricaun.Nuke; using ricaun.Nuke.Components; -class Build : NukeBuild, IPublishPack, ITest +class Build : NukeBuild, IPublishPack, ITest, IPrePack { public static int Main() => Execute(x => x.From().Build); } \ No newline at end of file From fbcb9d5f3a1d3d2aa76c7c8f9d4a9acb455b59ba Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:13:20 -0300 Subject: [PATCH 4/7] Version 2.0.0 --- Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj index 7dd2460..95e2a92 100644 --- a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj +++ b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj @@ -36,7 +36,7 @@ ricaun.Autodesk.Forge.Oss - 2.0.0-beta + 2.0.0 {54AC7247-0A9C-4A56-835B-D1790800647B} From 6f9e13d7d77a76f029364894bc3b472c42e308c9 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:15:15 -0300 Subject: [PATCH 5/7] Support `APS OAuth V2`. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fd14ee..b34b882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [2.0.0] / 2024-08-20 +### Features +- Support `APS OAuth V2`. ### Updated - Update `Autodesk.Forge` to `1.9.9`. (Fix #6) From bb8d5c4a71e750d4d603279ba008067a4e42ae59 Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:17:54 -0300 Subject: [PATCH 6/7] Update readme in nuget --- Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj index 95e2a92..faa79bc 100644 --- a/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj +++ b/Autodesk.Forge.Oss/Autodesk.Forge.Oss.csproj @@ -61,6 +61,7 @@ https://github.com/$(GitHubRepositoryOwner)/$(GitHubRepository) github icon.png + README.md diff --git a/README.md b/README.md index 8398585..6f3d54e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Nuke](https://img.shields.io/badge/Nuke-Build-blue)](https://nuke.build/) [![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Build](../../actions/workflows/Build.yml/badge.svg)](../../actions) -[![Release](https://img.shields.io/nuget/v/ricaun.Autodesk.Forge.Oss?logo=nuget&label=release&color=blue)](https://www.nuget.org/packages/ricaun.Autodesk.Forge.Oss) +[![Nuget](https://img.shields.io/nuget/v/ricaun.Autodesk.Forge.Oss?logo=nuget&label=nuget&color=blue)](https://www.nuget.org/packages/ricaun.Autodesk.Forge.Oss) ## Overview From a590c3f0ac94d88b7cae3aca9e0a51e8ce96f2cc Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Tue, 20 Aug 2024 20:19:10 -0300 Subject: [PATCH 7/7] Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f3d54e..a8fae94 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ ### Requirements - [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) or later -- A registered app on the [Forge Developer Portal](http://forge.autodesk.com). +- A registered app on the [Autodesk Platform Service](https://aps.autodesk.com/). ### Dependencies