Skip to content

Commit 60e8777

Browse files
committed
- adds upgrade guides for v4 and v5
1 parent 82c8a32 commit 60e8777

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/upgrade-to-v4.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Microsoft Graph Java SDK v4 changelog and upgrade guide
2+
3+
Welcome to the Microsoft Graph Java SDK migration guide to v4. The purpose of this document is to list out any breaking change and migration work SDK users might run into while upgrading to the latest version of the SDK.
4+
5+
## Upgrade guide for breaking changes
6+
7+
### IdentitySet replaced by specialized types for Microsoft Teams APIs
8+
9+
The `IdentitySet` type has been replaced by specialized types inheriting from it and exposing more information for the Microsoft Teams APIs.
10+
11+
- The `ChatMessage.from` property is now of type `ChatMessageFromIdentitySet`
12+
- The `ChatMessageMention.mentioned` property is now of type `ChatMessageMentionedIdentitySet`
13+
- The `ChatMessageReaction.user` property is now of type `ChatMessageReactionIdentitySet`
14+
15+
If your application is reading/assigning the above-mentioned properties, you need to update the code to reference these new types instead. If your application was using the `additionalData` property to read any property that is now available on the new types, update the code to use these new properties instead.

docs/upgrade-to-v5.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Microsoft Graph Java SDK v5 changelog and upgrade guide
2+
3+
Welcome to the Microsoft Graph Java SDK migration guide to v5. The purpose of this document is to list out any breaking change and migration work SDK users might run into while upgrading to the latest version of the SDK.
4+
5+
## Upgrade guide for breaking changes
6+
7+
### ManagedAppProtection replaced by TargetedManagedAppProtection for some Security APIs
8+
9+
The `ManagedAppProtection` type used for the `targetApps` action as a parameter has been replaced by a new `TargetedManagedAppProtection` type that inherits from it and exposes new properties.
10+
11+
If your application is using the above-mentioned type, you need to update the code to reference the new type instead. If your application was using the `additionalData` property to read any property that is now available on the new type, update the code to use these new properties instead.

0 commit comments

Comments
 (0)