Skip to content

Releases: codenotary/immugw

v1.3.1

06 Nov 13:16
00d43ca
Compare
Choose a tag to compare

Changelog

[v1.3.1] - 2023-07-27

Bug Fixes

  • pkg/gw: serverinfo endpoint is not bounded to any particular database (#33)

Changes

  • README: update swagger usage in README (#30)
  • pkg/gw: support multiple kv pairs in set endpoint (#34)

Downloads

Docker image
https://hub.docker.com/r/codenotary/immugw

immugw-v1.3.1-darwin-amd64 | 3b462c15450505c2d8ee3e8bda08dbbf29e90408c42b3287a98eaad132afec6f
immugw-v1.3.1-freebsd-amd64 | 99167f0d3469199887fa0d43eef480936239c892858a461efcaf9cae56ddc91e
immugw-v1.3.1-linux-amd64 | 4d72f9003046554b379f5fe86792fc07ff2081dc4473fb547a2ae6c946829b23
immugw-v1.3.1-linux-amd64-static | 8b701041d8f69fa7ae0db068f011ffccf1d701c44ba33a8948556fcb19af4c14
immugw-v1.3.1-linux-arm64 | 95fa9a496a868386c556382a100102769bef3373158ab7b247151316fe8679db
immugw-v1.3.1-linux-s390x | 50fe9b8d811d459ee947c836dc62750a2602635c1ebdada83f1e1e897b898ec5
immugw-v1.3.1-windows-amd64.exe | 25dc76e2d94500a14447e2e45176b737c7a84619d79a9cca1b1a9d4bd3d0342b

v1.3.0

07 Dec 10:36
df2e512
Compare
Choose a tag to compare

immugw [1.3.0]

Important: immugw 1.3.0 contains a breaking change. Review the breaking changes before attempting to upgrade.

This release adds support to handle concurrent requests to multiple databases. This requires a major change in the API endpoints. As this release has a breaking change, users are advised to review the breaking change to determine whether configuration changes are needed when upgrading.

Feature

  • Added support for multiple database handlers in the API. Concurrent requests to multiple databases were not supported prior to this release, but now you can easily send simultaneous requests to multiple databases

Breaking change

  • The API base endpoints has changed from from /db/x/y to /db/{database_name}/x/y.
    GET/POST requests on immugw would need to specify the database name in the URL path. #21. If you have scripts that make GET/POST requests to endpoints /db/x/y, change them to add the database name in the URL /db/{database_name}/x/y before updating to 1.3.0.

Test Setup

Run immudb

You can find instructions to run immudb here

./immudb

Run immugw

You can find instructions to run immugw here

./immugw

CURL examples

Login
curl --location --request POST '127.0.0.1:3323/login' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user": "aW1tdWRi",
    "password": "aW1tdWRi"
}' | jq .token
Use Database
  • Use token from the Login step
curl --location --request GET '127.0.0.1:3323/db/use/defaultdb' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{token}}' | jq .token
Verified Set
  • Use token from the Use Database step
curl --location --request POST '127.0.0.1:3323/db/defaultdb/verified/set' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{token}}' \
--data-raw '{
  "setRequest": {
    "KVs": [
      {
        "key": "a2V5MQ==",
           "value": "dmFsMQ=="
      }
    ]
  }
}'
Verified Get
  • Use token from the Use Database step
curl --location --request POST '127.0.0.1:3323/db/defaultdb/verified/get' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{token}}' \
--data-raw '{
  "keyRequest": {
    "key": "a2V5MQ=="
  }
}'

Changelog

  • fixed bug for database corruption error when concurrency requests are sent to immugw for multiple databases
  • api urls changed from /db/x/y to /db/{database_name}/x/y (BREAKING CHANGE)
  • fix(ci): secure docker login command for password by @arriqaaq in #24
  • WIP: (feat) multidatabase handler support by @arriqaaq in #25

Full Changelog: v1.2.0...v1.3.0-RC1

Downloads

Docker image
https://hub.docker.com/r/codenotary/immugw

immugw Binaries

File SHA256
immugw-v1.3.0-darwin-amd64 b5dcce8ef1e5eaa26dcab5a94bbd65ea9b9fd03fe0075fabcaa14d3e6a9385b9
immugw-v1.3.0-freebsd-amd64 67bb64c7658a05c0f64696e83ccb41a4e588af2ee1df8f6097fd9f178306606c
immugw-v1.3.0-linux-amd64 a6d08317aca6bcdf8abb62e8121033173b24559343d54bf06ec7cd76bd18f6ee
immugw-v1.3.0-linux-amd64-static a5b7638419ed738aff3512b58b76e32a2d692613692f69f5d8c996b2cc8bb3e5
immugw-v1.3.0-linux-arm64 f04c3fb8796dde9bac54f7247ac7d7ad35d8d5f62370145ec8c4dd7e41a2cd2b
immugw-v1.3.0-linux-s390x 38ad0fed01e3089c1bcd73bdeb6474b74b967a389597aa493fc893048bba0af3
immugw-v1.3.0-windows-amd64.exe ebba04fd33c2c2919acd60ba52f4ce7dda4171421fe1ebbd75018bf7356c2478

