Skip to content

Commit

Permalink
chore(): Prepare 4.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
moberwasserlechner committed Sep 18, 2022
1 parent b890d88 commit c69621a
Show file tree
Hide file tree
Showing 9 changed files with 2,061 additions and 3,454 deletions.
2 changes: 1 addition & 1 deletion ByteowlsCapacitorOauth2.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/ByteowlsCapacitorOauth2/Source/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'OAuthSwift', '2.2.0'
s.swift_version = '5.1'
Expand Down
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Changelog

## [4.0.0] - 2022-08-24
## [4.0.0] - 2022-09-18

### Fixed

* Detection of Network Errors when refreshing Tokens [#192](https://github.com/moberwasserlechner/capacitor-oauth2/issues/192)
* Popup blocked in Safari for pkce flow [#216](https://github.com/moberwasserlechner/capacitor-oauth2/issues/216)

### Breaking
* Minimum Capacitor version is **4.0.0**. Only this plugin version supports Capacitor `4.x`!
* Minimum Capacitor version is **4.0.0**.! [#211](https://github.com/moberwasserlechner/capacitor-oauth2/issues/211)

## [3.0.1] - 2021-08-11

Expand Down Expand Up @@ -118,8 +123,8 @@ This is controlled by Android specific parameters `handleResultOnNewIntent` for
- Android: Fix Java compiler error #36 (thx @Anthbs)
- Fix github security error by updating Jest lib

[Unreleased]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/3.0.1...main
[3.1.0]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/3.0.0...3.1.0
[Unreleased]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/4.0.0...main
[4.0.0]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/3.0.1...4.0.0
[3.0.1]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/2.1.0...3.0.0
[2.1.0]: https://github.com/moberwasserlechner/capacitor-oauth2/compare/2.0.0...2.1.0
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For Capacitor v4
npm i @byteowls/capacitor-oauth2
npx cap sync
```
For Capacitor v3
For Capacitor v3 use `3.0.1`
```bash
npm i @byteowls/capacitor-oauth2@3.0.1
npx cap sync
Expand All @@ -29,12 +29,12 @@ npx cap sync

## Versions

| Plugin | For Capacitor | Docs | Notes |
|--------|-------------------|----------------------------------------------------------------------------------------|--------------------------------|
| 4.x | 4.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/blob/main/README.md) | Breaking changes see Changelog. XCode 12.0 needs this version |
| 3.x | 3.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/tree/release/3.x/README.md) | Breaking changes see Changelog. XCode 12.0 needs this version |
| 2.x | 2.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/tree/release/2.x/README.md) | Breaking changes see Changelog. XCode 11.4 needs this version |
| 1.x | 1.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/blob/1.1.0/README.md) | |
| Plugin | For Capacitor | Docs | Notes |
|--------|-------------------|---------------------------------------------------------------------------------------------|--------------------------------|
| 4.x | 4.x.x | [README](./README.md) | Breaking changes see Changelog. XCode 12.0 needs this version |
| 3.x | 3.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/tree/release/3.x/README.md) | Breaking changes see Changelog. XCode 12.0 needs this version |
| 2.x | 2.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/tree/release/2.x/README.md) | Breaking changes see Changelog. XCode 11.4 needs this version |
| 1.x | 1.x.x | [README](https://github.com/moberwasserlechner/capacitor-oauth2/blob/1.1.0/README.md) | |

For further details on what has changed see the [CHANGELOG](https://github.com/moberwasserlechner/capacitor-oauth2/blob/main/CHANGELOG.md).

Expand Down Expand Up @@ -997,7 +997,7 @@ See https://developers.facebook.com/docs/swift/getting-started and https://devel
1) Add Facebook pods to `ios/App/Podfile` and run `pod install` afterwards

```
platform :ios, '12.0'
platform :ios, '13.0'
use_frameworks!
# workaround to avoid Xcode caching of Pods that requires
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
commonsIoVersion = project.hasProperty('commonsIoVersion') ? rootProject.ext.commonsIoVersion : '2.10.0'
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0'
junit5Version = project.hasProperty('junit5Version') ? rootProject.ext.junit5Version : '5.7.2'
androidJunit5Version = project.hasProperty('androidJunit5Version') ? rootProject.ext.androidJunit5Version : '1.2.2';
androidJunit5Version = project.hasProperty('androidJunit5Version') ? rootProject.ext.androidJunit5Version : '1.2.2'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -312,7 +312,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand Down
7 changes: 6 additions & 1 deletion ios/ByteowlsCapacitorOauth2/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
platform :ios, '13.0'

target 'ByteowlsCapacitorOauth2' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
Expand All @@ -11,3 +12,7 @@ target 'ByteowlsCapacitorOauth2' do
pod 'OAuthSwift', :git => 'https://github.com/OAuthSwift/OAuthSwift.git'

end

post_install do |installer|
assertDeploymentTarget(installer)
end
Loading

0 comments on commit c69621a

Please sign in to comment.