chore(sdk): release 0.5.0 across all five SDKs
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ handler is a `MockHandler` — no global state, no network.
|
||||
<dependency>
|
||||
<groupId>com.rmyndharis</groupId>
|
||||
<artifactId>openwa</artifactId>
|
||||
<version>0.4.0</version>
|
||||
<version>0.5.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
||||
+2
-2
@@ -186,10 +186,10 @@ subdirectory rather than at the repository root:
|
||||
|
||||
```bash
|
||||
# Correct — `sdk/go/` prefix, matching `module github.com/rmyndharis/OpenWA/sdk/go`
|
||||
git tag sdk/go/v0.4.0 && git push origin sdk/go/v0.4.0
|
||||
git tag sdk/go/v0.5.0 && git push origin sdk/go/v0.5.0
|
||||
```
|
||||
|
||||
A bare `v0.4.0` tag is the _app_ version and does nothing for this module.
|
||||
A bare `v0.5.0` tag is the _app_ version and does nothing for this module.
|
||||
Without a prefixed tag, `go get` resolves a pseudo-version
|
||||
(`v0.0.0-<date>-<commit>`) — usable, but callers cannot pin a release.
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ const DefaultTimeout = 30 * time.Second
|
||||
|
||||
// DefaultUserAgent is sent on every request unless overridden with
|
||||
// WithUserAgent or a caller-supplied User-Agent header.
|
||||
const DefaultUserAgent = "openwa-go/0.4.0"
|
||||
const DefaultUserAgent = "openwa-go/0.5.0"
|
||||
|
||||
// config is the resolved, internal configuration assembled from the options.
|
||||
type config struct {
|
||||
|
||||
+3
-3
@@ -16,14 +16,14 @@ Java 17+, one runtime dependency ([Gson](https://github.com/google/gson)).
|
||||
<dependency>
|
||||
<groupId>com.rmyndharis</groupId>
|
||||
<artifactId>openwa</artifactId>
|
||||
<version>0.4.0</version>
|
||||
<version>0.5.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
**Gradle**
|
||||
|
||||
```groovy
|
||||
implementation 'com.rmyndharis:openwa:0.4.0'
|
||||
implementation 'com.rmyndharis:openwa:0.5.0'
|
||||
```
|
||||
|
||||
## Quickstart
|
||||
@@ -155,7 +155,7 @@ before tagging rather than tagging to see what happens.
|
||||
Cutting a release:
|
||||
|
||||
1. Bump `<version>` in `pom.xml` and land it on `main`.
|
||||
2. Tag that commit `java-sdk-v<version>` (e.g. `java-sdk-v0.4.0`) and push the
|
||||
2. Tag that commit `java-sdk-v<version>` (e.g. `java-sdk-v0.5.0`) and push the
|
||||
tag. The SDK has its own version line — the monorepo's `v*` tags are the app
|
||||
version and never trigger an SDK publish.
|
||||
3. The workflow builds, signs, and publishes; Central syncs within a few hours.
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.rmyndharis</groupId>
|
||||
<artifactId>openwa</artifactId>
|
||||
<version>0.4.0</version>
|
||||
<version>0.5.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>OpenWA Java SDK</name>
|
||||
|
||||
@@ -71,7 +71,7 @@ rejects the publish, so configure it first.
|
||||
Cutting a release:
|
||||
|
||||
1. Bump `version` in `package.json` and land it on `main`.
|
||||
2. Tag that commit `js-sdk-v<version>` (e.g. `js-sdk-v0.4.0`) and push the tag.
|
||||
2. Tag that commit `js-sdk-v<version>` (e.g. `js-sdk-v0.5.0`) and push the tag.
|
||||
The SDK has its own version line — the monorepo's `v*` tags are the app
|
||||
version and never trigger an SDK publish.
|
||||
3. The workflow re-runs the SDK's tests, typecheck, build and dual CJS/ESM
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@rmyndharis/openwa",
|
||||
"version": "0.4.0",
|
||||
"version": "0.5.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@openwa/sdk",
|
||||
"version": "0.4.0",
|
||||
"version": "0.5.0",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"typescript": "^5.7.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@rmyndharis/openwa",
|
||||
"version": "0.4.0",
|
||||
"version": "0.5.0",
|
||||
"description": "Official JavaScript/TypeScript SDK for OpenWA WhatsApp API Gateway",
|
||||
"type": "module",
|
||||
"main": "./dist/cjs/index.js",
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ Cutting a release:
|
||||
1. If the minor line changes, update `extra.branch-alias.dev-main` in
|
||||
`composer.json` (e.g. `0.1.x-dev` → `0.2.x-dev`) and land it on `main`. The
|
||||
release workflow refuses to publish when the alias does not match the tag.
|
||||
2. Tag that commit `php-sdk-v<version>` (e.g. `php-sdk-v0.4.0`) and push the
|
||||
2. Tag that commit `php-sdk-v<version>` (e.g. `php-sdk-v0.5.0`) and push the
|
||||
tag. The SDK has its own version line — the monorepo's `v*` tags are the app
|
||||
version and never trigger an SDK release.
|
||||
3. The workflow runs the test suite, then tags the mirror `<version>` (no `v`
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "0.4.x-dev"
|
||||
"dev-main": "0.5.x-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ rejects the upload, so configure it first.
|
||||
Cutting a release:
|
||||
|
||||
1. Bump `version` in `pyproject.toml` and land it on `main`.
|
||||
2. Tag that commit `py-sdk-v<version>` (e.g. `py-sdk-v0.4.0`) and push the tag.
|
||||
2. Tag that commit `py-sdk-v<version>` (e.g. `py-sdk-v0.5.0`) and push the tag.
|
||||
The SDK has its own version line — the monorepo's `v*` tags are the app
|
||||
version and never trigger an SDK publish.
|
||||
3. The workflow re-runs the test suite, builds the sdist and wheel, and
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "rmyndharis-openwa"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
description = "Official Python SDK for OpenWA WhatsApp API Gateway"
|
||||
readme = "README.md"
|
||||
license = { text = "MIT" }
|
||||
|
||||
Reference in New Issue
Block a user