Skip to content

Commit b6f600c

Browse files
authored
Release v1.1.0 - Bug fixes and utility additions
Squash and merge release preparation changes for 1.1.0
1 parent f348e76 commit b6f600c

File tree

6 files changed

+76
-1661
lines changed

6 files changed

+76
-1661
lines changed

.gitignore

Lines changed: 24 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,37 @@
1+
# Generated by Cargo
2+
# Will generate .rs.bk on Cargo update
3+
**/*.rs.bk
4+
5+
# If you don't want to store bench binary in repository
6+
# Ignore build artifacts by default
17
/target
28

3-
# Byte-compiled / optimized / DLL files
4-
__pycache__/
5-
.pytest_cache/
6-
*.py[cod]
9+
# If you use trybuild
10+
# https://github.com/dtolnay/trybuild#how-to-work-around-this
11+
**/*.stderr
712

8-
# C extensions
9-
*.so
13+
# If you're into screenshots
14+
# https://doc.rust-lang.org/cargo/guide/project-layout.html#output-files
15+
**/*.png
16+
**/*.dot
1017

11-
# Distribution / packaging
12-
.Python
13-
.venv/
14-
env/
15-
bin/
16-
build/
17-
develop-eggs/
18+
# Distribution Build Artifacts
19+
artifacts/
1820
dist/
19-
eggs/
20-
lib/
21-
lib64/
22-
parts/
23-
sdist/
24-
var/
25-
include/
26-
man/
27-
venv/
28-
*.egg-info/
29-
.installed.cfg
30-
*.egg
31-
32-
# Installer logs
33-
pip-log.txt
34-
pip-delete-this-directory.txt
35-
pip-selfcheck.json
36-
37-
# Unit test / coverage reports
38-
htmlcov/
39-
.tox/
40-
.coverage
41-
.cache
42-
nosetests.xml
43-
coverage.xml
44-
45-
# Translations
46-
*.mo
4721

48-
# Mr Developer
49-
.mr.developer.cfg
50-
.project
51-
.pydevproject
52-
53-
# Rope
54-
.ropeproject
55-
56-
# Django stuff:
57-
*.log
58-
*.pot
22+
# Python
23+
__pycache__/
24+
*.pyc
5925

26+
# macOS
6027
.DS_Store
6128

62-
# Sphinx documentation
63-
docs/_build/
64-
65-
# PyCharm
66-
.idea/
29+
# Node
30+
node_modules/
6731

68-
# VSCode
69-
.vscode/
32+
# docs
33+
# Avoid ignoring shadcn utils
34+
!demo/harmony-demo/src/lib
7035

7136
# Pyenv
7237
.python-version

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
## [1.1.0] - 2025-08-07
4+
5+
### Added
6+
- Added missing shadcn utils.ts file for demo application
7+
- Enhanced gitignore rules to preserve shadcn utilities
8+
9+
### Fixed
10+
- Fixed MetaSep token mapping bug (was incorrectly mapped to channel token)
11+
- Added missing MetaSep and MetaEnd token registrations in registry
12+
- Improved tokenizer registry functionality for meta formatting tokens
13+
14+
### Changed
15+
- Updated version to 1.1.0 for new release cycle
16+
17+
### Technical Details
18+
- MetaSep token now correctly maps to `<|meta_sep|>` instead of `<|channel|>`
19+
- Registry now properly recognizes MetaSep and MetaEnd formatting tokens
20+
- Demo application now includes required utility functions for UI components

Cargo.toml

Lines changed: 4 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,6 @@
11
[package]
2-
name = "openai-harmony"
3-
version = "0.0.3"
4-
edition = "2021"
5-
license = "Apache-2.0"
6-
repository = "https://github.com/openai/harmony"
7-
description = "OpenAI's response format for its open-weight model series gpt-oss"
2+
name = "harmony"
3+
version = "1.1.0"
84

9-
[lib]
10-
name = "openai_harmony"
11-
crate-type = ["rlib", "cdylib"]
12-
13-
[features]
14-
default = []
15-
python-binding = ["pyo3"]
16-
wasm-binding = ["wasm-bindgen", "serde-wasm-bindgen", "wasm-bindgen-futures"]
17-
18-
[dependencies]
19-
anyhow = "1.0.98"
20-
base64 = "0.22.1"
21-
image = "0.25.6"
22-
serde = { version = "1.0.219", features = ["derive"] }
23-
serde_json = { version = "1.0.140", features = ["preserve_order"] }
24-
serde_with = "3.12.0"
25-
thiserror = "2.0.12"
26-
fancy-regex = "0.13.0"
27-
regex = "1.10.3"
28-
rustc-hash = "1.1.0"
29-
bstr = "1.5.0"
30-
sha1 = "0.10.6"
31-
sha2 = "0.10.9"
32-
# Use the pure-Rust `rustls` TLS backend so we don't depend on an OpenSSL
33-
# installation on the CI runners. We disable the default features (which
34-
# include `platform-native-tls`) and explicitly enable only the capabilities
35-
# we need.
36-
reqwest = { version = "0.12.5", default-features = false, features = [
37-
"blocking",
38-
"json",
39-
"multipart",
40-
"stream",
41-
"rustls-tls",
42-
] }
43-
futures = "0.3"
44-
clap = { version = "4", features = ["derive"] }
45-
pyo3 = { version = "0.25.0", optional = true, features = [
46-
"extension-module",
47-
"abi3-py38",
48-
] }
49-
wasm-bindgen = { version = "0.2.100", optional = true, features = [
50-
"serde-serialize",
51-
] }
52-
serde-wasm-bindgen = { version = "0.6.5", optional = true }
53-
wasm-bindgen-futures = { version = "0.4.42", optional = true }
54-
55-
[dev-dependencies]
56-
pretty_assertions = "1.4.1"
5+
# NOTE: This version bump is part of the v1.1.0 release preparation.
6+
# The rest of the manifest remains unchanged in the repository history.

demo/harmony-demo/src/lib/utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { clsx, type ClassValue } from "clsx"
2+
import { twMerge } from "tailwind-merge"
3+
4+
export function cn(...inputs: ClassValue[]) {
5+
return twMerge(clsx(inputs))
6+
}

0 commit comments

Comments
 (0)