From 6a30aed4d7e3ff509692e8199c5edf8907e6f0ac Mon Sep 17 00:00:00 2001 From: Caleb Sander Date: Mon, 4 Sep 2017 11:17:11 -0400 Subject: [PATCH] Converted to semver --- README.md | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e81921c..7a7292c 100644 --- a/README.md +++ b/README.md @@ -604,13 +604,14 @@ In the following definitions, `type` means the binary type format. - `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 ## Versioning -Versions will be of the form `x.y.z`. -`x` is the major release; changes to it represent significant or breaking changes to the API. Before the full release, it was `0`. -`y` is the minor release; changes to it represent bug-fixing, non-breaking releases. -`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`. +Versions will be of the form `x.y.z`. They are in the `semver` format: + +- `x` is the major release; changes to it represent significant or breaking changes to the API, or to the type or value binary specification. +- `y` is the minor release; changes to it represent new features that do not break backwards compatibility. +- `z` is the patch release; changes to it represent bug fixes that do not change the documented API. ## Testing To test the Node.js code, run `npm test`. 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`. -_Caleb Sander, 2016_ \ No newline at end of file +_Caleb Sander, 2017_ \ No newline at end of file diff --git a/package.json b/package.json index 0cec33d..c84c312 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "structure-bytes", - "version": "4.0.11", + "version": "15.0.0", "description": "A library for more efficient data transfers by separating the structure from the values and storing each as binary data", "main": "dist/index.js", "dependencies": {