Preheat the oven to 350°F. Prepare two 9x5 loaf pans by either lining with parchment or greasing the pans to prevent sticking.
In a medium bowl, add 3 cups of flour, reserving the ¼ cup (31g) for later. Add the baking soda, baking powder and salt. Give it a little whisk to combine. Set aside.
In a large mixing bowl add oil, both sugars and whisk to blend together.
Add pumpkin and eggs and continue whisking until smooth.
Stir in the flour mixture just until combined. Do not overmix. The batter will be thick but creamy.
Add in the cinnamon, ground ginger, cloves and allspice.
Before adding in the cranberries, pat dry with a paper towel if using frozen cranberries. In a small bowl, mix the whole cranberries with the reserved ¼ cup of flour. Lightly toss until coated. Fold the cranberries into the batter gently until completely combined and there are no visible white streaks of flour.
Scoop the batter into the prepared pans filling both until evenly filled. Each loaf pan will be about ¾ filled. Optional: Dust tops with sparkling sugar before baking.
Pumpkin cranberry bread is done when it pulls from the sides, top is slightly brown and the internal temperature is 200 to 205°F.
To ensure doneness, you may want to turn the oven off and allow bread to rest for 10 minutes.
Take loaves out and cool for 5 to 10 minutes. Do not allow longer than this as it can cause condensation on the bottom of the bread.
Remove loaves from pans and allow to cool on a wire rack.