Use Database.releaseSavepoint and allow HttpCallouts after DML
Making any callout after a DML statement throws CalloutException. In Sprint ’24, Salesforce introduced a new Database.releaseSavepoint method to resolve this explicitly releasing savepoints before making a callout.
Null Coalescing Operator
Salesforce’s Spring ’24 release introduces the null coalescing operator (??) to Apex code, simplifying the handling of null values. This operator condenses conditional checks and default values, enhances readability, and facilitates the safe and concise assignment of default values.