It's good news that unpaid bloggers are included in this compromise, but since I don't know the details, I don't know if this would have kept Judy Miller out of jail:
WASHINGTON — The Obama administration, leading Senate Democrats and a coalition of news organizations have reached tentative agreement on legislation providing greater protections against the fining or imprisonment of reporters who refuse to identify confidential sources.
Under the deal, made public Friday, federal judges could quash subpoenas demanding testimony or information from reporters if the judges determined that the public interest in news gathering outweighed the need to uncover the source of a leak, including, in some circumstances, unauthorized disclosure of classified government information.
Protection under the so-called shield law would also be extended to unpaid bloggers engaged in gathering and disseminating news.
A version of shield legislation was approved by the House in March. But a similar bill has stalled in the Senate, and its prospects appeared to dim significantly in September when the administration, responding to apprehension expressed by intelligence agencies and prosecutors, took a harder line with regard to cases in which the government could claim national security concerns.
With the new agreement, however, the White House has now moderated that position.
[...]The leading proponents of the legislation, Senators Charles E. Schumer of New York and Arlen Specter of Pennsylvania, both Democrats, expressed confidence that the compromise would move quickly through the Senate.
“We still get most of our information from investigative journalists,” Mr. Specter said. “If you can’t protect sources, there is a lot of public corruption and private malfeasance that will go undetected and unpunished.”