Skip to content

chore(kotlin): Release 1.0.0 - #1698

Merged
mattcreaser merged 8 commits into
mainfrom
release/kotlin-1.0.0
Nov 20, 2026
Merged

mattcreaser merged 8 commits into
mainfrom
release/kotlin-1.0.0

Conversation

@mattcreaser

Copy link
Copy Markdown
Contributor

Problem

aws-blocks-kotlin is ready for 1.0.0, and the changelog section the pending changesets generate is too long to work as release notes — 532 lines across 64 bullets, most of them fixes to features that 0.2.0 never shipped. The publish workflow feeds this section straight to the GitHub Release.

Changes

  • Consume the pending changesets, taking aws-blocks-kotlin from 0.2.0 to 1.0.0 in package.json, package-lock.json and gradle.properties.
  • Replace the generated 1.0.0 changelog section with a shorter entry grouped into ### Breaking and ### Other changes, in the same shape as the Dart packages' 1.0.0 notes.

The curated entry describes the delta from 0.2.0 rather than the development history, so fixes to features introduced and repaired inside this same window are folded into the feature they belong to. The full per-change detail, including per-PR attribution, remains in the git history of native/kotlin/.changeset/.

Validation

  • ./gradlew :runtime:jvmTest :plugin:check :codegen:test passes.
  • The runtime's generated version constant is blocksRuntimeVersion = "1.0.0", so the user-agent token reports the released version.
  • scripts/sync-version.sh --check passes: package.json and gradle.properties both read 1.0.0.
  • scripts/extract-changelog.sh CHANGELOG.md 1.0.0 returns the curated section, which is what the publish workflow uses for the GitHub Release body and the kotlin@1.0.0 tag.

Checklist

  • PR description included
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Consume the pending changesets, taking aws-blocks-kotlin from 0.2.0 to 1.0.0, and
replace the generated 1.0.0 changelog section with a shorter entry grouped into
breaking and other changes, in the same shape as the Dart packages' 1.0.0 notes.

The generated section ran to 532 lines across 64 bullets, which does not work as
release notes: the publish workflow feeds this section to the GitHub Release.
Rename the package from aws-blocks-kotlin and retitle the changelog, so the 1.0.0
notes and the workspace carry the product's current name.

Leaves the `/aws-blocks/` URL path, the `aws-blocks` route segment and the
`aws-blocks-kotlin` user-agent token alone: those are wire values the runtime still
matches and emits, not prose.
…aws/cdk-blocks

Set POM_NAME and POM_DESCRIPTION to "AWS CDK Blocks for Kotlin", so that is the title
Maven Central shows for the published artifacts, and point POM_URL and the SCM URLs at
github.com/aws/cdk-blocks. The changesets changelog generator now builds its links from
the same repository, and the transferables doc's issue link follows.

Rename the product in the places a user reads it: the Gradle plugin's two configuration
error messages, the InternalBlocksApi opt-in message, and the KDoc on BlocksClient,
OidcUser and the plugin extension.

Leaves the `com.aws.blocks.kotlin` group, plugin id and generated package names alone.
Match the `@aws-cdk-blocks` scope the JavaScript packages publish under, and retitle the
changelog to the same name. Every future changeset's frontmatter keys on this name.
Revert the comment, KDoc and message changes under runtime/, plugin/ and codegen/.
They are not needed to release, and touching those paths makes the changeset check
ask this branch for a changeset it has already consumed.
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/gradle.properties Resolved
Comment thread native/kotlin/package.json Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Review found the notes describing types and entry points that 1.0.0 does not have.
Corrected against the code at this head:

- Transport failures are `TransportException`, not the 0.2.0 `NetworkException`.
  `ApiException` trades `code` and `data` for `status`, `name` and `retriable`, and
  `TransferableIOException` is now `FileTransferException`.
- The generated `Api(server:)` constructor is gone, which breaks every 0.2.0 app, so
  say so under Breaking with the `Blocks().api` migration rather than listing the new
  entry point as an addition.
- A JVM app that sets no `applicationId` now holds its session in memory, and the
  cookie jar reads a single entry with no fallback, so every signed-in user signs in
  once more after upgrading. Both belong under Breaking.
- Per-namespace paths need `@aws-blocks/core` 0.8.0 or later, or any
  `@aws-cdk-blocks/core`, and a proxy must forward the whole subtree. A bare origin in
  a `servers {}` override no longer resolves.
- A response enum is a sealed class, so `value` and `fromValue` replace `name` and
  `valueOf`.
- Kotlin is 2.2.21, not 2.2.10; name the dependencies that reach an app's classpath.
- Drop the cookie-clearing bullet: `BlocksClient.clearCookies()` was added and removed
  inside this window, and `clearStoredState()` is `@InternalBlocksApi`.
- Fold the binding diagnostics into the transferables entry. Native bindings and
  `excludeNativePackages` both postdate 0.2.0, so no upgrader has one to break.

Also consume the README changeset that landed on main, and record the bump-type rule
1.0.0 brings in AGENTS.md: a source-breaking change now takes `major`, where every
breaking change in the 0.x window took `minor`.
#1724 set POM_NAME and POM_DESCRIPTION to the same values this branch did, and left
POM_URL and the SCM URLs on the repository's old location. Keep this branch's URLs:
aws-devtools-labs/aws-blocks now redirects to aws/cdk-blocks, so the published POM
should name where the repository actually lives.

Consume the product-copy changeset that came with it. The rename it describes reaches
comments, KDoc and developer-facing messages only, so it adds no entry to the 1.0.0
notes.
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
Comment thread native/kotlin/CHANGELOG.md Resolved
@mattcreaser
mattcreaser marked this pull request as ready for review November 20, 2026 21:35
@mattcreaser
mattcreaser requested a review from a team as a code owner November 20, 2026 21:35
@mattcreaser
mattcreaser enabled auto-merge (squash) November 20, 2026 22:01
@mattcreaser
mattcreaser disabled auto-merge November 20, 2026 22:01
@mattcreaser
mattcreaser merged commit 5a68859 into main Nov 20, 2026
74 of 77 checks passed
@mattcreaser
mattcreaser deleted the release/kotlin-1.0.0 branch November 20, 2026 22:02

This branch had an error being deployed

1 failed and 1 inactive deployments
publish-maven — 65dcd591 Deployed Nov 20, 2026 by mattcreaser via publish #1049
e2e — 65dcd591 Deployed Nov 20, 2026 by mattcreaser via Kotlin E2E (Android, sandbox) #7815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants