Skip to content

Latest commit

 

History

History
141 lines (95 loc) · 8.47 KB

File metadata and controls

141 lines (95 loc) · 8.47 KB

v3.16.0-dev (Dec 17, 2025)

  • Move envBasePath into ssrParameters #3590
  • Support adding base paths to shopper facing URLs #3615

v3.15.0 (Dec 17, 2025)

  • Fix multiple set-cookie headers #3508

v3.14.0 (Nov 04, 2025)

  • Replace aws-serverless-express with @h4ad/serverless-adapter #3325
  • Added Hybrid Proxy support for local and ODS hybrid development [#3409] (#3409)
  • Add extensibility hooks for SLAS private client proxy with onSLASPrivateProxyReq and onSLASPrivateProxyRes callbacks #3411
  • Remove exception when transfer-encoding: chunked #3439
  • Fix chunked encoding option name #3440

v3.13.0 (Sep 25, 2025)

v3.12.0 (Sep 04, 2025)

  • Add support for environment level base paths on /mobify routes #2892
  • This feature introduces an AI-powered shopping assistant that integrates Salesforce Embedded Messaging Service with PWA Kit applications. The shopper agent provides real-time chat support, search assistance, and personalized shopping guidance directly within the e-commerce experience. #2658
  • Disallow the SLAS private client proxy from handling trusted system on behalf of requests #3042
  • Mask user not found messages to prevent user enumeration from passwordless login #3113

v3.11.0 (Jul 22, 2025)

  • Fix the logger so that it will now print out details of the given Error object #2486
  • Only allow requests for /shopper/auth/ through the SLAS private client proxy. Also stop the proxy from swallowing SLAS errors #2608

v3.10.0 (May 22, 2025)

v3.9.2 (Mar 08, 2025)

  • Disable CloudWatch metrics sender retries #2304

v3.9.1 (Mar 05, 2025)

  • Update PWA-Kit SDKs to v3.9.1 #2301
  • Remove forced garbage collection on each invocation. Set FORCE_GC=true for the old behavior. #2285

v3.9.0 (Feb 18, 2025)

  • Fix stale service worker file that could cause requests to still use old Content-Security-Policy #2191
  • Support Node 22 #2218
  • Support Social Login, Passwordless Login, and Password Reset: update the default value for applySLASPrivateClientToEndpoints option #2250

v3.8.0 (Oct 28, 2024)

  • Add proxy handling for trusted agent on behalf of (TAOB) requests #2077
  • Encode non ASCII HTTP headers when encodeNonAsciiHttpHeaders flag is set to true in ssr.js in the retail react app #2009
  • Add x-forwarded-host header into res locals, which can be used to build an app origin #2050

v3.7.0 (Aug 07, 2024)

v3.6.0 (Jun 25, 2024)

  • Add logger to print logs generated by PWA Kit packages #1822
  • Memoize getConfig on the server-side #1800
  • Added the x-correlation-id response header, which is set to the MRT correlation ID. This enhances traceability by including the correlation ID from the request in the response. #1787
  • Keep API Gateway headers in proxied requests #1772
  • Hide x-sfdc-access-control header #1805

v3.5.1 (Apr 17, 2024)

  • Update SLAS private proxy path #1752

v3.5.0 (Apr 15, 2024)

v3.4.0 (Jan 19, 2024)

  • Add Support for SLAS private flow #1722
  • Add support for node 20 #1612

v3.3.0 (Dec 08, 2023)

  • Update engine compatibility to include npm 10 #1597

v3.2.1 (Nov 08, 2023)

  • Revert mandatory enforcement of Content-Security-Policy headers. Provide middleware as an opt-in replacement. #1528
// your-project/app/ssr.js
import {defaultPwaKitSecurityHeaders} from '@salesforce/pwa-kit-runtime/utils/middleware'
const {handler} = runtime.createHandler(options, (app) => {
    app.use(defaultPwaKitSecurityHeaders)
    // ...
}

v3.2.0 (Nov 03, 2023)

  • Move Content-Security-Policy logic to pwa-kit-runtime #1457

v3.1.1 (Sep 21, 2023)

v3.1.0 (Jul 26, 2023)

  • Allow setting cookies using the MRT_ALLOW_COOKIES environment variable #1318
  • Fix potential security vulnerability in semver dependency #1358

v3.0.0 (Jun 15, 2023)

  • Package name changed to @salesforce/pwa-kit-runtime
  • Changes to accomodate Template Extensibility. Read the upgrade guide [#1224]the upgrade guide
  • Remove usage of detect-device-type due to deprecation of user agent string. #1168
  • Update engines to drop npm 7, and requires Node to start from version 16.11 #1166

Older Versions Without Namespace

The older versions below were published without the @salesforce namespace.

v2.7.1 (May 11, 2023)

  • Add optional parameter to override configuration folder used in getConfig #1049
  • Moved the MRT reference app to the SDKs, so that we can verify eg. Node support #966

v2.7.0 (Mar 03, 2023)

  • Support Node 16 #965

v2.6.0 (Jan 25, 2023)

  • Security package updates

v2.5.0 (Jan 05, 2023)

  • Logging cid from res header isntead of req in local development #821
  • Replace morgan stream to use console.log #847

v2.4.0 (Dec 01, 2022)

v2.3.0 (Oct 27, 2022)

  • Performance: Skip retries when flushing CloudWatch metrics, prioritize returning a response instead. 720
  • Add Correlation ID to SCAPI requests. #728

v2.2.0 (Aug 25, 2022)

v2.1.0 (Jul 05, 2022)

v2.0.0 (May 16, 2022)

  • Drop node 12 support for #589
  • Improve test coverage #550
  • Make the createApp API idiomatic for Express, fix service-worker loading. #536
  • Add environment specific configuration support via getConfig. #447
  • Remove legacy remote proxy, which allowed remote environments to use proxy configs in package.json #425
  • Remove default body-parser middleware from express server. #444