Last year when I started my raised beds, I researched the treated lumber question. The answer is that so little leaches out of treated lumber as to be almost undetectable. Even the old stuff. You can get a little more expensive treated lumber that is rated for ground and water contact, which has insoluble forms of copper in it.
Cedar would be nice, but would pay for many trips to the local farm market. Not worth the expense.