From 27efd16b1b45888eb2a3d34a593190b97850dc4b Mon Sep 17 00:00:00 2001 From: Josh Yaganeh <319444+jyaganeh@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:51:11 -0800 Subject: [PATCH] Release 19.4.1 --- .github/workflows/ci.yaml | 11 +++++++---- .github/workflows/release.yaml | 8 ++++---- CHANGELOG.md | 7 +++++++ DEV_README.md | 16 ++++++++-------- Directory.Build.props | 8 ++++---- airship.properties | 6 +++--- binderator/source/AndroidProject.cshtml | 3 ++- src/Airship.Net/Airship.Net.csproj | 10 +++++----- src/SharedAssemblyInfo.Common.cs | 2 +- src/SharedAssemblyInfo.CrossPlatform.cs | 2 +- src/SharedAssemblyInfo.iOS.cs | 2 +- 11 files changed, 43 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 253666f..46f9084 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,16 +13,16 @@ jobs: ci: runs-on: macOS-13 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' - name: Set up .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: global-json-file: global.json @@ -73,7 +73,10 @@ jobs: - name: Build run: ./gradlew build pack buildSample - - uses: actions/upload-artifact@v2 + - name: Upload build dir artifact + uses: actions/upload-artifact@v4 with: name: build path: build + retention-days: 7 # For debugging, so we don't need to keep them for very long + compression-level: 0 # Nupkgs are just .zip files, so no need to compress them diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 949a222..039bc20 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: contents: write runs-on: macOS-13 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Get Version id: get_version @@ -56,13 +56,13 @@ jobs: # uses: google-github-actions/setup-gcloud@v1 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' - name: Set up .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: global-json-file: global.json @@ -83,7 +83,7 @@ jobs: - name: Create Github Release id: create_release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.get_version.outputs.VERSION }} release_name: ${{ steps.get_version.outputs.VERSION }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b7f92d..78cf83b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Airship DotNet Changelog +## Version 19.4.1 - Dec 12, 2024 +Minor release that updates the Airship.Net package to no longer depend on MAUI and adds methods to fetch channel and contact subscription lists to the cross-platform library. + +### Changes +- Removed unnecessary MAUI dependency from Airship.Net +- Added `FetchChannelSubscriptionLists` and `FetchContactSubscriptionLists` methods to Airship.Net + ## Version 19.4.0 - July 29, 2024 Minor release that updates the Airship SDK to iOS 17.10.1 and Android 17.8.1. diff --git a/DEV_README.md b/DEV_README.md index 8a58dfb..929b949 100644 --- a/DEV_README.md +++ b/DEV_README.md @@ -4,14 +4,14 @@ ### Requirements -* Visual Studio for Mac ([stable](https://visualstudio.microsoft.com/vs/mac/) or [preview](https://visualstudio.microsoft.com/vs/mac/preview/)) -* A supported Xcode version (at the time of writing, VS 2022 recommends Xcode 15.1+) -* OpenJDK 11 - * Using [Homebrew](https://brew.sh/): `brew install openjdk@11` - * Or [SDKMAN!](https://sdkman.io/): `sdk install java 11.0.18-zulu` -* Android SDK: API 31+ platform, emulator, build tools, command line tools, etc. -* .NET8 SDK (install via VS) -* .NET Workloads (install via VS): maui, android, ios +* VSCode and the [.NET MAUI](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui) plugin, or another .NET IDE such as Rider +* A [supported](https://github.com/dotnet/maui/wiki/Release-Versions) Xcode version +* OpenJDK 17 + * Using [Homebrew](https://brew.sh/): `brew install openjdk@17` + * Or [SDKMAN!](https://sdkman.io/): `sdk install java 17.0.10-zulu` +* Android SDK: API 34+ platform, emulator, build tools, command line tools, etc. +* .NET8 SDK (installed via VSCode extension) +* .NET Workloads (install via dotnet cli): maui, android, ios * Doxygen & Graphviz (`brew install doxygen graphviz`) * Carthage (`brew install carthage`) diff --git a/Directory.Build.props b/Directory.Build.props index bdefdaf..ffee4e5 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,14 +6,14 @@ 17.8.1 - 17.8.1 + 17.8.1.1 17.10.1 - 17.10.1 + 17.10.1.1 - 19.4.0 - 19.4.0 + 19.4.1 + 19.4.1 diff --git a/airship.properties b/airship.properties index 3eb764d..562e0d0 100644 --- a/airship.properties +++ b/airship.properties @@ -3,7 +3,7 @@ iosVersion = 17.10.1 androidVersion = 17.8.1 # Airship.Net cross-platform version -crossPlatformVersion = 19.4.0 +crossPlatformVersion = 19.4.1 # Filename of the iOS SDK zip file iosFrameworkZip = Airship-Xcode15.zip @@ -12,7 +12,7 @@ iosFrameworkZip = Airship-Xcode15.zip # If > 0, the revision number will be added to the versions # defined above as a 4th segment (i.e., MAJOR.MINOR.PATCH.REVISION). # If = 0, NuGet packages will be versioned using standard 3-segment semver. -androidRevision = 0 -iosRevision = 0 +androidRevision = 1 +iosRevision = 1 crossPlatformRevision = 0 diff --git a/binderator/source/AndroidProject.cshtml b/binderator/source/AndroidProject.cshtml index d4cbfad..0ecfbff 100644 --- a/binderator/source/AndroidProject.cshtml +++ b/binderator/source/AndroidProject.cshtml @@ -79,8 +79,9 @@ Performance hit for builds - BG8A04: matched no nodes. - BG8A00: matched no nodes. + - XAOBS001: Restricted APIs (we're only using our own) --> - 08A04;BG8A00;CS0109;CS0108;CS0114 + 08A04;BG8A00;CS0109;CS0108;CS0114;XAOBS001 - - + + + + - + diff --git a/src/SharedAssemblyInfo.Common.cs b/src/SharedAssemblyInfo.Common.cs index fd25fbd..3b09aca 100644 --- a/src/SharedAssemblyInfo.Common.cs +++ b/src/SharedAssemblyInfo.Common.cs @@ -6,4 +6,4 @@ // Change them to the values specific to your project. // Cross-platform version of the plugin -[assembly: UACrossPlatformVersion ("19.4.0")] +[assembly: UACrossPlatformVersion ("19.4.1")] diff --git a/src/SharedAssemblyInfo.CrossPlatform.cs b/src/SharedAssemblyInfo.CrossPlatform.cs index f91216a..8f46f2b 100644 --- a/src/SharedAssemblyInfo.CrossPlatform.cs +++ b/src/SharedAssemblyInfo.CrossPlatform.cs @@ -12,5 +12,5 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion ("19.4.0")] +[assembly: AssemblyVersion ("19.4.1")] diff --git a/src/SharedAssemblyInfo.iOS.cs b/src/SharedAssemblyInfo.iOS.cs index 3929fae..df8aa93 100644 --- a/src/SharedAssemblyInfo.iOS.cs +++ b/src/SharedAssemblyInfo.iOS.cs @@ -17,4 +17,4 @@ // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion ("19.4.0")] +[assembly: AssemblyVersion ("19.4.1")]