Skip to content

Commit

Permalink
feat: split into encoders and decoders
Browse files Browse the repository at this point in the history
  • Loading branch information
yamiteru committed May 29, 2024
1 parent 0811d93 commit 2126c4d
Show file tree
Hide file tree
Showing 50 changed files with 6,942 additions and 1,875 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.DS_Store
.idea
.vscode
.yarn

dist
node_modules
Expand Down
90 changes: 60 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,87 +1,117 @@
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.
All notable changes to this project will be documented in this file. Dates are
displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.5.0](https://github.com/the-minimal/protocol/compare/0.4.0...0.5.0)

- feat: simplify buffer pool [`2031dba`](https://github.com/the-minimal/protocol/commit/2031dba429d446f2eca0c2c6a18c2599e677f49d)
- feat: use bitmasked binary rounded to the nearest 2 [`9ca3f51`](https://github.com/the-minimal/protocol/commit/9ca3f51a619c0b9cc47f8bf6944423eb12288658)
- feat: even more bits [`7a3b2f2`](https://github.com/the-minimal/protocol/commit/7a3b2f2e98974cb40dbec52f454854e59db7355a)
- feat: simplify buffer pool
[`2031dba`](https://github.com/the-minimal/protocol/commit/2031dba429d446f2eca0c2c6a18c2599e677f49d)
- feat: use bitmasked binary rounded to the nearest 2
[`9ca3f51`](https://github.com/the-minimal/protocol/commit/9ca3f51a619c0b9cc47f8bf6944423eb12288658)
- feat: even more bits
[`7a3b2f2`](https://github.com/the-minimal/protocol/commit/7a3b2f2e98974cb40dbec52f454854e59db7355a)

#### [0.4.0](https://github.com/the-minimal/protocol/compare/0.3.0...0.4.0)

> 18 May 2024
- fix: exports [`4b72e8b`](https://github.com/the-minimal/protocol/commit/4b72e8be8121167dbf9365164f02853d40720f4c)
- Release 0.4.0 [`d896b66`](https://github.com/the-minimal/protocol/commit/d896b66a24765a4a93a936a534cdead8cd27762f)
- fix: test [`b4ed795`](https://github.com/the-minimal/protocol/commit/b4ed7950bfabe26a57f268725a3428c1a65289db)
- fix: exports
[`4b72e8b`](https://github.com/the-minimal/protocol/commit/4b72e8be8121167dbf9365164f02853d40720f4c)
- Release 0.4.0
[`d896b66`](https://github.com/the-minimal/protocol/commit/d896b66a24765a4a93a936a534cdead8cd27762f)
- fix: test
[`b4ed795`](https://github.com/the-minimal/protocol/commit/b4ed7950bfabe26a57f268725a3428c1a65289db)

#### [0.3.0](https://github.com/the-minimal/protocol/compare/0.2.0...0.3.0)

> 18 May 2024
- feat: split code into different JS files [`b493eb5`](https://github.com/the-minimal/protocol/commit/b493eb578390e9bb404aebe011b4f66f47791fae)
- feat: add estimate for all tests + fix bugs [`117b638`](https://github.com/the-minimal/protocol/commit/117b638ee6a5ce18fea9fac96ecf6b22703ffa39)
- feat: merge type and props into enum variants [`046ae2e`](https://github.com/the-minimal/protocol/commit/046ae2e5453263999dc5408352c806c1dadd09d7)
- feat: split code into different JS files
[`b493eb5`](https://github.com/the-minimal/protocol/commit/b493eb578390e9bb404aebe011b4f66f47791fae)
- feat: add estimate for all tests + fix bugs
[`117b638`](https://github.com/the-minimal/protocol/commit/117b638ee6a5ce18fea9fac96ecf6b22703ffa39)
- feat: merge type and props into enum variants
[`046ae2e`](https://github.com/the-minimal/protocol/commit/046ae2e5453263999dc5408352c806c1dadd09d7)

#### [0.2.0](https://github.com/the-minimal/protocol/compare/0.1.3...0.2.0)

> 12 May 2024
- feat: rename name to type [`eeaefec`](https://github.com/the-minimal/protocol/commit/eeaefecbcc0e1c47c622efded7b8a13743989e80)
- feat: update README [`c70ee2a`](https://github.com/the-minimal/protocol/commit/c70ee2a9a538783483340a8368c73b10e3ea0ba3)
- Release 0.2.0 [`6f4dfa8`](https://github.com/the-minimal/protocol/commit/6f4dfa8f6b55f04e1574d1ef05de656af954661a)
- feat: rename name to type
[`eeaefec`](https://github.com/the-minimal/protocol/commit/eeaefecbcc0e1c47c622efded7b8a13743989e80)
- feat: update README
[`c70ee2a`](https://github.com/the-minimal/protocol/commit/c70ee2a9a538783483340a8368c73b10e3ea0ba3)
- Release 0.2.0
[`6f4dfa8`](https://github.com/the-minimal/protocol/commit/6f4dfa8f6b55f04e1574d1ef05de656af954661a)

#### [0.1.3](https://github.com/the-minimal/protocol/compare/0.1.2...0.1.3)

> 9 May 2024
- feat: use object for enums [`aafbd02`](https://github.com/the-minimal/protocol/commit/aafbd027c2546859730201b4392c653f5f43e15d)
- Release 0.1.3 [`29e9dbd`](https://github.com/the-minimal/protocol/commit/29e9dbd70ace5190e3c16f6f3ffc1c6d7b656a42)
- feat: use object for enums
[`aafbd02`](https://github.com/the-minimal/protocol/commit/aafbd027c2546859730201b4392c653f5f43e15d)
- Release 0.1.3
[`29e9dbd`](https://github.com/the-minimal/protocol/commit/29e9dbd70ace5190e3c16f6f3ffc1c6d7b656a42)

#### [0.1.2](https://github.com/the-minimal/protocol/compare/0.1.1...0.1.2)

> 8 May 2024
- feat: add error handling [`c3cfd20`](https://github.com/the-minimal/protocol/commit/c3cfd20eda95ae0b7a673d1d3285d42fe134fc61)
- feat: add error handling [`edfa1dc`](https://github.com/the-minimal/protocol/commit/edfa1dcc3d82a933f493f1babea74041181c370d)
- Release 0.1.2 [`da1dc89`](https://github.com/the-minimal/protocol/commit/da1dc8908a6f42e3e6e6635e2e55e111a4423b7a)
- feat: add error handling
[`c3cfd20`](https://github.com/the-minimal/protocol/commit/c3cfd20eda95ae0b7a673d1d3285d42fe134fc61)
- feat: add error handling
[`edfa1dc`](https://github.com/the-minimal/protocol/commit/edfa1dcc3d82a933f493f1babea74041181c370d)
- Release 0.1.2
[`da1dc89`](https://github.com/the-minimal/protocol/commit/da1dc8908a6f42e3e6e6635e2e55e111a4423b7a)

#### [0.1.1](https://github.com/the-minimal/protocol/compare/0.1.0...0.1.1)

> 6 May 2024
- feat: move types into files [`3b9bbb2`](https://github.com/the-minimal/protocol/commit/3b9bbb2482a7bf521954655a81ac33ada75ef5a9)
- Release 0.1.1 [`3a19cc5`](https://github.com/the-minimal/protocol/commit/3a19cc53e4fac9c48ade95972ab2374ecf359233)
- feat: move types into files
[`3b9bbb2`](https://github.com/the-minimal/protocol/commit/3b9bbb2482a7bf521954655a81ac33ada75ef5a9)
- Release 0.1.1
[`3a19cc5`](https://github.com/the-minimal/protocol/commit/3a19cc53e4fac9c48ade95972ab2374ecf359233)

#### [0.1.0](https://github.com/the-minimal/protocol/compare/0.0.3...0.1.0)

> 5 May 2024
- feat: use enums where possible [`78690e8`](https://github.com/the-minimal/protocol/commit/78690e8cf2b45861b2470d8ba66d36b2d7b2f73f)
- Release 0.1.0 [`054674d`](https://github.com/the-minimal/protocol/commit/054674da16fe8f7067517e1141df25250acd4a44)
- feat: use enums where possible
[`78690e8`](https://github.com/the-minimal/protocol/commit/78690e8cf2b45861b2470d8ba66d36b2d7b2f73f)
- Release 0.1.0
[`054674d`](https://github.com/the-minimal/protocol/commit/054674da16fe8f7067517e1141df25250acd4a44)

#### [0.0.3](https://github.com/the-minimal/protocol/compare/0.0.2...0.0.3)

> 5 May 2024
- feat: add utf8 encoding/decoding [`f933b56`](https://github.com/the-minimal/protocol/commit/f933b5603439e94271b3e9813793ebf8c9a10d72)
- Release 0.0.3 [`48e0de3`](https://github.com/the-minimal/protocol/commit/48e0de31c6b86e75a1f5280a062f263db6fe92b7)
- feat: add utf8 encoding/decoding
[`f933b56`](https://github.com/the-minimal/protocol/commit/f933b5603439e94271b3e9813793ebf8c9a10d72)
- Release 0.0.3
[`48e0de3`](https://github.com/the-minimal/protocol/commit/48e0de31c6b86e75a1f5280a062f263db6fe92b7)

#### [0.0.2](https://github.com/the-minimal/protocol/compare/0.0.1...0.0.2)

> 5 May 2024
- feat: add Infer [`d27a995`](https://github.com/the-minimal/protocol/commit/d27a9956cbe0530fdf8f7d5d2de275c761c569fb)
- feat: update readme [`15c724c`](https://github.com/the-minimal/protocol/commit/15c724c83324da5c9ceca0be5cfc4bdfbbcfc391)
- Release 0.0.2 [`ee94846`](https://github.com/the-minimal/protocol/commit/ee94846f00a192b82524e122378d6c415cd5998e)
- feat: add Infer
[`d27a995`](https://github.com/the-minimal/protocol/commit/d27a9956cbe0530fdf8f7d5d2de275c761c569fb)
- feat: update readme
[`15c724c`](https://github.com/the-minimal/protocol/commit/15c724c83324da5c9ceca0be5cfc4bdfbbcfc391)
- Release 0.0.2
[`ee94846`](https://github.com/the-minimal/protocol/commit/ee94846f00a192b82524e122378d6c415cd5998e)

#### 0.0.1

> 4 May 2024
- feat: get rid of allocations [`cd79cdb`](https://github.com/the-minimal/protocol/commit/cd79cdbf611d45ab6acd4cb06715739ac4ffebe9)
- feat: add tests [`870f232`](https://github.com/the-minimal/protocol/commit/870f232689b8a6c7e147a41ac5d93cac1d999000)
- feat: first draft [`3c8c634`](https://github.com/the-minimal/protocol/commit/3c8c634415fbee29455d5189e1d60d565ebbea7c)
- feat: get rid of allocations
[`cd79cdb`](https://github.com/the-minimal/protocol/commit/cd79cdbf611d45ab6acd4cb06715739ac4ffebe9)
- feat: add tests
[`870f232`](https://github.com/the-minimal/protocol/commit/870f232689b8a6c7e147a41ac5d93cac1d999000)
- feat: first draft
[`3c8c634`](https://github.com/the-minimal/protocol/commit/3c8c634415fbee29455d5189e1d60d565ebbea7c)
Loading

0 comments on commit 2126c4d

Please sign in to comment.