diff --git a/CHANGELOG.md b/CHANGELOG.md index 693106e..84e608a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.0] - 2025-12-15 + +### Changed +- **Express 5**: Migrated gateway from Express 4 to Express 5 +- **ESLint 9**: Migrated to ESLint 9 flat config with typescript-eslint 8 +- **Async Error Handling**: Route handlers now use `throw` pattern instead of try/catch blocks +- Added `HttpError` class and `httpError` factory functions for cleaner error handling + +### Updated Dependencies +- `express`: 4.18.2 → 5.0.0 +- `helmet`: 7.1.0 → 8.0.0 +- `@types/express`: 4.17.21 → 5.0.0 +- `eslint`: 8.56.0 → 9.0.0 +- `typescript-eslint`: 7.0.0 → 8.0.0 +- `@atproto/oauth-client-node`: 0.1.0 → 0.3.0 +- `better-sqlite3`: 11.0.0 → 11.6.0 +- `typescript`: 5.3.0 → 5.7.0 +- `vitest`: 1.0.0 → 2.0.0 +- `@types/node`: 20.10.0 → 22.0.0 + +### Improved +- Enabled `projectService` in typescript-eslint for better type-aware linting performance +- Simplified error handling code (~150 lines of boilerplate removed) + ## [1.2.0] - 2025-12-14 ### Added @@ -45,5 +69,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Input validation and sanitization - Rate limiting on all endpoints +[1.3.0]: https://github.com/Cache8063/atauth/compare/v1.2.0...v1.3.0 [1.2.0]: https://github.com/Cache8063/atauth/compare/v1.0.0...v1.2.0 [1.0.0]: https://github.com/Cache8063/atauth/releases/tag/v1.0.0 diff --git a/Cargo.toml b/Cargo.toml index daef28a..5a9f226 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "atauth" -version = "1.2.0" +version = "1.3.0" edition = "2021" authors = ["ATAuth Contributors"] description = "Generic AT Protocol (Bluesky) authentication library for Rust applications" diff --git a/gateway/package.json b/gateway/package.json index 83da66d..f20f3ea 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -1,6 +1,6 @@ { "name": "atauth-gateway", - "version": "1.2.0", + "version": "1.3.0", "description": "AT Protocol OAuth gateway for application authentication", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/ts/package.json b/ts/package.json index 80fa0c1..ef26017 100644 --- a/ts/package.json +++ b/ts/package.json @@ -1,6 +1,6 @@ { "name": "atauth", - "version": "1.2.0", + "version": "1.3.0", "description": "AT Protocol (Bluesky) authentication utilities for TypeScript/JavaScript", "main": "dist/index.js", "module": "dist/index.mjs",