Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to v5 #1

Draft
wants to merge 97 commits into
base: http-formdata-and-file-support
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
771f6ce
fix: 204 http response (#6266)
piotr-zurek Mar 20, 2023
36764da
chore(readme): add new contributor (#6413)
Ionitron Mar 20, 2023
93c7767
refactor(ios): remove allowFileAccessFromFileURLs preference call (#6…
jcesarmobile Mar 21, 2023
daf2ec6
fix(android): Allow WebView to load data urls (#6418)
jcesarmobile Mar 21, 2023
924014b
docs: Add 4.x branch to Contributing.md (#6381)
crhayes Mar 22, 2023
fd225e5
chore: Deprecate bundledWebRuntime (#6420)
jcesarmobile Mar 22, 2023
ed47333
Fix parsing non-object JSON response in CapacitorHttp plugin (#6224)
JanMisker Mar 22, 2023
fe8685f
chore(readme): add new contributor (#6427)
Ionitron Mar 23, 2023
4b039f9
chore(cli): missing bundledWebRuntime removal (#6436)
jcesarmobile Mar 24, 2023
17f2f4a
feat(android): Fix for #6258, Add support for modern Huawei devices …
zakuru Mar 27, 2023
82f7c60
chore: remove Podfile.lock from iOS Template and remove deletion code…
markemer Mar 27, 2023
e91a8e7
feat(cli): Add support for Android build `--flavor` (#6437)
theproducer Mar 27, 2023
35275bd
chore(android): move package to build gradle (#6434)
jcesarmobile Mar 27, 2023
732f6b9
chore(cli): move package to build gradle (#6435)
jcesarmobile Mar 27, 2023
e7d4355
chore(android): hide ObsoleteSdkInt errors (#6446)
jcesarmobile Mar 29, 2023
209d4ed
fix(ios): Event listeners were unexpectedly nil (#6445)
markemer Mar 29, 2023
4737d2b
fix(android): remove stored references to bridge that holds it in mem…
carlpoole Mar 29, 2023
88d0ded
feat: Upgrade to Typescript 5.x (#6433)
theproducer Mar 29, 2023
302ba35
fix(android): proper app url check for launching intents (#6450)
jcesarmobile Mar 30, 2023
b1f0a37
feat(cli): update migrate command for cap4 -> cap5 (#6447)
markemer Mar 30, 2023
9d21a0e
fix(cli): Fix cordova plugin config checker over checking 5.x (#6444)
IT-MikeS Mar 30, 2023
e2ba74f
chore(readme): add new contributor (#6440)
Ionitron Mar 30, 2023
5aba2cb
feat: retain multiple calls per event until consumed (#6419)
theproducer Mar 31, 2023
7dff363
feat(cli): Add missing Cap 4 to Cap 5 migration tasks (#6453)
markemer Mar 31, 2023
51a548b
Release 5.0.0-beta.0
Mar 31, 2023
e81a2ff
fix: copy url from nativeResponse to response in native-bridge.ts (#6…
wilgert Apr 3, 2023
53dfeaf
feat(cli): non interactive migrate (#6461)
dtarnawsky Apr 3, 2023
65520c3
feat(cli): add npm update step to migrate (#6462)
markemer Apr 3, 2023
354ffd2
Release 5.0.0-beta.1
Apr 3, 2023
f21c6d0
feat(ios): Add Bundler support (#5205)
saschpe Apr 4, 2023
1ba70ab
chore(readme): add new contributor (#6464)
Ionitron Apr 4, 2023
ba0b932
chore(readme): add new contributor (#6460)
Ionitron Apr 4, 2023
bbf6f7e
fix: remove accept-charset (#6386)
stewones Apr 5, 2023
bb04f24
fix(cookies): check isEnabled before setting cookieHandler
ItsChaceD Apr 6, 2023
9447fc3
chore(readme): add new contributor (#6473)
Ionitron Apr 10, 2023
828fb71
fix(ios/android): copy url from nativeResponse to response (#6482)
jcesarmobile Apr 11, 2023
11e200e
chore(deps): Update xml2js dependency (#6486)
jcesarmobile Apr 11, 2023
95f7474
fix(android): launching intents without host (#6489)
jcesarmobile Apr 11, 2023
2fe3171
feat!: BREAKING Rename portals for capacitor to federated capacitor (…
Steven0351 Apr 11, 2023
2d0075d
chore: update eslint to v8 (#6491)
IT-MikeS Apr 12, 2023
0a40477
fix(android): unify kotlin dependency version (#6501)
jcesarmobile Apr 13, 2023
c691e4a
feat(ios): add webContentsDebuggingEnabled configuration (#6495)
markemer Apr 13, 2023
05591d0
chore(cli): bump default cordova plugin kotlin version (#6502)
jcesarmobile Apr 13, 2023
38f18bb
chore(android-template): Update androidx dependency versions (#6498)
jcesarmobile Apr 13, 2023
2260db7
chore(android): Update androidx fragment and webkit versions (#6499)
jcesarmobile Apr 13, 2023
80b5998
Release 5.0.0-beta.2
Apr 13, 2023
e896eb9
feat!(cli): BREAKING use required top-level webDir for Federated Capa…
Steven0351 Apr 14, 2023
01b5b39
feat(android): update gradle to 8.0.2 and gradle plugin to 8.0.0 (#6497)
IT-MikeS Apr 17, 2023
0ee772f
fix(cookies): init cookie manager after server url is set
ItsChaceD Apr 17, 2023
5e84373
chore!: remove deprecated hideLogs config option (#6514)
jcesarmobile Apr 18, 2023
728d55e
chore(android): Use java 17 (#6520)
jcesarmobile Apr 19, 2023
a090dd3
chore(cli): Use java 17 (#6519)
jcesarmobile Apr 19, 2023
49e8307
feat(cli)!: Require node 16 or newer (#6523)
jcesarmobile Apr 20, 2023
da3ac0e
feat(cli): Migrate update to gradle 8 (#6530)
jcesarmobile Apr 21, 2023
245b6ab
feat(cli): android manifest to build.gradle migration (#6533)
markemer Apr 21, 2023
60ffcc3
Release 5.0.0-beta.3
Apr 21, 2023
664d17e
chore(ci): enable npm package provenance (#6542)
ltm Apr 29, 2023
32cd86e
chore(readme): add new contributor (#6547)
Ionitron May 1, 2023
473a96c
Release 5.0.0-rc.0
May 1, 2023
d3aacde
fix(cli): Avoid infinite loop in namespace migration (#6551)
jcesarmobile May 2, 2023
b7da5b9
fix(cli): Migrate more plugin variables (#6552)
jcesarmobile May 2, 2023
895f86a
Release 5.0.0-rc.1
May 2, 2023
ddcc818
fix: check for android and JDK (#6554)
markemer May 3, 2023
5e5d2b3
chore: change versions for RC (#6556)
IT-MikeS May 3, 2023
d6f47cc
Release 5.0.0-rc.2
May 3, 2023
cca99c8
chore: update versions (#6558)
IT-MikeS May 3, 2023
76afa22
Release 5.0.0-rc.3
May 3, 2023
f836420
chore: add workflow for release from prerelease (#6559)
IT-MikeS May 3, 2023
16fce75
Release 5.0.0
May 3, 2023
7cc526b
chore(android): fix maven publishing (#6564)
carlpoole May 4, 2023
f4af0a2
fix(cli): install minor Capacitor 5 version (#6562)
jcesarmobile May 4, 2023
e03062e
fix(cli): Update migration link (#6560)
jcesarmobile May 4, 2023
2661700
Release 5.0.1
May 5, 2023
56b0037
fix(cli): handle unrecognized java --version (#6577)
jcesarmobile May 8, 2023
8cb26cd
fix(cli): Move package to build.gradle in Capacitor plugins (#6569)
jcesarmobile May 9, 2023
50fcabc
chore(android): maven publish fix with dependencies (#6580)
carlpoole May 9, 2023
3a41b4c
fix: fallback to plain `pod` if `Gemfile` does not contain CocoaPods …
markemer May 9, 2023
bc302d2
Release 5.0.2
May 9, 2023
fcf22df
chore(android): missing dependnecies from POM again (#6584)
carlpoole May 10, 2023
b104cb1
Release 5.0.3
May 10, 2023
b209760
chore(deps): pin @types/node version to 18.x (#6590)
jcesarmobile May 12, 2023
d49e632
fix(cli): proper plugin module patch in monorepos (#6589)
jcesarmobile May 12, 2023
caeeb09
fix(cicd): removed `set -eo pipefail` to allow job to continue (#6596)
markemer May 16, 2023
6843d96
fix(cli): Don't succeed migration if npm install failed (#6595)
jcesarmobile May 17, 2023
1c26a3e
fix(cli): correct migration of package from AndroidManifest.xml to bu…
davidnussio May 22, 2023
760126e
chore(readme): add new contributor (#6610)
Ionitron May 22, 2023
5a6971f
Release 5.0.4
May 23, 2023
538821f
fix(http): don't throw errors when content-type is null on response (…
ItsChaceD Jun 9, 2023
0cebe55
Release 5.0.5
Jun 9, 2023
def3bcb
chore(cli): Add note about dimensions not supported on flavors (#6651)
jcesarmobile Jun 14, 2023
95b0575
feat: export buildRequestInit function so we can use for downloadFile
ItsChaceD Jun 16, 2023
e5a1c81
fix(ios): set cors headers in asset handler for live reload
ItsChaceD Jun 23, 2023
d7856de
fix(ios): Return proper MIME Type for local WASM files (#6675)
jcesarmobile Jun 26, 2023
9818a76
feat(cli): add apksigner as a build option (#6442)
yooouuri Jun 26, 2023
2ab6c7d
chore(readme): add new contributor (#6677)
Ionitron Jun 27, 2023
927e8b3
Merge branch 'main' of github.com:ionic-team/capacitor into upgrade-5
ricca509 Jun 27, 2023
a088bc1
Merge branch 'http-formdata-and-file-support' of github.com:loveholid…
ricca509 Jun 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'import'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:import/typescript',
],
rules: {
// https://eslint.org/docs/rules/
'no-fallthrough': 'off', // https://github.com/ionic-team/eslint-config/issues/7
'no-constant-condition': 'off',

// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs/rules
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': [
'error',
{ allowArgumentsExplicitlyTypedAsAny: true },
],

// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs/rules
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/prefer-optional-chain': 'error',

// https://github.com/benmosher/eslint-plugin-import
'import/first': 'error',
'import/order': [
'error',
{
'alphabetize': { order: 'asc', caseInsensitive: false },
'groups': [['builtin', 'external'], 'parent', ['sibling', 'index']],
'newlines-between': 'always',
},
],
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
'import/no-mutable-exports': 'error',
},
};
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- 4.x
- main
pull_request:
branches:
- '**'
Expand Down Expand Up @@ -134,7 +134,14 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x ./android/gradlew
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Publish Latest

on: workflow_dispatch

permissions:
contents: write
id-token: write

jobs:
publish-npm-latest:
uses: ./.github/workflows/publish-npm-latest.yml
Expand All @@ -23,4 +27,4 @@ jobs:
needs: publish-npm-latest
uses: ./.github/workflows/publish-ios.yml
secrets:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
26 changes: 14 additions & 12 deletions .github/workflows/publish-npm-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,36 @@ name: Publish NPM Dev

on: workflow_dispatch

permissions:
contents: write
id-token: write

jobs:
deploy-npm-dev:
runs-on: macos-12
timeout-minutes: 30
steps:
- uses: actions/setup-node@v3
with:
node-version: 14.x
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- name: Restore Dependency Cache
uses: actions/cache@v3
- uses: actions/setup-node@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
- name: NPM Install
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
npm whoami
npm install
- name: Version & Publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
git config user.email "users.noreply.github.com"
echo $GITHUB_REF_NAME
npx lerna publish prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +"%Y%m%dT%H%M%S") --dist-tag dev-4 --allow-branch $GITHUB_REF_NAME --force-publish --no-verify-access --no-changelog --no-git-tag-version --no-push --yes
npm whoami
npx lerna version prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +"%Y%m%dT%H%M%S") --allow-branch $GITHUB_REF_NAME --force-publish --no-changelog --no-git-tag-version --no-push --yes
npx lerna exec -- npm publish --tag dev --provenance
42 changes: 42 additions & 0 deletions .github/workflows/publish-npm-latest-from-pre.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish NPM Latest From Prerelease

on:
workflow_call:
secrets:
CAP_GH_RELEASE_TOKEN:
required: true
NPM_TOKEN:
required: true
workflow_dispatch:

permissions:
contents: write
id-token: write

jobs:
deploy-npm-latest:
if: github.ref == 'refs/heads/main'
runs-on: macos-12
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
- run: |
npm install
- name: Version & Publish
env:
GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
git config user.email "users.noreply.github.com"
npm whoami
npm run ci:publish:latest-from-pre
19 changes: 10 additions & 9 deletions .github/workflows/publish-npm-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
required: true
workflow_dispatch:

permissions:
contents: write
id-token: write

jobs:
deploy-npm-latest:
if: github.ref == 'refs/heads/4.x'
Expand All @@ -21,21 +25,18 @@ jobs:
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
- run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
npm whoami
npm install
- name: Version & Publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config user.name "Github Workflow (on behalf of ${{ github.actor }})"
git config user.email "users.noreply.github.com"
npm whoami
npm run ci:publish:latest
4 changes: 3 additions & 1 deletion .github/workflows/publish-xcframework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
- run: brew install ghr
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down
112 changes: 108 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,124 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.7.1](https://github.com/ionic-team/capacitor/compare/4.7.0...4.7.1) (2023-03-16)
## [5.0.5](https://github.com/ionic-team/capacitor/compare/5.0.4...5.0.5) (2023-06-09)

### Bug Fixes

- **http:** don't throw errors when content-type is null on response ([#6627](https://github.com/ionic-team/capacitor/issues/6627)) ([538821f](https://github.com/ionic-team/capacitor/commit/538821f267aa3b79548fed6aaea8880ff949ffdd))

## [5.0.4](https://github.com/ionic-team/capacitor/compare/5.0.3...5.0.4) (2023-05-23)

### Bug Fixes

- **cicd:** removed `set -eo pipefail` to allow job to continue ([#6596](https://github.com/ionic-team/capacitor/issues/6596)) ([caeeb09](https://github.com/ionic-team/capacitor/commit/caeeb090922a5f7e56b1629209cb4227ae60da07))
- **cli:** correct migration of package from AndroidManifest.xml to build.gradle ([#6607](https://github.com/ionic-team/capacitor/issues/6607)) ([1c26a3e](https://github.com/ionic-team/capacitor/commit/1c26a3e57f356a0972bd43854ca86770a49f2d63))
- **cli:** Don't succeed migration if npm install failed ([#6595](https://github.com/ionic-team/capacitor/issues/6595)) ([6843d96](https://github.com/ionic-team/capacitor/commit/6843d9642fad9a322579cbe5f01563929a83dbf5))
- **cli:** proper plugin module patch in monorepos ([#6589](https://github.com/ionic-team/capacitor/issues/6589)) ([d49e632](https://github.com/ionic-team/capacitor/commit/d49e6324ab5e0bea58ff6ca32feb7ea39d33a772))

## [5.0.3](https://github.com/ionic-team/capacitor/compare/5.0.2...5.0.3) (2023-05-10)

**Note:** Version bump only for package capacitor

## [5.0.2](https://github.com/ionic-team/capacitor/compare/5.0.1...5.0.2) (2023-05-09)

### Bug Fixes

- **cli:** handle unrecognized java --version ([#6577](https://github.com/ionic-team/capacitor/issues/6577)) ([56b0037](https://github.com/ionic-team/capacitor/commit/56b0037a70d64019563b6e55e53de423f471fe2f))
- **cli:** Move package to build.gradle in Capacitor plugins ([#6569](https://github.com/ionic-team/capacitor/issues/6569)) ([8cb26cd](https://github.com/ionic-team/capacitor/commit/8cb26cd97a4f9cf59abb6b3828a07555a6af0b15))
- fallback to plain `pod` if `Gemfile` does not contain CocoaPods ([#6581](https://github.com/ionic-team/capacitor/issues/6581)) ([3a41b4c](https://github.com/ionic-team/capacitor/commit/3a41b4c1b70af7a45201fb11b04dc5558893aa7e))

## [5.0.1](https://github.com/ionic-team/capacitor/compare/5.0.0...5.0.1) (2023-05-05)

### Bug Fixes

- **cli:** install minor Capacitor 5 version ([#6562](https://github.com/ionic-team/capacitor/issues/6562)) ([f4af0a2](https://github.com/ionic-team/capacitor/commit/f4af0a298fb5a5f8257f175327058341a230ae4f))
- **cli:** Update migration link ([#6560](https://github.com/ionic-team/capacitor/issues/6560)) ([e03062e](https://github.com/ionic-team/capacitor/commit/e03062e6025fea0edfabbff2081b3f91017aece4))

# [5.0.0](https://github.com/ionic-team/capacitor/compare/5.0.0-rc.3...5.0.0) (2023-05-03)

**Note:** Version bump only for package capacitor

# [5.0.0-rc.3](https://github.com/ionic-team/capacitor/compare/5.0.0-rc.2...5.0.0-rc.3) (2023-05-03)

**Note:** Version bump only for package capacitor

# [5.0.0-rc.2](https://github.com/ionic-team/capacitor/compare/5.0.0-rc.1...5.0.0-rc.2) (2023-05-03)

### Bug Fixes

- check for android and JDK ([#6554](https://github.com/ionic-team/capacitor/issues/6554)) ([ddcc818](https://github.com/ionic-team/capacitor/commit/ddcc818e828b290459d3ddffe9102fc312139823))

# [5.0.0-rc.1](https://github.com/ionic-team/capacitor/compare/5.0.0-rc.0...5.0.0-rc.1) (2023-05-02)

### Bug Fixes

- **cli:** Avoid infinite loop in namespace migration ([#6551](https://github.com/ionic-team/capacitor/issues/6551)) ([d3aacde](https://github.com/ionic-team/capacitor/commit/d3aacdeb0c86d3941464954e7d1f582e405be489))
- **cli:** Migrate more plugin variables ([#6552](https://github.com/ionic-team/capacitor/issues/6552)) ([b7da5b9](https://github.com/ionic-team/capacitor/commit/b7da5b988ce7da5ea3991eaec46b9e52ff3635f1))

# [5.0.0-rc.0](https://github.com/ionic-team/capacitor/compare/5.0.0-beta.3...5.0.0-rc.0) (2023-05-01)

**Note:** Version bump only for package capacitor

# [5.0.0-beta.3](https://github.com/ionic-team/capacitor/compare/5.0.0-beta.2...5.0.0-beta.3) (2023-04-21)

### Bug Fixes

* **cli:** point build to proper workspace name ([#6373](https://github.com/ionic-team/capacitor/issues/6373)) ([81af12a](https://github.com/ionic-team/capacitor/commit/81af12a3381c605d4b2a681c69a78dd363a70af0))
* **iOS:** Separate cookies by ; rather than ; when accessing through document.cookie (Cap 4.x) ([#6380](https://github.com/ionic-team/capacitor/issues/6380)) ([1902b77](https://github.com/ionic-team/capacitor/commit/1902b77213e36bd9899634e7c86c9a02aab39932))
- **cookies:** init cookie manager after server url is set ([0ee772f](https://github.com/ionic-team/capacitor/commit/0ee772ff6456ad0948a0dd025dfcf2658a5563a0))

### Features

- **android:** update gradle to 8.0.2 and gradle plugin to 8.0.0 ([#6497](https://github.com/ionic-team/capacitor/issues/6497)) ([01b5b39](https://github.com/ionic-team/capacitor/commit/01b5b399324ae5d0896989478a6910fb946542d7))
- **cli:** android manifest to build.gradle migration ([#6533](https://github.com/ionic-team/capacitor/issues/6533)) ([245b6ab](https://github.com/ionic-team/capacitor/commit/245b6ab85b0f481f08c21e25f2b2a7eb6da9996c))
- **cli:** Migrate update to gradle 8 ([#6530](https://github.com/ionic-team/capacitor/issues/6530)) ([da3ac0e](https://github.com/ionic-team/capacitor/commit/da3ac0e72c0559223e9b91f31830810d39638734))

# [5.0.0-beta.2](https://github.com/ionic-team/capacitor/compare/5.0.0-beta.1...5.0.0-beta.2) (2023-04-13)

### Bug Fixes

- **android:** launching intents without host ([#6489](https://github.com/ionic-team/capacitor/issues/6489)) ([95f7474](https://github.com/ionic-team/capacitor/commit/95f747401ac5a666de4338a18666060e9c1ff39e))
- **android:** unify kotlin dependency version ([#6501](https://github.com/ionic-team/capacitor/issues/6501)) ([0a40477](https://github.com/ionic-team/capacitor/commit/0a4047768cbde9bc17d92955e64ab11d2e3b3335))
- **cookies:** check isEnabled before setting cookieHandler ([bb04f24](https://github.com/ionic-team/capacitor/commit/bb04f24f0b4a99e46ed5ca047d3d3df81804d516))
- **ios/android:** copy url from nativeResponse to response ([#6482](https://github.com/ionic-team/capacitor/issues/6482)) ([828fb71](https://github.com/ionic-team/capacitor/commit/828fb71ebb52c0655d5879ad0edaac7368ab2b96))
- remove accept-charset ([#6386](https://github.com/ionic-team/capacitor/issues/6386)) ([bbf6f7e](https://github.com/ionic-team/capacitor/commit/bbf6f7e1af0c49c0bc917942b6715c613be3f557))

### Features

- **ios:** Add Bundler support ([#5205](https://github.com/ionic-team/capacitor/issues/5205)) ([f21c6d0](https://github.com/ionic-team/capacitor/commit/f21c6d01fc30e46c151afc93da9727dbf6c9ddcf))
- **ios:** add webContentsDebuggingEnabled configuration ([#6495](https://github.com/ionic-team/capacitor/issues/6495)) ([c691e4a](https://github.com/ionic-team/capacitor/commit/c691e4aecbfb7a45ce0465d1fe9020ab715815d3))

# [5.0.0-beta.1](https://github.com/ionic-team/capacitor/compare/5.0.0-beta.0...5.0.0-beta.1) (2023-04-03)

### Bug Fixes

- copy url from nativeResponse to response in native-bridge.ts ([#6397](https://github.com/ionic-team/capacitor/issues/6397)) ([e81a2ff](https://github.com/ionic-team/capacitor/commit/e81a2ff42ddd446f3004ab5af6e74209f7ff076a))

### Features

- **cli:** add npm update step to migrate ([#6462](https://github.com/ionic-team/capacitor/issues/6462)) ([65520c3](https://github.com/ionic-team/capacitor/commit/65520c36cdb4ac6f8811eb72624c447f2a0d884a))
- **cli:** non interactive migrate ([#6461](https://github.com/ionic-team/capacitor/issues/6461)) ([53dfeaf](https://github.com/ionic-team/capacitor/commit/53dfeaf77ace5b165260b68351eae8e5bf72ea0a))

# [5.0.0-beta.0](https://github.com/ionic-team/capacitor/compare/5.0.0-alpha.1...5.0.0-beta.0) (2023-03-31)

### Bug Fixes

- 204 http response ([#6266](https://github.com/ionic-team/capacitor/issues/6266)) ([771f6ce](https://github.com/ionic-team/capacitor/commit/771f6ce1f35159848db218a42dc4f56b5106f750))
- **android:** Allow WebView to load data urls ([#6418](https://github.com/ionic-team/capacitor/issues/6418)) ([daf2ec6](https://github.com/ionic-team/capacitor/commit/daf2ec64df0c567c6a42560488e5d2515eff8a33))
- **android:** proper app url check for launching intents ([#6450](https://github.com/ionic-team/capacitor/issues/6450)) ([302ba35](https://github.com/ionic-team/capacitor/commit/302ba353acbd6d67e96e2b28870bc9c5bb4e9af0))
- **android:** remove stored references to bridge that holds it in memory ([#6448](https://github.com/ionic-team/capacitor/issues/6448)) ([4737d2b](https://github.com/ionic-team/capacitor/commit/4737d2b46b480c7c0246ac6414494cbbdac7811b))
- **cli:** Fix cordova plugin config checker over checking 5.x ([#6444](https://github.com/ionic-team/capacitor/issues/6444)) ([9d21a0e](https://github.com/ionic-team/capacitor/commit/9d21a0e363141fa0792c12d977b13692be67cf6d))
- **ios:** Event listeners were unexpectedly nil ([#6445](https://github.com/ionic-team/capacitor/issues/6445)) ([209d4ed](https://github.com/ionic-team/capacitor/commit/209d4edace610b00e689440a5c08e72f5da60cc2))

### Features

# [4.7.0](https://github.com/ionic-team/capacitor/compare/4.6.3...4.7.0) (2023-02-22)
- **android:** Fix for [#6258](https://github.com/ionic-team/capacitor/issues/6258), Add support for modern Huawei devices ([#6402](https://github.com/ionic-team/capacitor/issues/6402)) ([17f2f4a](https://github.com/ionic-team/capacitor/commit/17f2f4ac744a038c1dae3cbd74a670d5ede92ef3))
- **cli:** Add missing Cap 4 to Cap 5 migration tasks ([#6453](https://github.com/ionic-team/capacitor/issues/6453)) ([7dff363](https://github.com/ionic-team/capacitor/commit/7dff36376d6efa6ea8793b81550979ee9254991b))
- **cli:** Add support for Android build `--flavor` ([#6437](https://github.com/ionic-team/capacitor/issues/6437)) ([e91a8e7](https://github.com/ionic-team/capacitor/commit/e91a8e795604042684ec9e20b620eee36e0dfda2))
- **cli:** update migrate command for cap4 -> cap5 ([#6447](https://github.com/ionic-team/capacitor/issues/6447)) ([b1f0a37](https://github.com/ionic-team/capacitor/commit/b1f0a3744d3158dab083ea31ea3e747b937729d2))
- retain multiple calls per event until consumed ([#6419](https://github.com/ionic-team/capacitor/issues/6419)) ([5aba2cb](https://github.com/ionic-team/capacitor/commit/5aba2cbe29bdbab2a7af861c65d8323acf9c54a6))
- Upgrade to Typescript 5.x ([#6433](https://github.com/ionic-team/capacitor/issues/6433)) ([88d0ded](https://github.com/ionic-team/capacitor/commit/88d0ded9e7356531ffc4563b9b81a0f3f069484b))

# [5.0.0-alpha.1](https://github.com/ionic-team/capacitor/compare/4.7.0...5.0.0-alpha.1) (2023-03-16)

### Bug Fixes

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ On web, this means do not add any third party libraries such as Firebase or Loda
### Branches

* [`main`](https://github.com/ionic-team/capacitor/tree/main): Latest Capacitor development branch
* [`4.x`](https://github.com/ionic-team/capacitor/tree/4.x): Capacitor 4
* [`3.x`](https://github.com/ionic-team/capacitor/tree/3.x): Capacitor 3 (security fixes only)
* [`2.x`](https://github.com/ionic-team/capacitor/tree/2.x): Capacitor 2 (not maintained)
* [`1.x`](https://github.com/ionic-team/capacitor/tree/1.x): Capacitor 1 (not maintained)
Expand Down
Loading