Skip to content

Commit 6a30aed

Browse files
committed
Converted to semver
1 parent d8766f2 commit 6a30aed

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,14 @@ In the following definitions, `type` means the binary type format.
604604
- `index` of value in buffer (note: if buffer contains both a type and a value, this index is relative to the start of the value data) - 32-bit unsigned integer
605605

606606
## Versioning
607-
Versions will be of the form `x.y.z`.
608-
`x` is the major release; changes to it represent significant or breaking changes to the API. Before the full release, it was `0`.
609-
`y` is the minor release; changes to it represent bug-fixing, non-breaking releases.
610-
`z` is the version of the type and value specification, which is independent of the API version. It should match the version set in `config.js`.
607+
Versions will be of the form `x.y.z`. They are in the `semver` format:
608+
609+
- `x` is the major release; changes to it represent significant or breaking changes to the API, or to the type or value binary specification.
610+
- `y` is the minor release; changes to it represent new features that do not break backwards compatibility.
611+
- `z` is the patch release; changes to it represent bug fixes that do not change the documented API.
611612

612613
## Testing
613614
To test the Node.js code, run `npm test`.
614615
To test the HTTP transaction code, run `node client-test/server.js` and open `localhost:8080` in your browser. Open each link in a new page. `Upload` and `Download` should each alert `Success`, while `Upload & Download` should alert `Upload: Success` and `Download: Success`.
615616

616-
_Caleb Sander, 2016_
617+
_Caleb Sander, 2017_

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "structure-bytes",
3-
"version": "4.0.11",
3+
"version": "15.0.0",
44
"description": "A library for more efficient data transfers by separating the structure from the values and storing each as binary data",
55
"main": "dist/index.js",
66
"dependencies": {

0 commit comments

Comments
 (0)