Skip to content

Commit

Permalink
Adding formal changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik committed May 7, 2024
1 parent 67b17f0 commit a1c54ad
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
- '*/**'
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'LICENSE'
- 'NOTICE'
- '.tools/create-release'
- '.github/workflows/publish.yml'

env:
Expand Down
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Changelog
All notable changes to this project will be documented in this file.

## Unreleased

### Native Code
* `java_string_create(JNIEnv *, const char *, size_t)` exposed publicly (thank you @JonathanLennox)
* Reduced amount of allocations during exception message extraction
* Reduced amount and complexity of template instanciations during compilation
* `java_frame` is now movable
* Headers now correctly check for C++17 rather than C++14

### Annotation processors
* No changes

## [3.9] - 2024-05-03

### Native Code
* No changes
### Annotation processors
* You can now use `@CalledByNative` annotation on Java/Kotlin `enum` members.
* Kotlin version required updated to 1.9.23
* KSP code generator now requires KSP version 1.9.23-1.0.20

## [3.8] - 2023-11-06

### Native Code
* Added missing standard library includes not implicitly included on some compilers
* Modernized CMake file somewhat
### Annotation processors
* Kotlin version required updated to 1.9.0
* KSP code generator now requires KSP version 1.9.0-1.0.13


## [3.7] - 2023-04-01

### Native Code
* No changes
### Annotation processors
* Kotlin version required updated to 1.8.0
* KSP code generator now requires KSP version 1.8.0-1.0.9

## [3.6] - 2022-05-18

### Native Code
* GCC 12 compiler is now supported

### Annotation processors
* KSP Code Generator: KSP dependency updated to 1.6.21-1.0.5
* Samples updated with latest Android/Kotlin/Gradle dependencies


## [3.5] - 2021-10-09

First release under a new name in this repo.

### Native code

* Small bug fix to `jstatic_cast` to allow more than one DEFINE_JAVA_CONVERSION for the same type

### JniGen generator

* JniGen generator is now on Maven Central instead of a private maven repo.
* KSP annotation processor is now available in addition to Java/KAPT one.
* Amount of Gradle code needed to integrate JniGen has been greatly reduced
* `/samples` directory now contain updated JniGen integration samples.

See [Integration](https://github.com/gershnik/SimpleJNI/wiki/Integrating-JniGen) doc for more details about new Maven config and KSP processor

[3.5]: https://github.com/gershnik/SimpleJNI/releases/3.5
[3.6]: https://github.com/gershnik/SimpleJNI/releases/3.6
[3.7]: https://github.com/gershnik/SimpleJNI/releases/3.7
[3.8]: https://github.com/gershnik/SimpleJNI/releases/3.8
[3.9]: https://github.com/gershnik/SimpleJNI/releases/3.9
3 changes: 2 additions & 1 deletion jnigen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ tasks.register<Zip>("bundleCpp") {
"../VERSION",
"../LICENSE",
"../NOTICE",
"../README.md")
"../README.md",
"../CHANGELOG.md")

archiveFileName.set("SimpleJNI-${project.version}-cpp-only.zip")
destinationDirectory.set(rootProject.layout.buildDirectory)
Expand Down

0 comments on commit a1c54ad

Please sign in to comment.