Releases: fumeapp/tonic
Releases · fumeapp/tonic
Updated DynamoIndex
indexResults, err := aws.
DynamoIndex("us-east-1", "table").
Where("PK", "1").
Order("Date").Desc().
Limit(10).
Get(&results)
Dynamo DB Helpers
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
- 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
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
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
Full Changelog: v0.6.0...v0.6.1
Store and expose a unique UUID
v0.6.0 💥 move pooling detection to unique ids per-lambda-instnace
Move our pooling code lower
v0.5.2 🔧 move the pooling detection lower
v0.5.1
Allow and expose connection pooling
Full Changelog: v0.5.0...v0.5.1
fix for hashes
Full Changelog: v0.4.13...v0.4.14