Grease and flour a 10 or 12-cup Bundt pan, or a 9 x 13 cake pan. Preheat oven to 350F.
In a large bowl, cream butter and sugars together until fluffy. Add eggs, one at a time, beating after each addition. Stir in vanilla, bourbon or whisky.
In a medium bowl, whisk together flour, baking soda, salt and spices until thoroughly blended.
Add the dry ingredients to the butter and sugar mixture in two batches, alternating with the beer, stirring well after each addition.
At the end, stir in pecans and apricots, making sure they’re distributed evenly.
Spoon the batter evenly into the prepared pan, smoothing the top with the back of a spoon dipped in hot water.
Bake in the preheated oven for 50 minutes (Bundt pan) or 35 minutes (9 x 13-inch pan), until a tester inserted in the middle comes out clean.
Cool on a rack for 10 to 15 minutes. Loosen the cake from the Bundt pan with a slim bladed knife, place a serving plate over top and flip the pan upside down so the cake is transferred to the plate. Just leave the 9 x 13 cake in the pan.
Pour caramel sauce over top of the Bundt cake so it drips down the sides and reserve some sauce for the table. For the 9 x 13 cake, slice and serve the cake and drizzle sauce over each piece, passing reserved sauce at the table.