Newer Version Available
Lightning Web Security
For detailed information on Lightning Web Security, including how to enable Lightning Web Security instead of Lightning Locker, see the Lightning Web Components Developer Guide.
The Lightning Web Components Developer Guide will be updated for Spring ’23 in February 2023 so the developer guide won’t mention Lightning Web Security for Aura (beta) until that time. Lightning Web Security for Aura (beta) is controlled by the Use Lightning Web Security for Lightning web components (GA) and Aura components (beta) setting in Session Settings in Setup. This setting was called Use Lightning Web Security for Lightning web components in Winter ’23 when it applied to Lightning Web Security for LWC only. In Spring ’23, the same setting controls LWS for LWC (GA) and LWS for Aura (beta).