Skip to content

Commit

Permalink
Merge pull request #36 from VKCOM/public
Browse files Browse the repository at this point in the history
Release v2.3.1
  • Loading branch information
player-man authored Dec 5, 2024
2 parents c400d2e + eb14098 commit 70d4eb5
Show file tree
Hide file tree
Showing 431 changed files with 433 additions and 428 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

> **Note**\
> Описание основных изменений в релизах VK ID SDK. Наш SDK следует [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 2.3.1 - 2024-12-05

### Fixed
+ Убрали предупреждение `'exchangeAuthCode (_:completion:) is deprecated`.

## 2.3.0 - 2024-12-04

### Added
Expand All @@ -12,7 +17,7 @@
+ Добавлена возможность авторизации только в WebView, без прыжка в провайдер авторизации.

### Fixed
+ Теперь авторизация завершается только после скрытия UIViewController.
+ Теперь сallback о завершении авторизации `vkid(_:, didCompleteAuthWith:, in:)` вызывается после закрытия контроллера с WebView. В этом сallback вы можете менять иерархию UIViewController-ов, не используя дополнительные задержки через DispatchQueue.main.asyncAfter.

## 2.2.1 - 2024-09-11

Expand Down
2 changes: 1 addition & 1 deletion VKID.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "VKID"
spec.version = "2.3.0"
spec.version = "2.3.1"
spec.summary = "iOS library for VK ID authorization"
spec.homepage = "https://id.vk.com/business"
spec.authors = { 'VK ID' => '[email protected]' }
Expand Down
2 changes: 1 addition & 1 deletion VKID/Sources/Core/Migration/OAuth2MigrationManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ final class OAuth2MigrationManagerImpl: OAuth2MigrationManager, Component {
codeVerifier: String?,
completion: @escaping (Result<UserSession, OAuth2MigrationError>) -> Void
) {
codeExchanger.exchangeAuthCode(
(codeExchanger as ConfFlowCodeHandler).exchangeAuthCode(
.init(
from: response,
codeVerifier: codeVerifier,
Expand Down
2 changes: 1 addition & 1 deletion VKID/Sources/Infrastructure/Versions.swift
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
let VKID_VERSION = "2.3.0"
let VKID_VERSION = "2.3.1"
let VKAPI_VERSION = "5.207.0"
2 changes: 1 addition & 1 deletion VKIDCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "VKIDCore"
spec.version = "2.3.0"
spec.version = "2.3.1"
spec.summary = "VKID core functionality. Not for public use."
spec.homepage = "https://id.vk.com/business"
spec.authors = { 'VK ID' => '[email protected]' }
Expand Down
2 changes: 1 addition & 1 deletion docs/data/documentation/vkid.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/vkid/accesstoken.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/vkid/accesstoken/!=(_:_:).json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"identifier":{"url":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/!=(_:_:)","interfaceLanguage":"swift"},"metadata":{"modules":[{"relatedModules":["Swift"],"name":"VKID"}],"title":"!=(_:_:)","role":"symbol","extendedModule":"Swift","roleHeading":"Operator","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:4VKID11AccessTokenV","symbolKind":"op","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}]},"kind":"symbol","sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"!="},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}]}],"kind":"declarations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/vkid\/accesstoken\/!=(_:_:)"]}],"abstract":[{"text":"Inherited from ","type":"text"},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"hierarchy":{"paths":[["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/Equatable-Implementations"]]},"references":{"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/Equatable-Implementations":{"title":"Equatable Implementations","url":"\/documentation\/vkid\/accesstoken\/equatable-implementations","kind":"article","role":"collectionGroup","type":"topic","abstract":[],"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/Equatable-Implementations"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/!=(_:_:)":{"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/!=(_:_:)","abstract":[],"role":"symbol","kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/vkid\/accesstoken\/!=(_:_:)","title":"!=(_:_:)"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken":{"url":"\/documentation\/vkid\/accesstoken","kind":"symbol","abstract":[{"type":"text","text":"Токен авторизации запросов"}],"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"AccessToken"}],"navigatorTitle":[{"kind":"identifier","text":"AccessToken"}],"type":"topic","role":"symbol","title":"AccessToken"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID":{"abstract":[{"type":"text","text":"Библиотека для авторизации пользователей iOS приложений с помощью аккаунта VK ID."}],"url":"\/documentation\/vkid","type":"topic","kind":"symbol","title":"VKID","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","role":"collection"}}}
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/!=(_:_:)"},"schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"tokens":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"!=","kind":"identifier"},{"kind":"text","text":" "},{"kind":"text","text":"("},{"text":"lhs","kind":"internalParam"},{"text":": ","kind":"text"},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"rhs","kind":"internalParam"},{"kind":"text","text":": "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"languages":["swift"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/vkid\/accesstoken\/!=(_:_:)"]}],"sections":[],"metadata":{"title":"!=(_:_:)","symbolKind":"op","modules":[{"name":"VKID","relatedModules":["Swift"]}],"fragments":[{"text":"static","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"text":", ","kind":"text"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"extendedModule":"Swift","roleHeading":"Operator","role":"symbol","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:4VKID11AccessTokenV"},"hierarchy":{"paths":[["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/Equatable-Implementations"]]},"kind":"symbol","abstract":[{"type":"text","text":"Inherited from "},{"code":"Equatable.!=(_:_:)","type":"codeVoice"},{"type":"text","text":"."}],"references":{"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/Equatable-Implementations":{"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/Equatable-Implementations","kind":"article","abstract":[],"type":"topic","title":"Equatable Implementations","role":"collectionGroup","url":"\/documentation\/vkid\/accesstoken\/equatable-implementations"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID":{"kind":"symbol","abstract":[{"text":"Библиотека для авторизации пользователей iOS приложений с помощью аккаунта VK ID.","type":"text"}],"title":"VKID","role":"collection","type":"topic","url":"\/documentation\/vkid","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/!=(_:_:)":{"abstract":[],"title":"!=(_:_:)","url":"\/documentation\/vkid\/accesstoken\/!=(_:_:)","role":"symbol","kind":"symbol","fragments":[{"kind":"keyword","text":"static"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"!=","kind":"identifier"},{"text":" ","kind":"text"},{"kind":"text","text":"("},{"text":"Self","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"Self","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/!=(_:_:)","type":"topic"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken":{"title":"AccessToken","url":"\/documentation\/vkid\/accesstoken","role":"symbol","navigatorTitle":[{"text":"AccessToken","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"AccessToken","kind":"identifier"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","abstract":[{"text":"Токен авторизации запросов","type":"text"}]}}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"topicSections":[{"anchor":"Instance-Properties","title":"Instance Properties","identifiers":["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/debugDescription"],"generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"metadata":{"modules":[{"name":"VKID"}],"role":"collectionGroup","title":"CustomDebugStringConvertible Implementations","roleHeading":"API Collection"},"sections":[],"kind":"article","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/vkid\/accesstoken\/customdebugstringconvertible-implementations"]}],"identifier":{"url":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/CustomDebugStringConvertible-Implementations","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken"]]},"references":{"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID":{"abstract":[{"type":"text","text":"Библиотека для авторизации пользователей iOS приложений с помощью аккаунта VK ID."}],"url":"\/documentation\/vkid","type":"topic","kind":"symbol","title":"VKID","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","role":"collection"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken":{"url":"\/documentation\/vkid\/accesstoken","kind":"symbol","abstract":[{"type":"text","text":"Токен авторизации запросов"}],"identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"AccessToken"}],"navigatorTitle":[{"kind":"identifier","text":"AccessToken"}],"type":"topic","role":"symbol","title":"AccessToken"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/debugDescription":{"url":"\/documentation\/vkid\/accesstoken\/debugdescription","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"debugDescription","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"abstract":[],"kind":"symbol","title":"debugDescription","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/debugDescription","role":"symbol","type":"topic"}}}
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/CustomDebugStringConvertible-Implementations"},"metadata":{"title":"CustomDebugStringConvertible Implementations","role":"collectionGroup","modules":[{"name":"VKID"}],"roleHeading":"API Collection"},"kind":"article","variants":[{"paths":["\/documentation\/vkid\/accesstoken\/customdebugstringconvertible-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"topicSections":[{"anchor":"Instance-Properties","generated":true,"title":"Instance Properties","identifiers":["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/debugDescription"]}],"hierarchy":{"paths":[["doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID","doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"references":{"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID":{"kind":"symbol","abstract":[{"text":"Библиотека для авторизации пользователей iOS приложений с помощью аккаунта VK ID.","type":"text"}],"title":"VKID","role":"collection","type":"topic","url":"\/documentation\/vkid","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID"},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken":{"title":"AccessToken","url":"\/documentation\/vkid\/accesstoken","role":"symbol","navigatorTitle":[{"text":"AccessToken","kind":"identifier"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"AccessToken","kind":"identifier"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken","abstract":[{"text":"Токен авторизации запросов","type":"text"}]},"doc://dbf3c6c1a4b56eb9.VKID/documentation/VKID/AccessToken/debugDescription":{"kind":"symbol","url":"\/documentation\/vkid\/accesstoken\/debugdescription","role":"symbol","abstract":[],"type":"topic","identifier":"doc:\/\/dbf3c6c1a4b56eb9.VKID\/documentation\/VKID\/AccessToken\/debugDescription","title":"debugDescription","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"debugDescription"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}]}}}
Loading

0 comments on commit 70d4eb5

Please sign in to comment.