Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, and cinnamon. Set aside.
In a large bowl, cream the softened butter and sugar together until light and fluffy, about 2-3 minutes.
Beat in the egg and vanilla extract until well combined.
Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Gently fold in the diced peaches, rolled oats, and chopped pecans (if using) until evenly distributed.
Drop rounded tablespoons of dough onto the prepared baking sheet, spacing them about 2 inches apart.
Bake for 12-15 minutes, or until the edges are lightly golden.
Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.