Salesforce Winter ’21 Release Notes (Developer Perspective)

Update Resources with the PATCH HTTP Method in Apex Callouts

To make partial or full updates to a resource in an HTTP web service, specify the PATCH method in the HttpRequest class. Previously, only the PUT method was supported for full updates.

https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_callouts_patch.htm?edition=&impact=

Use the Safe Navigation Operator to Avoid Null Pointer Exceptions

Use the safe navigation operator (?.) to replace explicit, sequential checks for null references. This new operator short-circuits expressions that attempt to operate on a null value and returns null instead of throwing a NullPointerException.

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

How: If the left-hand-side of the chain expression evaluates to null, the right-hand-side is not evaluated. Use the safe navigation operator (?.) in method, variable, and property chaining. The part of the expression that is not evaluated can include variable references, method references, or array expressions.

https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_SafeNavigationOperator.htm?edition=&impact=

Instead of checking System.isFuture() || System.isQueueable(), detect Apex Runtime Context with RequestId and Quiddity

//Get info about the current request
Request reqInfo = Request.getCurrent();

//Universally unique identifier for this request
//Same as requestId in splunk or REQUEST_ID in event monitoring
String currentRequestId = reqInfo.getRequestId();

//enum representing how Apex is running. e.g. BULK_API vs LIGHTNING
//Use this with a switch statement,
//instead of checking System.isFuture() || System.isQueueable() || ...
Quiddity currentType = reqInfo.getQuiddity();

Improve Apex Testing with New SObject Error Methods

If the SObject.addError() method has been called on an SObject instance, the SObject.hasErrors() method returns true. The SObject.getErrors() method returns a list of Database.Error objects that contain the errors. encountered.https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_trackErrors.htm?edition=&impact=

A new REST resource for Composite requests is now generally available

Then composite resources let you batch up multiple calls in a single call. By using this you can simplify your code, reduce network overhead, and improve your app’s performance.

composite graphs ensure that the steps in a given set of operations are either all completed or all terminated. It’s no longer necessary to check for a mix of successful and unsuccessful results. The Composite Graph resource payload increases the subrequest limit to 500 per payload, up from 25 per Standard Composite payload. A single API call can now do much more.

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/using_composite_resources.htm

Transform Data with a Few Clicks (Pilot)

Data in your Salesforce org is stored across different objects. Use Data Processing Engine to bring all the data in one place and transform it based on your requirements. Start by creating an instance of Data Processing Engine. Then select data sources, define the various configurations, and choose whether you want to use the transformed data to create records or update existing records.

https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_data_processing_engine_create.htm?edition=&impact=

1,085 thoughts on “Salesforce Winter ’21 Release Notes (Developer Perspective)”

  1. At this moment I am going away to do my breakfast, later than having
    my breakfast coming again to read other news.

    Take a look at my web page: xe888

  2. continuously i used to read smaller posts that as well clear their motive, and that is also happening with this
    article which I am reading here.

  3. Naturally, combining these respiration exercises with penis enlargement workouts could be even better.
    Combining a variety of workout routines will assist to better stimulate
    the expansion process within your penis and result in essentially the most quantity of achieve in size attainable.
    There are certain foods that comprise the appropriate nutrients, vitamins, and minerals that can assist you enhance your ejaculatory management.
    Foods are pitifully reasonably priced and looks as if you
    are receiving excess of you bought. You can maintain a wholesome weight to make it extra
    proportioned to your physique, for example; or trim your pubic hair to make it look
    longer. Try to pay attention to their whole physique, too, and provides different areas some consideration, reminiscent of their neck and again. On this technique you attach a selected device or weight to your penis to stretch it out slowly over time and it is a technique which
    dates back to hundreds of years when tribesmen crudely hooked up weights to their genitalia for the same
    effect. Based on the National Digestive Diseases Information Clearinghouse, it removes hemorrhoids
    by burning it having a system. Thanks for this posting it has given me the data that I
    have been looking for. Last summer time my wife and i went to her cousins marriage ceremony,
    I knew it could be customary fare for us, her in a gown, naked legs all day,
    and a brief heel (she is sort of a inch taller than me and doesn’t wish to
    wear actually high heels),I would have my Hanes Sill Reflections on under my pants
    with a small butt plug in.

  4. Greetings, I do think your website could possibly be having browser compatibility problems.

    Whenever I look at your blog in Safari, it looks fine however, if opening in Internet Explorer, it’s got
    some overlapping issues. I merely wanted to provide you with a quick heads up!
    Aside from that, wonderful website!

  5. hey there and thank you for your information – I’ve certainly
    picked up anything new from right here. I did however expertise several technical points
    using this site, since I experienced to reload the website many times previous to I could get it to
    load correctly. I had been wondering if your web host is OK?
    Not that I’m complaining, but sluggish loading instances times will often affect your placement in google and could
    damage your quality score if advertising and marketing with Adwords.

    Anyway I am adding this RSS to my email and could look
    out for a lot more of your respective interesting content.
    Ensure that you update this again very soon.

  6. I do not even know how I ended up here, but I thought this
    post was great. I don’t know who you are but definitely
    you are going to a famous blogger if you are not already 😉 Cheers!

  7. An intriguing discussion is definitely worth comment.
    I believe that you need to publish more on this topic, it might not be
    a taboo subject but usually people do not speak about such subjects.
    To the next! Best wishes!!

  8. Heya i am for the first time here. I found this board and I find It truly useful & it helped me out a lot.
    I hope to give something back and aid others like you helped
    me.

  9. Thanks for the marvelous posting! I definitely enjoyed reading it, you
    might be a great author. I will ensure that I bookmark your blog and will often come back at some point.
    I want to encourage you to continue your great work, have a nice morning!

  10. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You clearly know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us something enlightening to
    read?

  11. Thank you for the auspicious writeup. It in fact was a
    amusement account it. Look advanced to far added agreeable from you!

    By the way, how could we communicate?

Comments are closed.