Skip to content

Commit 1d78ea7

Browse files
committed
release v2.2.0
1 parent eecd8d5 commit 1d78ea7

5 files changed

Lines changed: 19 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1+
## 2.2.0
2+
* Change NMSSH to GZ-NMSSH: https://github.com/gaetanzanella/NMSSH/tree/feature/catalyst
3+
* Updated libssh and libssl
4+
* Supports more key types (ECDSA_256, ECDSA_384, ECDSA_521, ED25519)
5+
* Fix issues with multiple threads
6+
* Change JSch to modernized fork: https://github.com/mwiede/jsch
7+
* Suports more key types (rsa-sha2-256, rsa-sha2-512, curve25519-sha256, curve448-sha512, chacha20-poly1305@openssh.com)
8+
* More types will be supported once Android supports newer Java versions
9+
* Miscellaneous bug fixes
10+
* Deprecated older insecure key types
11+
* Update to latest Gradle version
12+
113
## 2.1.2
2-
* Update gradle version to 7.0.2
314
* Migrate Android plugin APIs to v2
415
* Fix Podspec name
516
* General code cleanup

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,15 @@
22

33
SSH and SFTP client for Flutter. Wraps iOS library NMSSH and Android library JSch. This is a fork of flutter_ssh: https://github.com/shaqian/flutter_ssh
44

5+
Wraps iOS library [NMSSH](https://github.com/gaetanzanella/NMSSH/tree/feature/catalyst) and Android library [JSch](https://github.com/mwiede/jsch).
6+
57
## Installation
68

79
Add `ssh2` as a [dependency in your pubspec.yaml file](https://flutter.io/using-packages/).
810

911
## Known issue
1012

11-
- Platform exception in release mode for Android:
12-
13-
```
14-
PlatformException(connection_failure, java.lang.ClassNotFoundException: com.jcraft.jsch.jce.Random, null)
15-
```
16-
17-
There are 2 workarounds:
18-
19-
- Disable shrink:
20-
21-
`flutter build apk --no-shrink`
22-
23-
- Configure proguard-rules. Refer to [this comment](https://github.com/shaqian/flutter_ssh/issues/27#issuecomment-599180850) for details.
13+
- Older Gradle versions are not supported due to incompatibilities with the newer JSch depencendy. This release was tested with Gradle version 7.0.2.
2414

2515
## Usage
2616

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android {
3737
}
3838

3939
compileOptions {
40-
sourceCompatibility JavaVersion.VERSION_1_8
41-
targetCompatibility JavaVersion.VERSION_1_8
40+
sourceCompatibility JavaVersion.VERSION_11
41+
targetCompatibility JavaVersion.VERSION_11
4242
}
4343
}

ios/ssh2.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'ssh2'
6-
s.version = '2.1.2'
6+
s.version = '2.2.0'
77
s.summary = 'SSH and SFTP client for Flutter.'
88
s.description = <<-DESC
99
SSH and SFTP client for Flutter. Wraps iOS library NMSSH and Android library Jsch.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ssh2
22
description: SSH and SFTP client for Flutter. Wraps iOS library NMSSH and Android library JSch.
3-
version: 2.1.2
3+
version: 2.2.0
44
homepage: https://github.com/jda258/flutter_ssh2
55

66
environment:

0 commit comments

Comments
 (0)