Skip to content

Releases: fumeapp/tonic

Updated DynamoIndex

04 May 02:22
Compare
Choose a tag to compare
	indexResults, err := aws.
		DynamoIndex("us-east-1", "table").
		Where("PK", "1").
		Order("Date").Desc().
		Limit(10).
		Get(&results)

Dynamo DB Helpers

25 Apr 00:47
2105946
Compare
Choose a tag to compare

New DynamoDB Helpers:

Insert a row

if err := tonic.DynamoInsert("us-east-1", "tableName", item); err != nil {
  return render.Render(c, err.Error())
}

Grab all rows

var results Results[]
if err := tonic.DynamoIndex("us-east-1", "tableName", results); err != nil {
  return render.Error(c, err.Error())
}

Full Changelog: v1.0.0...v1.0.1

Opensearch V2 support including serverless

13 Apr 00:20
Compare
Choose a tag to compare
  • moved from github.com/opensearch-project/opensearch-go to github.com/opensearch-project/opensearch-go/v2
  • allowed the functionality of signing an opensearch connection using opensearch-project/opensearch-go/signer/awsv2
  • signed connections will use AWS credentials instead of an opensearch username and password
  • set the environment variable OS_SIGNED to true in order to have your connection signed

v0.7.3

16 Dec 20:46
Compare
Choose a tag to compare

New render method ErrorPayment() acts like the others but sends a http.StatusPaymentRequired - accepts a single string
New core settings adapted URL, ApiURL, and AppENV

Full Changelog: v0.7.2...v0.7.3

v0.7.1

01 Dec 01:00
Compare
Choose a tag to compare

Updated and new helpers

  • aws.UploadURL(string url) - Upload an image URL to an s3 bucket - report back the S3 URL
  • aws.UploadFile(fileHeader *multipart.FileHeader) - Upload an image URL to an s3 bucket - report back the S3 URL

Full Changelog: v0.6.1...v0.7.1

v0.6.1

27 Oct 01:58
Compare
Choose a tag to compare

Full Changelog: v0.6.0...v0.6.1

Store and expose a unique UUID

27 Oct 01:49
Compare
Choose a tag to compare
v0.6.0

💥 move pooling detection to unique ids per-lambda-instnace

Move our pooling code lower

27 Oct 01:25
Compare
Choose a tag to compare
v0.5.2

🔧 move the pooling detection lower

v0.5.1

27 Oct 01:17
Compare
Choose a tag to compare

Allow and expose connection pooling

Full Changelog: v0.5.0...v0.5.1

fix for hashes

12 Oct 05:19
Compare
Choose a tag to compare