1.7.0
This commit is contained in:
parent
d47279e1ff
commit
34ae007700
11
CHANGELOG.md
11
CHANGELOG.md
@ -2,6 +2,17 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [1.7.0] - 2016-12-29
|
||||||
|
### Added
|
||||||
|
- #104: PDEL command - Selete objects that match a pattern (@GameFreedom)
|
||||||
|
- #99: COMMAND keyword for masking geofences by command type (@amorskoy)
|
||||||
|
- #96: SCAN keyword for roaming geofences
|
||||||
|
- fba34a9: JSET, JGET, JDEL commands
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- #107: Memory leak (@amorskoy)
|
||||||
|
- #98: Output json fix
|
||||||
|
|
||||||
## [1.6.0] - 2016-12-11
|
## [1.6.0] - 2016-12-11
|
||||||
### Added
|
### Added
|
||||||
- #87: Fencing event grouping (@huangpeizhi)
|
- #87: Fencing event grouping (@huangpeizhi)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
width="200" height="200" border="0" alt="Tile38"></a>
|
width="200" height="200" border="0" alt="Tile38"></a>
|
||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/tidwall/tile38/releases"><img src="https://img.shields.io/badge/version-1.6.0-green.svg" alt="Version"></a>
|
<a href="https://github.com/tidwall/tile38/releases"><img src="https://img.shields.io/badge/version-1.7.0-green.svg" alt="Version"></a>
|
||||||
<a href="https://travis-ci.org/tidwall/tile38"><img src="https://travis-ci.org/tidwall/tile38.svg?branch=master" alt="Build Status"></a>
|
<a href="https://travis-ci.org/tidwall/tile38"><img src="https://travis-ci.org/tidwall/tile38.svg?branch=master" alt="Build Status"></a>
|
||||||
<a href="https://hub.docker.com/r/tile38/tile38"><img src="https://img.shields.io/badge/docker-ready-blue.svg" alt="Docker Ready"></a>
|
<a href="https://hub.docker.com/r/tile38/tile38"><img src="https://img.shields.io/badge/docker-ready-blue.svg" alt="Docker Ready"></a>
|
||||||
</p>
|
</p>
|
||||||
|
9
build.sh
9
build.sh
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
VERSION="1.6.0"
|
VERSION="1.7.0"
|
||||||
PROTECTED_MODE="no"
|
PROTECTED_MODE="no"
|
||||||
|
|
||||||
# Hardcode some values to the core package
|
# Hardcode some values to the core package
|
||||||
@ -14,6 +14,13 @@ if [ "$PROTECTED_MODE" == "no" ]; then
|
|||||||
LDFLAGS="$LDFLAGS -X github.com/tidwall/tile38/core.ProtectedMode=no"
|
LDFLAGS="$LDFLAGS -X github.com/tidwall/tile38/core.ProtectedMode=no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$1" == "update-version" ]; then
|
||||||
|
# update the versions in the README.md and Dockerfile
|
||||||
|
sed -i '' "s/version-.\..\../version-$VERSION/g" README.md
|
||||||
|
sed -i '' "s/ENV\ TILE38_VERSION\ .\..\../ENV TILE38_VERSION $VERSION/g" docker/Dockerfile
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
# Check go install
|
# Check go install
|
||||||
if [ "$(which go)" == "" ]; then
|
if [ "$(which go)" == "" ]; then
|
||||||
echo "error: Go is not installed. Please download and follow installation instructions at https://golang.org/dl to continue."
|
echo "error: Go is not installed. Please download and follow installation instructions at https://golang.org/dl to continue."
|
||||||
|
@ -1187,5 +1187,78 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"group": "keys"
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JGET": {
|
||||||
|
"summary": "Get a value from a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "RAW",
|
||||||
|
"name": [],
|
||||||
|
"type": [],
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JSET": {
|
||||||
|
"summary": "Set a value in a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "value",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "RAW",
|
||||||
|
"name": [],
|
||||||
|
"type": [],
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JDEL": {
|
||||||
|
"summary": "Delete a value from a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1349,5 +1349,78 @@ var commandsJSON = `{
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"group": "keys"
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JGET": {
|
||||||
|
"summary": "Get a value from a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "RAW",
|
||||||
|
"name": [],
|
||||||
|
"type": [],
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JSET": {
|
||||||
|
"summary": "Set a value in a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "value",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "RAW",
|
||||||
|
"name": [],
|
||||||
|
"type": [],
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
|
},
|
||||||
|
"JDEL": {
|
||||||
|
"summary": "Delete a value from a JSON document",
|
||||||
|
"complexity": "O(1)",
|
||||||
|
"arguments":[
|
||||||
|
{
|
||||||
|
"name": "key",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "path",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"group": "keys"
|
||||||
}
|
}
|
||||||
}`
|
}`
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
|
|
||||||
ENV TILE38_VERSION 1.6.0
|
ENV TILE38_VERSION 1.7.0
|
||||||
ENV TILE38_DOWNLOAD_URL https://github.com/tidwall/tile38/releases/download/$TILE38_VERSION/tile38-$TILE38_VERSION-linux-amd64.tar.gz
|
ENV TILE38_DOWNLOAD_URL https://github.com/tidwall/tile38/releases/download/$TILE38_VERSION/tile38-$TILE38_VERSION-linux-amd64.tar.gz
|
||||||
|
|
||||||
RUN addgroup -S tile38 && adduser -S -G tile38 tile38
|
RUN addgroup -S tile38 && adduser -S -G tile38 tile38
|
||||||
|
Loading…
x
Reference in New Issue
Block a user