Skip to content

Releases: frikky/schemaless

v0.0.13

16 Jun 23:37
Compare
Choose a tag to compare

Custom filename mapping for KMS testing

Full Changelog: v0.0.12...v0.0.13

v0.0.12

16 May 23:27
Compare
Choose a tag to compare

Full Changelog: v0.0.11...v0.0.12

More cache and file load fixes

v0.0.11

13 May 02:59
Compare
Choose a tag to compare

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

11 May 22:03
Compare
Choose a tag to compare

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

21 Apr 20:17
Compare
Choose a tag to compare

Cache & Goroutine overusage to make it faaaast

Full Changelog: v0.0.8...v0.0.9

v0.0.8

10 Apr 00:56
Compare
Choose a tag to compare

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

08 Mar 13:06
Compare
Choose a tag to compare

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

v0.0.6

19 Feb 23:27
Compare
Choose a tag to compare
  • Made it work with Shuffle
  • Translation files are more editable
  • OpenAI dynamic utility with environment var

v0.0.5

06 Feb 01:51
Compare
Choose a tag to compare

Minor fix

Full Changelog: v0.0.4...v0.0.5

v0.0.4

05 Feb 02:09
Compare
Choose a tag to compare

Full Changelog: v0.0.3...v0.0.4