Skip to content

Commit

Permalink
Prepare version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
robxyy committed Oct 5, 2022
1 parent 8687bfa commit c04d94a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## [Unreleased]

## [0.1.3] - 2022-10-05

### Fixed

* Fix ArrayIndexOutOfBoundsException when using `emptyBytes.refTo`.

### Changed

* Replace `dataWithBytes` with `dataWithBytesNoCopy` to avoid allocation.
* Use `as` to convert between `ByteVar` and `UByteVar` because they have the same bit layout.
* Avoid creating `NSData` when using `Aes-Gcm` for encryption.

## [0.1.2] - 2022-09-12

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ Diglol Crypto for Kotlin Multiplatform.
包含所有的子模块

```gradle
implementation("com.diglol.crypto:crypto:0.1.2")
implementation("com.diglol.crypto:crypto:0.1.3")
```

_如果需要依赖子模块,请参考当前支持的加密常量。_

```gradle
implementation("com.diglol.crypto:${submodule}:0.1.2")
implementation("com.diglol.crypto:${submodule}:0.1.3")
```

### License
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ Our [change log](CHANGELOG.md) has release history.
Include all submodules.

```gradle
implementation("com.diglol.crypto:crypto:0.1.2")
implementation("com.diglol.crypto:crypto:0.1.3")
```

_If you need to depend on a submodule, please refer to the currently supported cryptographic constants._

```gradle
implementation("com.diglol.crypto:${submodule}:0.1.2")
implementation("com.diglol.crypto:${submodule}:0.1.3")
```

### License
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildscript {

allprojects {
group = "com.diglol.crypto"
version = "0.2.0-SNAPSHOT"
version = "0.1.3"

repositories {
mavenCentral()
Expand Down

0 comments on commit c04d94a

Please sign in to comment.