Skip to content

Commit b070aba

Browse files
Add changelog (#12)
* add changelog plugin to the sdk project * setup changelog at top level * update changelog config add info for the RC1 * use patchChangelog to create the 1.0.0-RC1 section that is published * set the current version to next release 1.0.0-RC2 * prepare modification comment for the setupResponse method * update changelog plugin setup not to combine pre-release notes
1 parent 41c51d8 commit b070aba

File tree

4 files changed

+44
-1
lines changed

4 files changed

+44
-1
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changelog
2+
3+
Datastar Kotlin SDK updates.
4+
5+
## Unreleased
6+
7+
### Added
8+
9+
### Changed
10+
11+
- Add `ServerSentEventGenerator.setupResponse` method. This was internally called on generator initialization but was not playing well with web frameworks' multiple ways of handling responses. This method now needs to be called explicitly when applicable.
12+
13+
### Deprecated
14+
15+
### Removed
16+
17+
### Fixed
18+
19+
### Security
20+
21+
## 1.0.0-RC1 - 2025-08-30
22+
23+
### Added
24+
25+
- Initial project setup.
26+
- [Datastar ADR](https://github.com/starfederation/datastar/blob/develop/sdk/ADR.md) compliant implementation.
27+
- `readSignals`
28+
- `ServerSentEventGenerator.send`
29+
- `ServerSentEventGenerator.patchElements`
30+
- `ServerSentEventGenerator.patchSignals`
31+
- Tested against [Datastar](https://github.com/starfederation/datastar/releases/tag/v1.0.0-RC.5) `v1.0.0-RC.5` (a7adbacbc9c1a3b27707d7cceba3c02a3f81a86c).

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
plugins {
2+
alias(libs.plugins.changelog)
3+
}
4+
5+
version = providers.gradleProperty("version").get()
6+
7+
changelog {
8+
version = project.version.toString()
9+
introduction = "Datastar Kotlin SDK updates."
10+
combinePreReleases = false
11+
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ org.gradle.caching=true
44
datastar.test-suite.version=a7adbacbc9c1a3b27707d7cceba3c02a3f81a86c
55
groupId=dev.data-star.kotlin
66
artifactId=kotlin-sdk
7-
version=1.0.0-RC1
7+
version=1.0.0-RC2

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
1515
spotless = { id = "com.diffplug.spotless", version = "7.2.1" }
1616
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.9.1" }
1717
jreleaser = { id = "org.jreleaser", version = "1.19.0" }
18+
changelog = { id = "org.jetbrains.changelog", version = "2.4.0" }
1819

1920
[bundles]
2021
kotest = ["kotest-assertions"]

0 commit comments

Comments
 (0)