Puree the onions, garlic, and ginger root in a food processor with 1/2 cup vinegar.
In a large stockpot over medium heat, heat all ingredients except for the cranberries, and simmer until thickened.
Add the dried cranberries during the last 15 minutes.
This can be packed and sealed in canning jars, or simply refrigerated until ready to use.