Repository navigation
chore(kotlin): Release 1.0.0 - #1698
Merged
Merged
Conversation
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.
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.
thisisabhash
approved these changes
Nov 20, 2026
mattcreaser
marked this pull request as ready for review
November 20, 2026 21:35
mattcreaser
enabled auto-merge (squash)
November 20, 2026 22:01
mattcreaser
disabled auto-merge
November 20, 2026 22:01
mattcreaser
had a problem deploying
to
publish-maven
November 20, 2026 22:13 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
aws-blocks-kotlinis 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
aws-blocks-kotlinfrom 0.2.0 to 1.0.0 inpackage.json,package-lock.jsonandgradle.properties.1.0.0changelog section with a shorter entry grouped into### Breakingand### 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:testpasses.blocksRuntimeVersion = "1.0.0", so the user-agent token reports the released version.scripts/sync-version.sh --checkpasses:package.jsonandgradle.propertiesboth read 1.0.0.scripts/extract-changelog.sh CHANGELOG.md 1.0.0returns the curated section, which is what the publish workflow uses for the GitHub Release body and thekotlin@1.0.0tag.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.