Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7523bc7
Initial plan
Copilot Nov 24, 2025
4fd5cac
Update config.json with latest Maven versions and regenerate manifests
Copilot Nov 24, 2025
46d379f
Add new navigationevent packages to config.json
Copilot Nov 24, 2025
f0d9d0e
Fix datastore-preferences-core-android to be built as a package
Copilot Nov 24, 2025
6e98c8e
Add PublicAPI files for new packages
Copilot Nov 24, 2025
e501588
Update namespace file and PublicAPI changes
sheiksyedm Nov 25, 2025
2aa0524
Fix DataStore serializer interface implementation
sheiksyedm Nov 25, 2025
5d75d3e
Fix DataStore serializer type casting issues
sheiksyedm Nov 26, 2025
eb316d8
Fix DataStore JVM PreferencesFileSerializer with metadata
sheiksyedm Nov 26, 2025
f9195ac
Mark datastore-preferences-core-jvm as dependency-only
sheiksyedm Nov 26, 2025
1a408c9
Complete DataStore fixes - remove duplicate classes from JVM
sheiksyedm Nov 27, 2025
5feb043
Revert class removal - both packages must ship with all types
sheiksyedm Nov 27, 2025
3c75507
Update PublicAPI for JVM PreferencesFileSerializer
sheiksyedm Nov 27, 2025
3d93c29
Mark datastore-preferences-core-jvm as dependency-only to resolve CS0433
sheiksyedm Nov 27, 2025
17cd87e
Fix CS0433 by renaming JVM DataStore namespace
sheiksyedm Nov 27, 2025
9300c7e
Update published-namespaces.txt
sheiksyedm Nov 28, 2025
e628145
Fix published-namespaces.txt - restore Firebase/GMS namespaces
sheiksyedm Nov 28, 2025
a61e915
Update PublicAPI files for Tink and Firebase Perf
sheiksyedm Nov 28, 2025
deeaa68
Fix NavigationEvent namespace casing (capital E)
Copilot Dec 2, 2025
dbcc9cd
Fix NavigationEvent namespace using Metadata.xml transforms and updat…
Copilot Dec 2, 2025
08594a1
Fix NavigationEvent.Internal namespace casing in Metadata.xml
Copilot Dec 2, 2025
9313453
Remove deprecated `[Android.Runtime.Preserve]` attribute (#1322)
Copilot Dec 3, 2025
2143beb
[build] update to .NET 10 GA (#1323)
jonathanpeppers Dec 3, 2025
d2101b1
Bump Xamarin.GooglePlayServices.Tasks to 118.4.0.1 (#1324)
Copilot Dec 4, 2025
064eae9
Initial plan
Copilot Nov 24, 2025
c526679
Update config.json with latest Maven versions and regenerate manifests
Copilot Nov 24, 2025
2d54867
Add new navigationevent packages to config.json
Copilot Nov 24, 2025
97138b2
Fix datastore-preferences-core-android to be built as a package
Copilot Nov 24, 2025
77e7142
Add PublicAPI files for new packages
Copilot Nov 24, 2025
dc2b25b
Update namespace file and PublicAPI changes
sheiksyedm Nov 25, 2025
f3fb185
Fix DataStore serializer interface implementation
sheiksyedm Nov 25, 2025
cf5530c
Fix DataStore serializer type casting issues
sheiksyedm Nov 26, 2025
9b56869
Fix DataStore JVM PreferencesFileSerializer with metadata
sheiksyedm Nov 26, 2025
31c29ff
Mark datastore-preferences-core-jvm as dependency-only
sheiksyedm Nov 26, 2025
f211118
Complete DataStore fixes - remove duplicate classes from JVM
sheiksyedm Nov 27, 2025
a75080b
Revert class removal - both packages must ship with all types
sheiksyedm Nov 27, 2025
5c62b41
Update PublicAPI for JVM PreferencesFileSerializer
sheiksyedm Nov 27, 2025
2de8f30
Mark datastore-preferences-core-jvm as dependency-only to resolve CS0433
sheiksyedm Nov 27, 2025
4aee1e5
Fix CS0433 by renaming JVM DataStore namespace
sheiksyedm Nov 27, 2025
2788d6e
Update published-namespaces.txt
sheiksyedm Nov 28, 2025
eea81a0
Fix published-namespaces.txt - restore Firebase/GMS namespaces
sheiksyedm Nov 28, 2025
0797dc6
Update PublicAPI files for Tink and Firebase Perf
sheiksyedm Nov 28, 2025
b91320a
Fix NavigationEvent namespace casing (capital E)
Copilot Dec 2, 2025
5883a48
Fix NavigationEvent namespace using Metadata.xml transforms and updat…
Copilot Dec 2, 2025
4644aed
Fix NavigationEvent.Internal namespace casing in Metadata.xml
Copilot Dec 2, 2025
c515a37
Merge branch 'copilot/stable-updates-20251124' of https://github.com/…
sheiksyedm Dec 5, 2025
2f95b9b
Update PublicApi.*.txt files and namespace file
sheiksyedm Dec 5, 2025
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
23 changes: 23 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,29 @@ For comprehensive guidance on troubleshooting binding issues, see: https://githu
</add-node>
```

### Changing Package/Namespace Names

To change the C# namespace for a Java package (e.g., fixing casing issues), use `Metadata.xml` with the `managedName` attribute. **Do NOT use `rootNamespace` metadata in config.json** - it does not work for namespace changes.

Create `source/{groupId}/{artifactId}/Transforms/Metadata.xml`:

```xml
<metadata>
<!-- Fix namespace casing: androidx.navigationevent -> AndroidX.NavigationEvent -->
<attr
path="/api/package[@name='androidx.navigationevent']"
name="managedName"
>
AndroidX.NavigationEvent
</attr>
</metadata>
```

This approach:
1. Uses the binding generator's transform system
2. Properly renames the managed namespace during code generation
3. Is applied at build time when the bindings are generated

## Target Frameworks

### Current Support
Expand Down
2 changes: 0 additions & 2 deletions build/ci/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ steps:
displayName: 'Use dotnet $(dotnetVersion)'
inputs:
version: $(dotnetVersion)
includePreviewVersions: true
condition: ne('$(dotnetVersion)', '')

- task: UseDotNet@2
displayName: 'Use dotnet $(dotnetNextVersion)'
inputs:
version: $(dotnetNextVersion)
performMultiLevelLookup: true
includePreviewVersions: true
condition: ne('$(dotnetNextVersion)', '')

- script: dotnet --info
Expand Down
4 changes: 2 additions & 2 deletions build/ci/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variables:
macosAgentPoolName: VSEng-VSMac-Xamarin-Shared # macOS VM pool name

# Tool variables
dotnetVersion: '9.0.306' # .NET version to install on agent
dotnetVersion: '9.0.308' # .NET version to install on agent
dotnetFrameworkVersion: 9 # The number to use for TF (eg: netX.0-android)
dotnetNuGetOrgSource: 'https://api.nuget.org/v3/index.json' # NuGet.org URL to find workloads

Expand All @@ -34,7 +34,7 @@ variables:
extendedTestAssembly: tests/extended/bin/$(configuration)/net$(dotnetFrameworkVersion).0/ExtendedTests.dll # Extended tests compiled binary

# dotnet-next test variables
dotnetNextVersion: 10.0.100-rc.2.25502.107 # .NET preview version to install
dotnetNextVersion: 10.0.100 # .NET version to install
dotnetNextFrameworkVersion: 10 # The number to use for TF (eg: netX.0-android)

# dnceng-public variables
Expand Down
Loading