Skip to content

Commit 79c5af4

Browse files
authored
Merge pull request #2658 from AzureAD/release/2.2.0
Release/2.2.0
2 parents d80d943 + 63f832e commit 79c5af4

File tree

180 files changed

+1979
-873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+1979
-873
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [2.2.0]
2+
* Make native auth MFA feature more backward compatible (#2645)
3+
14
## [2.1.0]
25
* Integrate Broker XPC service into Mac Sample app
36
* Update minimum supported version to iOS 16.0 and macOS 11.0 (#2623)

CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
# Unless a later match takes precedence, these users will be requested
33
# for review whenever someone opens a pull request.
44
* @AzureAD/AppleIdentityTeam
5-
# @AzureAD/AppleIdentityTeam and @AzureAD/MSAL-ObjC-CIAM will be the co-owners of MSAL.project, CHANGELOG.md, Package.swift and all files under azure_pipelines
5+
# @AzureAD/AppleIdentityTeam and @AzureAD/MSAL-ObjC-CIAM will be the co-owners of the following files:
66
/MSAL/MSAL.xcodeproj/project.pbxproj @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
77
CHANGELOG.md @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
88
/azure_pipelines/ @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
99
/Package.swift @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
10+
/MSAL/src/public/MSAL.h @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
1011
# @AzureAD/MSAL-ObjC-CIAM owns any files in the */native_auth
1112
# directories, subdirectories and other files related to native auth.
1213
/MSAL/module.modulemap @AzureAD/MSAL-ObjC-CIAM

MSAL.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MSAL"
3-
s.version = "2.1.0"
3+
s.version = "2.2.0"
44
s.summary = "Microsoft Authentication Library (MSAL) for iOS"
55
s.description = <<-DESC
66
The MSAL library for iOS gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Microsoft Azure B2C for those using our hosted identity management service.

MSAL/MSAL.xcodeproj/project.pbxproj

Lines changed: 90 additions & 6 deletions
Large diffs are not rendered by default.

MSAL/resources/ios/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1.0</string>
18+
<string>2.2.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

MSAL/resources/mac/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1.0</string>
18+
<string>2.2.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

MSAL/src/MSAL_Internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//------------------------------------------------------------------------------
2727

2828
#define MSAL_VER_HIGH 2
29-
#define MSAL_VER_LOW 1
29+
#define MSAL_VER_LOW 2
3030
#define MSAL_VER_PATCH 0
3131

3232
#define STR_HELPER(x) #x

MSAL/src/configuration/MSALLoggerConfig.m

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,14 @@ - (void)setLogCallback:(MSALLogCallback)callback
5454
{
5555
if (self.callback != nil)
5656
{
57-
@throw @"MSAL logging callback can only be set once per process and should never changed once set.";
57+
#if DEBUG
58+
@throw [NSException
59+
exceptionWithName:NSInternalInconsistencyException
60+
reason:@"MSAL logging callback can only be set once per process and should never be changed once set."
61+
userInfo:nil];
62+
#endif
63+
MSID_LOG_WITH_CTX(MSIDLogLevelError, nil, @"MSAL logging callback can only be set once per process and should never be changed once set.");
64+
return;
5865
}
5966

6067
static dispatch_once_t once;

MSAL/src/configuration/external/ios/NSString+MSALAccountIdenfiers.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ - (NSData *)dataFromUInt64:(NSUInteger)value
100100
const int length = 16;
101101
const int lastIndex = length - 1;
102102
const int bitsInByte = 8;
103-
char buffer[length];
103+
char buffer[16];
104104

105105
for (int idx = 0; idx < length; ++idx)
106106
{

0 commit comments

Comments
 (0)