Skip to content

Commit 4f438fe

Browse files
committed
chore: bump version and add changelog
1 parent 3b90931 commit 4f438fe

2 files changed

Lines changed: 23 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## 1.1.0 - 2026-01-25
6+
7+
### Added
8+
- Test suite for language parsing with Bun.
9+
- CI workflow to run typecheck and tests.
10+
- `LANGUAGE_ALIASES` export and options for `parseSupportedLanguage`.
11+
- `typecheck` and `test` npm scripts.
12+
13+
### Changed
14+
- `parseAcceptLanguage` now normalizes tags, filters invalid or zero `q`, and clamps out-of-range `q` values.
15+
- `parseSupportedLanguage` now supports wildcard tags, normalizes input, and falls back by tag segments.
16+
- `zh-SG` is treated as Simplified Chinese.
17+
18+
### Docs
19+
- Installation instructions now include npm/pnpm/bun.
20+
- Added CI and npm version badges.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@panews/lang",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.mjs",
77
"types": "./dist/index.d.cts",
88
"exports": {
99
".": {
10-
"import": "./dist/index.mjs",
11-
"require": "./dist/index.cjs"
10+
"require": "./dist/index.cjs",
11+
"import": "./dist/index.mjs"
1212
},
1313
"./package.json": "./package.json"
1414
},

0 commit comments

Comments
 (0)