
Product
Announcing Precomputed Reachability Analysis in Socket
Socketโs precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
create-content-sdk-app
Advanced tools
This module is provided as a part of Sitecore Content SDK. It contains templates for Sitecore Content SDK sample applications.
1.0.0
Refactored SitecoreProvider
and enhanced SitecoreClient
(#158):
SitecoreProvider
and ContextSitecoreProvider
and related utilities.SitecoreProvider
now accepts a page
prop (Page
type from SitecoreClient
) instead of layoutData
.pageContext
โ renamed to page
. page
represents Page
interface.setContext
โ renamed to setPage
. The method updates the page
state.SitecoreProviderPageContext
interface.
page
via the Page
interface.withSitecore
and useSitecore
APIspageContext
โ page
updateContext
โ updatePage
SitecoreClient
Type cleanup and consistency:
NextjsPage
interface.Page
object.componentProps
and notFound
are now part of the SitecorePageProps
interface and are treated as optional.SitecorePageProps
now requires a standalone page
field instead of merging all data into one props object.New getErrorPage()
method:
getErrorPages()
, exposing only necessary data.ErrorPage
enum to select specific error types (e.g., ErrorPage.NotFound
)New PageMode
Type
Page
type now includes a mode
field of type PageMode
, providing runtime context (e.g. editing, design library, preview).pageState
, pageEditing
, componentType
.mode: {
isNormal: boolean;
isPreview: boolean;
isEditing: boolean;
isDesignLibrary: boolean;
}
DesignLibrary
component no longer accepts a layoutData
prop.page
directly from SitecoreProvider
.Refactor and simplify service names (#133):
You will be affected by the following changes only if:
SitecoreClient
methods.If you're using the SitecoreClient
to access services, no changes are required.
Service class and config names have been refactored for clarity and consistency:
RestComponentLayoutService
โ ComponentLayoutService
RestComponentLayoutServiceConfig
โ ComponentLayoutServiceConfig
GraphQLEditingService
โ EditingService
GraphQLEditingServiceConfig
โ EditingServiceConfig
GraphQLDictionaryService
โ DictionaryService
GraphQLDictionaryServiceConfig
โ DictionaryServiceConfig
GraphQLLayoutService
โ LayoutService
GraphQLLayoutServiceConfig
โ LayoutServiceConfig
GraphQLPersonalizeService
โ PersonalizeService
GraphQLPersonalizeServiceConfig
โ PersonalizeServiceConfig
GraphQLErrorPagesService
โ ErrorPagesService
GraphQLErrorPagesServiceConfig
โ ErrorPagesServiceConfig
GraphQLRedirectsService
โ RedirectsService
GraphQLRedirectsServiceConfig
โ RedirectsServiceConfig
GraphQLRobotsService
โ RobotsService
GraphQLRobotsServiceConfig
โ RobotsServiceConfig
GraphQLSiteInfoService
โ SiteInfoService
GraphQLSiteInfoServiceConfig
โ SiteInfoServiceConfig
GraphQLSitemapXmlService
โ SitemapXmlService
GraphQLSitemapXmlServiceConfig
โ SitemapXmlServiceConfig
GraphQLSitePathService
โ SitePathService
GraphQLSitePathServiceConfig
โ SitePathServiceConfig
DictionaryService
interface[core]
[nextjs]
[templates/nextjs]
Refactor site resolution logic across packages (#141)(#155)
sites
parameter from SitecoreClientInit
typeSiteResolver
dependency and resolveSite()
from SitecoreClient
SitecoreClient
SitecoreClient
to construct the Page
using siteName
instead of the full SiteInfo
.getPagePaths()
to accept a sites
parametergetPagePaths
method in SitecoreClient
to accept a sites
parameter.SitemapMiddleware
and RobotsMiddleware
to use their own instance of SiteResolver
and accept a sites
parameter via the constructor.[nextjs]
Ensure Redirect Middleware handles case-insensitive path matching to prevent missed redirects due to casing differences (#159)[core]
[nextjs]
Standardized way of handling contextId/clientContextId and related fallbacks (#150)FAQs
Sitecore Content SDK initializer
The npm package create-content-sdk-app receives a total of 507 weekly downloads. As such, create-content-sdk-app popularity was classified as not popular.
We found that create-content-sdk-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socketโs precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.