Energy companies have been under increasing pressure from shareholder activists in recent years to warn investors of the risks that stricter limits on carbon emissions would place on their business.

On Thursday, a shareholder group said that it had won its biggest prize yet, when Exxon Mobil became the first oil and gas producer to agree to publish that information by the end of the month.

In return, the shareholders, led by the wealth management firm Arjuna Capital, which focuses on sustainability, and the advocacy group As You Sow, said they had agreed to withdraw a resolution on the issue at Exxon Mobil’s annual meeting.

Exxon declined to comment, but an email exchange with the company provided by the shareholder groups confirmed the agreement.