Releases: frikky/schemaless
v0.0.15
Minor debug tweaks
Full Changelog: v0.0.14...v0.0.15
v0.0.14
Fixed reverse translate to work better and be more consistent
What's Changed
- Bump golang.org/x/net from 0.19.0 to 0.23.0 in /backend by @dependabot in #11
- Bump golang.org/x/net from 0.23.0 to 0.38.0 in /backend by @dependabot in #12
- Bump the go_modules group across 2 directories with 4 updates by @dependabot in #15
- Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.35.0 in the go_modules group across 1 directory by @dependabot in #16
Full Changelog: v0.0.13...v0.0.14
v0.0.13
Custom filename mapping for KMS testing
Full Changelog: v0.0.12...v0.0.13
v0.0.12
Full Changelog: v0.0.11...v0.0.12
More cache and file load fixes
v0.0.11
Added a way to map a item to a location in a JSON blob
Full Changelog: v0.0.9...v0.0.11
v0.0.10
Added reversing functions ReverseTranslateStrings(sourcemapstring, newmapstring) and ReverseTranslate(sourcemap, newmap) to handle finding value locations between two JSON bodies. Only handles strings for now
findKeys := `{
"findme": "This is the value to find",
"subkey": {
"findAnother": "This is another value to find",
"subsubkey": {
"findAnother2": "Amazing subsubkey to find"
},
"sublist": [
"This is a list",
"This is a list",
"Cool list item",
"This is a list"
],
"objectlist": [{
"key1": "This is a key"
},
{
"key1": "Another cool thing"
}]
}
}`
// Goal is to FIND the schemaless with key "findme" in the following data
findInData := `{
"key1": "This is the value to find",
"key2": "This is another value to find",
"key3": "Amazing subsubkey to find",
"key4": "Cool list item",
"key5": "Another cool thing"
}`
// Expected output
expectedOutput := `{
"key1": "findme",
"key2": "subkey.findAnother",
"key3": "subkey.subsubkey.findAnother2",
"key5": "subkey.objectlist.#1.key1",
"key4": "subkey.sublist.#2"
}`
reversed, err := ReverseTranslateStrings(findKeys, findInData)
v0.0.9
Cache & Goroutine overusage to make it faaaast
Full Changelog: v0.0.8...v0.0.9
v0.0.8
Org ID referencing to run with correct one at all times for shuffle.go
Full Changelog: v0.0.7...v0.0.8
v0.0.7
Made it work without internet by creating the files whether it works or not. No longer requires OpenAI key - just CAN use it.
Full Changelog: v0.0.6...v0.0.7