Preheat the oven to 350 degrees, and grease an 8x8 glass or ceramic baking dish or 2 large oven-safe soup crocks with cooking spray and set aside.
Caramelize the onions- Peel the onions and slice them in half, and then into thin slices.
Add butter to a large non-stick frying pan, and heat over medium heat until melted.
Add the onions, and season with salt and pepper.
Toss the onions to combine with the butter, and continue to cook over medium heat, stirring occasionally, until onions are slightly softened and some moisture is released- about 5 minutes.
Add the sugar, stir to combine with the onions and continue to cook on medium heat for 2 minutes.
Add 3 tablespoons of white wine or water to the pan, stirring to scrape up any browned bits. Cook for about 3 minutes, until the liquid evaporates. Continue adding the remaining wine or water, 3 tablespoons at a time, stirring and allowing the liquid to evaporate completely between additions. Repeat until all 1 cup has been used and the onions are deeply caramelized, about 20 minutes total. Transfer the onions to a bowl and set aside.
In a medium mixing bowl, stir together the softened cream cheese, sour cream, Worcestershire sauce, thyme and parmesan cheese until well combined- then fold in the onions.
Transfer to the baking dish, or divide between 2 large soup crocks, and top with shredded cheddar. Bake, uncovered for 30-35 minutes, until cheese is browned and bubbly Allow to cool for 10 to 15 minutes before serving, and serve with warm crusty bread, chips, or veggies!