Skip to content

Commit 0ea1e3b

Browse files
committed
chore: bump version to 1.0.1 and update license from Apache-2.0 to MIT.
1 parent 4b6fe05 commit 0ea1e3b

File tree

7 files changed

+23
-17
lines changed

7 files changed

+23
-17
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.1] - 2025-11-26
9+
10+
### Changed
11+
- Changed license from Apache-2.0 to MIT
12+
- Updated documentation to reflect license change
13+
814
## [1.0.0] - 2025-11-26
915

1016
### Added

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# ZON Format v1.0.0 - TypeScript/JavaScript
1+
# ZON Format v1.0.1 - TypeScript/JavaScript
22

33
**Zero Overhead Notation** - A human-readable data serialization format optimized for LLM token efficiency, JSON for LLMs.
44

55
[![npm version](https://img.shields.io/npm/v/zon-format.svg)](https://www.npmjs.com/package/zon-format)
66
[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org/)
7-
[![License](https://img.shields.io/badge/license-Apache--2.0-orange.svg)](LICENSE)
7+
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
88

99
> 🚀 **14% better compression than TOON** | 📊 **30-67% compression vs JSON** | 🔍 **100% Human Readable**
1010
@@ -171,7 +171,7 @@ Encodes a JavaScript object or array into a ZON-formatted string.
171171

172172
**Parameters:**
173173
- `data` (any): The input data to encode. Must be JSON-serializable (object, array, string, number, boolean, null).
174-
- `anchorInterval` (number, optional): Legacy parameter, defaults to 50. Not used in v1.0.0.
174+
- `anchorInterval` (number, optional): Legacy parameter, defaults to 50. Not used in v1.0.1.
175175

176176
**Returns:**
177177
- `string`: The ZON-encoded string.
@@ -402,7 +402,7 @@ This is a port of the original Python implementation. Contributions are welcome!
402402

403403
## 📄 License
404404

405-
**Apache-2.0 License**
405+
**MIT License**
406406

407407
Copyright (c) 2025 Roni Bhakta. All Rights Reserved.
408408

@@ -427,4 +427,4 @@ See [LICENSE](LICENSE) for full terms.
427427

428428
**Made with ❤️ for the LLM community**
429429

430-
*ZON v1.0.0 - Compression that scales with complexity*
430+
*ZON v1.0.1 - Compression that scales with complexity*

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* ZON Protocol Constants v1.0.0 (ClearText)
2+
* ZON Protocol Constants v1.0.1 (ClearText)
33
*/
44

5-
export const VERSION = "1.0.0";
5+
export const VERSION = "1.0.1";
66

77
// Format markers
88
export const TABLE_MARKER = "@"; // @hikes(3): col1, col2

src/decoder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* ZON Decoder v1.0.0 - ClearText Format
2+
* ZON Decoder v1.0.1 - ClearText Format
33
*
44
* This decoder parses clean, document-style ZON with YAML-like metadata
55
* and CSV-like tables using @table syntax.
@@ -18,7 +18,7 @@ interface TableInfo {
1818

1919
export class ZonDecoder {
2020
/**
21-
* Decode ZON v1.0.0 ClearText format to original data structure.
21+
* Decode ZON v1.0.1 ClearText format to original data structure.
2222
*/
2323
decode(zonStr: string): any {
2424
if (!zonStr) {
@@ -557,7 +557,7 @@ export class ZonDecoder {
557557
}
558558

559559
/**
560-
* Convenience function to decode ZON v1.0.0 format to original data.
560+
* Convenience function to decode ZON v1.0.1 format to original data.
561561
*/
562562
export function decode(data: string): any {
563563
return new ZonDecoder().decode(data);

src/encoder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* ZON Encoder v1.0.0 - ClearText Format
2+
* ZON Encoder v1.0.1 - ClearText Format
33
*
44
* This encoder produces clean, document-style output with YAML-like metadata
55
* and CSV-like tables using @table syntax.
@@ -41,7 +41,7 @@ export class ZonEncoder {
4141
}
4242

4343
/**
44-
* Encode data to ZON v1.0.0 ClearText format.
44+
* Encode data to ZON v1.0.1 ClearText format.
4545
*/
4646
encode(data: any): string {
4747
// 1. Root Promotion: Separate metadata from stream
@@ -472,7 +472,7 @@ export class ZonEncoder {
472472
}
473473

474474
/**
475-
* Convenience function to encode data to ZON v1.0.0 format.
475+
* Convenience function to encode data to ZON v1.0.1 format.
476476
*/
477477
export function encode(data: any, anchorInterval: number = DEFAULT_ANCHOR_INTERVAL): string {
478478
return new ZonEncoder(anchorInterval).encode(data);

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* ZON Format v1.0.0
2+
* ZON Format v1.0.1
33
* Zero Overhead Notation - A human-readable data serialization format
44
* optimized for LLM token efficiency
55
*/

0 commit comments

Comments
 (0)