Skip to content

Commit 5f4da63

Browse files
committed
docs: migration guide, changelog, new version
1 parent 7ec6b8b commit 5f4da63

File tree

4 files changed

+142
-128
lines changed

4 files changed

+142
-128
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
# [3.3.0](https://github.com/CodetrixStudio/CapacitorGoogleAuth/compare/3.2.2...3.3.0) (2023-05-30)
2+
3+
### Features
4+
5+
- Upgrade to Capacitor 5 [@tponte](https://github.com/tponte) in https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/277
6+
17
# [3.2.2](https://github.com/CodetrixStudio/CapacitorGoogleAuth/compare/3.2.1...3.2.2) (2023-01-27)
28

39
### Docs
4-
* Update android plugin instructions by [@teaqu](https://github.com/teaqu) in https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/254
510

11+
- Update android plugin instructions by [@teaqu](https://github.com/teaqu) in https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/254
612

713
# [3.2.1](https://github.com/CodetrixStudio/CapacitorGoogleAuth/v3.2.0...v3.2.1) (2023-01-19)
814

@@ -17,6 +23,7 @@
1723
- Support Capacitor 4 [#218](https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/218) ([0a1f4ff](https://github.com/CodetrixStudio/CapacitorGoogleAuth/commit/0a1f4ff)) - **BREAKING CHANGE!**
1824

1925
### Docs
26+
2027
- Migration guide to capacitor 4 [#221](https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/221) ([1a79a88](https://github.com/CodetrixStudio/CapacitorGoogleAuth/commit/1a79a88))
2128

2229
# [3.1.4](https://github.com/CodetrixStudio/CapacitorGoogleAuth/v3.1.3...v3.1.4) (2022-06-10)

README.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# CapacitorGoogleAuth
2-
3-
[![npm](https://img.shields.io/npm/v/@codetrix-studio/capacitor-google-auth)](https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth)
4-
![npm](https://img.shields.io/npm/dt/@codetrix-studio/capacitor-google-auth)
5-
![npm](https://img.shields.io/npm/dw/@codetrix-studio/capacitor-google-auth)
6-
![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/@codetrix-studio/capacitor-google-auth)
7-
[![install size](https://packagephobia.com/badge?p=@codetrix-studio/capacitor-google-auth)](https://packagephobia.com/result?p=@codetrix-studio/capacitor-google-auth)
8-
1+
<h1 align="center">CapacitorGoogleAuth</h1>
2+
<p align="center"><strong><code>@codetrix-studio/capacitor-google-auth</code></strong></p>
3+
<br>
4+
<p align="center"><strong>CAPACITOR 5</strong></p>
5+
<p align="center">
96
Capacitor plugin for Google Auth.
7+
</p>
8+
<br>
9+
<p align="center">
10+
<a href="https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth"><img alt="npm" src="https://img.shields.io/npm/v/@codetrix-studio/capacitor-google-auth"></a> <a href="https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth"><img alt="npm" src="https://img.shields.io/npm/dt/@codetrix-studio/capacitor-google-auth"></a> <a href="https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth"><img alt="npm" src="https://img.shields.io/npm/dw/@codetrix-studio/capacitor-google-auth"></a> <a href="https://libraries.io/npm/@codetrix-studio%2Fcapacitor-google-auth"><img alt="Dependents (via libraries.io)" src="https://img.shields.io/librariesio/dependents/npm/@codetrix-studio/capacitor-google-auth"></a> <a href="https://packagephobia.com/result?p=@codetrix-studio/capacitor-google-auth"><img alt="install size" src="https://packagephobia.com/badge?p=@codetrix-studio/capacitor-google-auth"></a>
11+
</p>
1012

1113
## Contributions
1214

@@ -102,13 +104,13 @@ async googleSignIn() {
102104
#### Vue 3
103105

104106
```vue
105-
<script setup lang="ts">
106-
import { defineComponent, onMounted } from 'vue'
107-
import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth'
107+
<script setup lang="ts">
108+
import { defineComponent, onMounted } from 'vue';
109+
import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth';
108110
109111
onMounted(() => {
110112
GoogleAuth.initialize();
111-
})
113+
});
112114
113115
async function logIn() {
114116
const response = await GoogleAuth.signIn();
@@ -198,11 +200,21 @@ export default config;
198200

199201
## Migration guide
200202

203+
#### Migrate from 3.2.x to 3.3.x
204+
205+
Install version 3.3.x:
206+
207+
```sh
208+
npm i --save @codetrix-studio/capacitor-google-auth^3.3
209+
```
210+
211+
Follow instruction for you project [Updating from Capacitor 4 to Capacitor 5](https://capacitorjs.com/docs/updating/5-0).
212+
201213
#### Migrate from 3.2.1 to 3.2.2
202214

203215
for `Android` in file `MainActivity.onCreate`
204216

205-
```diff
217+
```diff
206218
- this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
207219
- add(GoogleAuth.class);
208220
- }});
@@ -214,7 +226,7 @@ for `Android` in file `MainActivity.onCreate`
214226
Install version 3.2.x:
215227

216228
```sh
217-
npm i --save @codetrix-studio/capacitor-google-auth
229+
npm i --save @codetrix-studio/capacitor-google-auth^3.2
218230
```
219231

220232
Follow instruction for you project [Updating from Capacitor 3 to Capacitor 4](https://capacitorjs.com/docs/updating/4-0).
@@ -231,7 +243,7 @@ Follow instruction for you project [Updating from Capacitor 3 to Capacitor 4](ht
231243
Install version 3.x.x:
232244

233245
```sh
234-
npm i --save @codetrix-studio/capacitor-google-auth@3
246+
npm i --save @codetrix-studio/capacitor-google-auth^3.0
235247
```
236248

237249
After [migrate to Capcitor 3](https://capacitorjs.com/docs/updating/3-0) updating you projects, see diff:

0 commit comments

Comments
 (0)