Skip to content

Commit 8dac3fb

Browse files
committed
Version 3.1.0.0
1 parent fa0efa9 commit 8dac3fb

6 files changed

Lines changed: 367 additions & 14 deletions

File tree

‎.github/copilot-instructions.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copilot Instructions
22

33
## Project Guidelines
4-
- On Windows GitHub Actions runners, `dotnet nuget push` fails with a glob path that uses forward slashes (e.g. ./nupkg/*.nupkg), reporting 'File does not exist', even if the file exists. Use backslashes (.\\nupkg\\*.nupkg) instead.
4+
- On Windows GitHub Actions runners, `dotnet nuget push` fails with a glob path that uses forward slashes (e.g. ./nupkg/*.nupkg), reporting 'File does not exist', even if the file exists. Use backslashes (.\\nupkg\\*.nupkg) instead.
5+
- When asked to change the version, treat it as a new release: update `Api\\API.csproj`, add a new top-level section to `CHANGELOG.md`, preserve previous release entries, compare the current working-tree changes against committed code, and write detailed release notes that describe the actual code/API/behavior/documentation changes rather than only noting the version bump.

‎Api/API.csproj‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@
55
<AssemblyName>KoenZomers.OneDrive.Api</AssemblyName>
66
<SignAssembly>true</SignAssembly>
77
<AssemblyOriginatorKeyFile>KoenZomers.OneDrive.Api.snk</AssemblyOriginatorKeyFile>
8-
<Version>3.0.1.0</Version>
8+
<Version>3.1.0.0</Version>
99
<Authors>Koen Zomers</Authors>
1010
<Company>Koen Zomers</Company>
1111
<Description>API in .NET Standard 2.0 and .NET 8.0 to communicate with OneDrive for Business and Microsoft 365 via the Microsoft Graph API</Description>
1212
<PackageProjectUrl>https://github.com/KoenZomers/OneDriveAPI</PackageProjectUrl>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
14-
<PackageReleaseNotes>- Bugfix: Fixed an issue with file upload size handling
15-
- See CHANGELOG.md for full details</PackageReleaseNotes>
14+
<PackageReleaseNotes>- See CHANGELOG.md for full details</PackageReleaseNotes>
1615
<PackageLicenseExpression>EPL-1.0</PackageLicenseExpression>
1716
<Copyright>Koen Zomers</Copyright>
1817
<RootNamespace>KoenZomers.OneDrive.Api</RootNamespace>
19-
<AssemblyVersion>3.0.2.0</AssemblyVersion>
20-
<FileVersion>3.0.2.0</FileVersion>
18+
<AssemblyVersion>3.1.0.0</AssemblyVersion>
19+
<FileVersion>3.1.0.0</FileVersion>
2120
<NoWarn>$(NoWarn);CS1591</NoWarn>
2221
</PropertyGroup>
2322

‎Api/Entities/OneDriveItem.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,17 @@ public class OneDriveItem : OneDriveItemBase
170170
/// </summary>
171171
[JsonPropertyName("shared")]
172172
public OneDriveSharedItem Shared { get; set; }
173+
174+
/// <summary>
175+
/// Microsoft Graph share token that can be used to access this item through the shares API.
176+
/// </summary>
177+
[JsonIgnore]
178+
public string SharingToken { get; set; }
179+
180+
/// <summary>
181+
/// Sharing URL that was used to retrieve this item.
182+
/// </summary>
183+
[JsonIgnore]
184+
public string SharingUrl { get; set; }
173185
}
174186
}

‎Api/KoenZomers.OneDrive.Api.xml‎

Lines changed: 82 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)