Skip to content

Commit 55ffdf6

Browse files
committed
Bumping versions
1 parent 669be69 commit 55ffdf6

6 files changed

Lines changed: 22 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.3.2
4+
5+
### Bug fixes
6+
- Analytics endpoint now returns 404 for nonexistent links instead of 200 with empty data
7+
8+
### Internal
9+
- Extracted shared `ServiceResult` type, `json()`, and `fromServiceResult()` into `src/api/response.ts`, removing duplication across 8 files
10+
- Removed dead `Click` type, unused `incrementClickCount` function, and redundant `top_links` type annotation
11+
- Added 14 API tests: read-scope write denial, create-scope read denial, vanity slug redirects, invalid JSON body handling, and 404s for nonexistent resources
12+
313
## 0.3.1
414

515
- Clarified Workers Builds setup: deploy command, build-time variables, and where to find the D1 database ID

mcp/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the MCP server are documented in this file.
44

5+
## 0.1.2
6+
7+
- Fixed HTTP client error handling: check response status before parsing JSON body to avoid confusing parse errors on non-JSON error responses
8+
59
## 0.1.1
610

711
- Updating documentation.

mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oddbit/shrtnr-mcp",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "MCP server for the shrtnr URL shortener — gives AI assistants access to link management",
55
"license": "Apache-2.0",
66
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shrtnr",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "A free, open-source, self-hosted URL shortener built on Cloudflare Workers + D1",
55
"license": "Apache-2.0",
66
"scripts": {

sdk/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to the SDK are documented in this file.
44

5+
## 0.2.2
6+
7+
- Removed unreachable admin client and internal entry point (dead code)
8+
- Removed unused admin types: `DashboardStats`, `ApiKey`, `CreatedApiKey`, `Settings`, `CreateApiKeyOptions`
9+
510
## 0.2.1
611

712
- Updating documentation.

sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oddbit/shrtnr",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "SDK for the shrtnr URL shortener API",
55
"license": "Apache-2.0",
66
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",

0 commit comments

Comments
 (0)