v1.3.0-RC1

05 Dec 06:27
Compare
Choose a tag to compare
v1.3.0-RC1 Pre-release
Pre-release

Changelog

  • fixed bug for database corruption error when concurrency requests are sent to immugw for multiple databases
  • api urls changed from /db/x/y to /db/{database_name}/x/y (BREAKING)
  • fix(ci): secure docker login command for password by @arriqaaq in #24
  • WIP: (feat) multidatabase handler support by @arriqaaq in #25

Full Changelog: v1.2.0...v1.3.0-RC1

Downloads

Docker image
https://hub.docker.com/r/codenotary/immugw

immugw Binaries

File SHA256
immugw-v1.3.0-RC1-darwin-amd64 c407d78d55476c141bc6b01c6bcded042a10bc670a6de6d53f24c5b52213f1e2
immugw-v1.3.0-RC1-freebsd-amd64 c6a82777ed0cadf96d600f4b11d7d5a89eb316ec206eb2ac23ef84b1c6ec55f7
immugw-v1.3.0-RC1-linux-amd64 21a41f4fcda7f82edd41d5957e8247cce4e45dc0044396117166db12dd36575b
immugw-v1.3.0-RC1-linux-amd64-static 37e9f88946ede14493656ef8f05b63fdba83976f250322645184cae5a4e4b92d
immugw-v1.3.0-RC1-linux-arm64 29c08a6a21d9e13abd43e4276935b38e62a034b7217de2143bd746d9d1461b94
immugw-v1.3.0-RC1-linux-s390x 0bd085be7905251aa415ee10bb2e59db907f86dc5c94baad9f13eba9228a30ae
immugw-v1.3.0-RC1-windows-amd64.exe 61ae36b4ea118d9d9f4be7525e53438de6337f257aa78eb775d60c1504d0b36b

v1.2.0

17 Oct 08:58
Compare
Choose a tag to compare

Changelog

Downloads

Docker image
https://hub.docker.com/r/codenotary/immugw

immugw Binaries

File SHA256
immugw-v1.2.0-darwin-amd64 456380aa186c67a0b3b2ed8301f485ebe51030252036c841a907700da0758c51
immugw-v1.2.0-freebsd-amd64 dedbf3b2707a485694e8d20bac612f0096947cd39628adf3b8f1240b008a5458
immugw-v1.2.0-linux-amd64 b983b0cd8c7d47080bf46c565f1b30d3272e6a1daaff520dc892cbc6b764ca33
immugw-v1.2.0-linux-amd64-static 60b3909a9891fd62133945eba05ba6041c6dd81609b307d75a7cf74cf05c17e1
immugw-v1.2.0-linux-arm64 b55c92c9550ea3afcb2418a758a42729706d8ec783af19445dba20061e8aa906
immugw-v1.2.0-linux-s390x da93ad5cb8676cf4884aa2ab2880ff50d8449001dff8a8e158b94ceecdba4bac
immugw-v1.2.0-windows-amd64.exe 84bbaa02ffdd98d6c58dee219db059094fa570f2da836df9cc991eadd5d21e95

1.1.0

29 Oct 08:03
Compare
Choose a tag to compare

Support for immudb 1.1.0
Exposed verify row method

File SHA256
immugw-v1.1.0-darwin-amd64 f431d3aa947505d94605c3ebdb80bbf1eda1baa65caac5f962c94dd2016e2a7b
immugw-v1.1.0-freebsd-amd64 d5d6cf1ae7a226b69ea2418897d6910cda9c708b1d4d394e24516d9f0e25ebfb
immugw-v1.1.0-linux-amd64 4fd82a37a97bbeaf1593d2f48ee51e6390c8c4248e4712a78c5f8974ebd36d14
immugw-v1.1.0-linux-amd64-static 38ddf4e1baa5253fb0fae12805a34744f8175e7ac8581d7339144e88f1d48ced
immugw-v1.1.0-linux-arm64 fb1ac865ea0374cce80a6c930b0ea791d0ce5f422a050a96de9f7e304b9f9f0f
immugw-v1.1.0-linux-s390x c8a951fd09d88f01bf88894c27320666aede8e190fa783737ed0f2ef8790f3a6
immugw-v1.1.0-windows-amd64.exe 18648b8b5c382846b0512d0776f80f473735e4ad6b7d6d76f228b3f35139b119

v1.0.5

25 Aug 08:57
Compare
Choose a tag to compare

[v1.0.5] - 2021-08-25

Changes

  • bump immudb version
  • add coverall
  • remove codecov and fix go.mod
  • immugw support immudb 0.9.x family
  • upgrading for compatibility with immudb at 888ed37bf6cc
  • pkg/api: clean obsolete swagger
  • pkg/gw: handle corrupted data as 409 status conflict error

v0.9.2-RC1

26 Apr 19:41
Compare
Choose a tag to compare
release: v0.9.2-RC1