diff --git a/README.md b/README.md index c630078..bfdbe46 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,9 @@ Summary of supported SQL statements: See [supported SQL statements](SQL.md) for details. +> Azure Cosmos DB SQL API currently supports only [SELECT statement](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-query-select). +> `gocosmos` implements other statements by translating the SQL statement to REST API call to [Azure Cosmos DB REST API](https://docs.microsoft.com/en-us/rest/api/cosmos-db/). + ## License MIT - see [LICENSE.md](LICENSE.md). diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 6fdce8f..cd2f43e 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,9 +1,12 @@ # gocosmos release notes -## 2020-12-xx - v0.1.0 +## 2020-12-21 - v0.1.0 First release: -- REST client for Azure Cosmos DB SQL API. +- REST client for Azure Cosmos DB SQL API: + - Database: `Create`, `Get`, `Delete` and `List`. + - Collection: `Create`, `Replace`, `Get`, `Delete` and `List`. + - Document: `Create`, `Replace`, `Get`, `Delete`, `Query` and `List`. - Driver for `database/sql`, supported statements: - Database: `CREATE DATABASE`, `DROP DATABASE`, `LIST DATABASES` - Collection/Table: `CREATE TABLE/COLLECTION`, `DROP TABLE/COLLECTION`, `LIST TABLES/COLLECTIONS` diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..02f1e4f --- /dev/null +++ b/release.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +## Utility script to release project with a tag +## Usage: +## ./release.sh + +if [ "$1" == "" ]; then + echo "Usage: $0 tag-name" + exit -1 +fi + +echo "$1" +git commit -m "$1" +git tag -f -a "$1" -m "$1" +git push origin "$1" -f +git push