Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/19.0.0 #849

Merged
merged 286 commits into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
de863b7
version v16.1.0-canary.15 [skip ci]
Apr 1, 2021
45b7cf7
[NextJS] Handle change to route type to allow nulls. (#643)
anastasiya29 Apr 2, 2021
26dcf41
version v16.1.0-canary.16 [skip ci]
Apr 2, 2021
abaaefe
[JSS] [NextJs] Sitemap query limits to 10 by default (#644)
anastasiya29 Apr 5, 2021
82d606d
version v16.1.0-canary.17 [skip ci]
Apr 5, 2021
7452b31
[JSS] [NextJs] Debug Logging (#645)
ambrauer Apr 8, 2021
d4450a2
version v16.1.0-canary.18 [skip ci]
Apr 8, 2021
fe7200e
Renamed debug logging namespace "sitecore-jss:experience-editor" > "s…
ambrauer Apr 8, 2021
2efcbf3
version v16.1.0-canary.19 [skip ci]
Apr 8, 2021
634486b
[Docs][469075] Add notes on compatibility & CLI example for older JSS…
Apr 9, 2021
cec67da
[NextJs] GraphQL schema updates and fragment data generation removal …
ambrauer Apr 12, 2021
ef3c3ed
version v16.1.0-canary.20 [skip ci]
Apr 12, 2021
860a214
Added DEBUG_MULTILINE to allow switching from %o (pretty-print single…
ambrauer Apr 12, 2021
f9c1218
version v16.1.0-canary.21 [skip ci]
Apr 12, 2021
bb273d4
NPM package security update: 'url-parse' and 'y18n' (#651)
ambrauer Apr 13, 2021
c809f49
version v16.1.0-canary.22 [skip ci]
Apr 13, 2021
e5bf940
[Doc] Remove `remove language from package.json` step in `Walkthrough…
illiakovalenko Apr 21, 2021
88e94b7
Update PULL_REQUEST_TEMPLATE.MD
CobyPear Apr 26, 2021
1413b77
Update PULL_REQUEST_TEMPLATE.MD
CobyPear Apr 26, 2021
dbc2571
Merge pull request #672 from Sitecore/CobyPear-patch-1
CobyPear Apr 26, 2021
b5eaf29
version v16.1.0-canary.23 [skip ci]
Apr 26, 2021
681950e
CONTRIBUTING refresh: node/npm versions, 'dev' branch now default (#673)
ambrauer Apr 26, 2021
84e256a
version v16.1.0-canary.24 [skip ci]
Apr 26, 2021
4a07ae1
[sitecore-jss-nextjs] Links inside RichText control cause page to be …
illiakovalenko Apr 27, 2021
084f862
version v16.1.0-canary.25 [skip ci]
Apr 27, 2021
05a6c6e
[Angular] Extend description for Lazy Loading component (#674)
illiakovalenko Apr 27, 2021
1703bf8
version v16.1.0-canary.26 [skip ci]
Apr 27, 2021
a3f50c7
Feature/469713 (#656)
anastasiya29 Apr 27, 2021
97306d1
version v16.1.0-canary.27 [skip ci]
Apr 27, 2021
5c97623
Bug/475365 (#679)
anastasiya29 Apr 29, 2021
a4ae073
version v16.1.0-canary.28 [skip ci]
Apr 29, 2021
b8c3250
[node-headless-ssr-proxy + Angular sample] Error in console when refr…
illiakovalenko Apr 29, 2021
6a2f949
version v16.1.0-canary.29 [skip ci]
Apr 29, 2021
50a5187
Feature/475116 (#682)
anastasiya29 Apr 29, 2021
c1de305
version v16.1.0-canary.30 [skip ci]
Apr 29, 2021
2f3aecf
[sitecore-jss-forms] Fix for multi-valued fields with pre-filled form…
ambrauer Apr 30, 2021
eec7153
version v16.1.0-canary.31 [skip ci]
Apr 30, 2021
a66c91e
Fix lint issues
illiakovalenko Apr 30, 2021
0170832
Push package lock
illiakovalenko Apr 30, 2021
bc7c362
Edit line endings before write to file, force to use CRLF
illiakovalenko Apr 30, 2021
28a2b79
Extend description
illiakovalenko Apr 30, 2021
4eda582
Extend description
illiakovalenko Apr 30, 2021
bae063d
Edit line endings for Vue sample
illiakovalenko Apr 30, 2021
4b35818
Merge pull request #684 from Sitecore/bug/469480
CobyPear Apr 30, 2021
a651077
version v16.1.0-canary.32 [skip ci]
Apr 30, 2021
ecccd98
[sitecore-jss] [mediaApi] `updateImageUrl` fix for invalid hash error…
ambrauer Apr 30, 2021
9904624
version v16.1.0-canary.33 [skip ci]
Apr 30, 2021
eb5867c
Dependency upgrades - High severity vulnerabilities (#685)
ambrauer May 3, 2021
4969903
version v16.1.0-canary.34 [skip ci]
May 3, 2021
79ec3d1
Bug/472144 (#683)
anastasiya29 May 3, 2021
2596acd
version v16.1.0-canary.35 [skip ci]
May 3, 2021
ebeab66
Bump lerna version to match ci / lock version (3.22.x) for local deve…
ambrauer May 3, 2021
ee71a40
version v16.1.0-canary.36 [skip ci]
May 3, 2021
663e0e8
[node-headless-ssr-experience-edge] Update readme (#688)
illiakovalenko May 5, 2021
9258d14
version v16.1.0-canary.37 [skip ci]
May 5, 2021
322c9a9
Add dataApi, mediaApi back to sitecore-jss-nextjs package export
ambrauer May 5, 2021
94a2bbf
version v16.1.0-canary.38 [skip ci]
May 5, 2021
febbe0a
[NextJs] Switch sample app source to GraphQL by default (#689)
ambrauer May 12, 2021
84041e8
version v16.1.0-canary.39 [skip ci]
May 12, 2021
b6c10d9
[JSS] Address high severity vulnerabilities (#691)
illiakovalenko May 14, 2021
c3ca2ff
version v16.1.0-canary.40 [skip ci]
May 14, 2021
05ae816
Feature/467450 - Edge GraphQL query & services updates (#692)
anastasiya29 May 17, 2021
00ddedc
version v16.1.0-canary.41 [skip ci]
May 17, 2021
3e7c9a5
Add language fallback settings to nextjs sample config (#695)
anastasiya29 May 17, 2021
c482d9c
version v16.1.0-canary.42 [skip ci]
May 17, 2021
fbd26d2
[NextJs] Added IncludeServerUrlInMediaUrls "default" configuration to…
ambrauer May 17, 2021
56144b3
version v16.1.0-canary.43 [skip ci]
May 17, 2021
d00e2ab
[sitecore-jss] [graphql-dictionary-service] use "Key" and "Phrase" ca…
illiakovalenko May 18, 2021
9ead0ba
version v16.1.0-canary.44 [skip ci]
May 18, 2021
4b67f51
Fix typo
May 25, 2021
1091f3e
GraphQLSitemapService - allow overriding of query and search service …
anastasiya29 May 27, 2021
70d659a
version v16.1.0-canary.45 [skip ci]
May 27, 2021
4657740
[Docs][474350] Document the new starter template for SSR (#694)
ancaemcken May 27, 2021
91e46cf
Use correct 'layout' debug namespace for graphql-layout-service.
ambrauer May 28, 2021
a39f37b
version v16.1.0-canary.46 [skip ci]
May 28, 2021
90f8844
Explicitly mention that NodeJS is a third-party technology.
May 31, 2021
b928ae4
Change starter->sample and associated changes + small lang & style fixes
Jun 2, 2021
e0a487d
Fix merge conflict - this comment was in the wrong place
anastasiya29 Jun 4, 2021
8daef42
version v16.1.0-canary.47 [skip ci]
Jun 4, 2021
7453151
[sitecore-jss-react] [Text] Render value instead of array of single v…
illiakovalenko Jun 8, 2021
8309746
version v16.1.0-canary.48 [skip ci]
Jun 8, 2021
d944105
[sitecore-jss] Rest Layout Service - Allow override of "named" JSS co…
anastasiya29 Jun 9, 2021
6271330
version v16.1.0-canary.49 [skip ci]
Jun 9, 2021
ad9bb91
Allow to publish canary for release branches
illiakovalenko Jun 9, 2021
b1b5c0b
version v16.1.0-canary.50 [skip ci]
Jun 9, 2021
d0feac9
Replace jss.sitecore.net with jss.sitecore.com
Jun 9, 2021
6b32216
[Fix] Update Text components to accept number values (#713)
ambrauer Jun 9, 2021
bd38915
version v16.1.0-canary.51 [skip ci]
Jun 9, 2021
b2e71a0
Include release/* branches to be triggered
illiakovalenko Jun 9, 2021
bf0ba2d
version v16.1.0-canary.52 [skip ci]
Jun 9, 2021
0732ede
Trigger azure pipeline on the branch which targets release branch
illiakovalenko Jun 9, 2021
e624b2c
version v16.1.0-canary.53 [skip ci]
Jun 9, 2021
b8bbc31
Apply workaround, b/c SourceBranchName doesn't contain `release` pref…
illiakovalenko Jun 9, 2021
456f6a9
Use variable
illiakovalenko Jun 9, 2021
ea84300
Apply fix for branchName
illiakovalenko Jun 9, 2021
3b91236
version v16.1.0-canary.54 [skip ci]
Jun 9, 2021
701f888
Merge branch 'master' of https://github.com/Sitecore/jss into release…
illiakovalenko Jun 10, 2021
82c5331
v18.0.0
illiakovalenko Jun 10, 2021
7bcb5f0
version v18.0.1-canary.0 [skip ci]
Jun 10, 2021
32099c3
v18.0.0-canary.0
illiakovalenko Jun 10, 2021
3566823
version v18.0.0-canary.1 [skip ci]
Jun 10, 2021
675f64d
v19.0.0-canary.0
illiakovalenko Jun 10, 2021
a4fb440
version v19.0.0-canary.1 [skip ci]
Jun 10, 2021
f38f7a9
Merge branch 'release/18.0.0' of https://github.com/Sitecore/jss into…
illiakovalenko Jun 10, 2021
aa02880
[Doc] [NextJS] GraphQL + Disconnected mode compatibility (#717)
illiakovalenko Jun 11, 2021
d659418
[Horizon] [Next.js] Styleguide component datasource resiliency (#723)
ambrauer Jun 14, 2021
ab5afe9
version v19.0.0-canary.2 [skip ci]
Jun 14, 2021
a704e87
[NextJS] Enable monorepo in Vercel (#725)
illiakovalenko Jun 16, 2021
286a3a5
[Docs] Align with styleguide, fix incomplete sentence (#709)
ancaemcken Jun 16, 2021
436fb41
Merge pull request #708 from Sitecore/docs/435247
CobyPear Jun 16, 2021
df79396
Merge branch 'dev' into docs/445595
ancaemcken Jun 17, 2021
48ebc72
Merge pull request #710 from Sitecore/docs/445595
ancaemcken Jun 17, 2021
738ccf0
Replace jss.sitecore.net with jss.sitecore.com
Jun 9, 2021
b7e5862
Replace website
Jun 17, 2021
9d67769
Merge pull request #719 from Sitecore/docs/445596
ancaemcken Jun 17, 2021
9b7eb93
version v19.0.0-canary.3 [skip ci]
Jun 17, 2021
8b09361
[Next.js] Enable dynamic component import in sample (#727)
illiakovalenko Jun 18, 2021
a466719
version v19.0.0-canary.4 [skip ci]
Jun 18, 2021
7b1b789
[Vue] Upgrade version 2.x to 3.x (#724)
illiakovalenko Jun 22, 2021
60bf8ba
version v19.0.0-canary.5 [skip ci]
Jun 22, 2021
8f07f27
Don't link 'react' multiple times
illiakovalenko Jun 23, 2021
867a656
version v19.0.0-canary.6 [skip ci]
Jun 23, 2021
4bc6c8a
Add bootstrap react, react-dom for Vercel
illiakovalenko Jun 23, 2021
9ebdc41
Merge branch 'dev' of https://github.com/Sitecore/jss into dev
illiakovalenko Jun 23, 2021
031a557
Fix
illiakovalenko Jun 23, 2021
b918d86
Remove folder
illiakovalenko Jun 23, 2021
90fdaa1
version v19.0.0-canary.7 [skip ci]
Jun 23, 2021
a0161e8
Revert changes
illiakovalenko Jun 23, 2021
6d3f167
Merge branch 'dev' of https://github.com/Sitecore/jss into dev
illiakovalenko Jun 23, 2021
18f6e2d
version v19.0.0-canary.8 [skip ci]
Jun 23, 2021
a5a7b22
version v19.0.0-canary.9 [skip ci]
Jun 23, 2021
4e6466a
Fix lint issue for Vue sample
illiakovalenko Jun 23, 2021
d40e7b3
version v19.0.0-canary.10 [skip ci]
Jun 23, 2021
2307292
[NextJS] Use .dynamic instead of .module for lazy loading modules (#730)
illiakovalenko Jun 23, 2021
ff4afcf
version v19.0.0-canary.11 [skip ci]
Jun 23, 2021
4588608
[Docs][Next.js] Add video walkthrough (#729)
ancaemcken Jun 24, 2021
1813f9a
Merge remote-tracking branch 'origin/release/18.0.0' into dev
ambrauer Jun 28, 2021
71beb25
[JSS][angular] dk-DA language is not rendered in connected and discon…
CobyPear Jun 28, 2021
52d462a
version v19.0.0-canary.12 [skip ci]
Jun 28, 2021
8ab19e0
[All frameworks] Execute correct detection of disconnected or connect…
illiakovalenko Jun 29, 2021
464cb19
version v19.0.0-canary.13 [skip ci]
Jun 29, 2021
3a677cb
[Docs] Update README with samples entry for Next.js and highlight fea…
ancaemcken Jun 29, 2021
d7264c3
[Next.js] Prevent extraneous router.replace in Experience Editor when…
ambrauer Jun 29, 2021
bd29140
version v19.0.0-canary.14 [skip ci]
Jun 29, 2021
e384e83
[NextJS] Vercel throws 500 for NotFound and /da-DK pages (#731)
illiakovalenko Jun 29, 2021
73abe07
version v19.0.0-canary.15 [skip ci]
Jun 29, 2021
4e19d41
[NextJS] Linting error when there are no dynamic components in the app
illiakovalenko Jul 2, 2021
547a58e
version v19.0.0-canary.16 [skip ci]
Jul 2, 2021
837f8c5
Add walkthrough for customizing static paths (#739)
ancaemcken Jul 6, 2021
fa88779
[Docs] Add Edge-related material (#740)
ancaemcken Jul 9, 2021
9582a7a
[Vue] Use fragments by default with sc-placeholder (#742)
illiakovalenko Jul 9, 2021
71d6025
version v19.0.0-canary.17 [skip ci]
Jul 9, 2021
93dd3e8
[Docs][Next.js]Fix step for deploying Next.js items to Sitecore [4798…
ancaemcken Jul 12, 2021
541ecdc
[Horizon] Update editing functions for Horizon compatibility (#712)
ambrauer Jul 13, 2021
dc2fb35
[sitecore-jss-react] Error rendering raw self-closing tag elements in…
illiakovalenko Jul 13, 2021
a9e3ff2
version v19.0.0-canary.18 [skip ci]
Jul 13, 2021
65ddc0d
Remove use of deprecated dataApi (#744)
illiakovalenko Jul 14, 2021
d58551d
version v19.0.0-canary.19 [skip ci]
Jul 14, 2021
a5f723f
[Vue] regeneratorRuntime error when opening Vue app in EE (#749)
illiakovalenko Jul 15, 2021
27d4a55
version v19.0.0-canary.20 [skip ci]
Jul 15, 2021
d391d1b
[embedded-app] Remove StepZilla, use custom component (#747)
illiakovalenko Jul 16, 2021
5a72232
version v19.0.0-canary.21 [skip ci]
Jul 16, 2021
3a7712b
[Horizon] [samples] Added wrapping div to ContentBlock component for …
ambrauer Jul 20, 2021
1e8aa6f
version v19.0.0-canary.22 [skip ci]
Jul 20, 2021
f953f17
[Security] Latest SAST Scanning Results on v18.0.0 - highs (#748)
CobyPear Jul 20, 2021
32a0181
[samples] Replace dictionary calls by RestDictionaryService (#750)
illiakovalenko Jul 22, 2021
621d6ae
version v19.0.0-canary.23 [skip ci]
Jul 22, 2021
1dd985b
Use consistent TS version (#755)
illiakovalenko Jul 23, 2021
9114d2a
version v19.0.0-canary.24 [skip ci]
Jul 23, 2021
cab6b8f
Remove '/dist' path from pathRewriteExcludeRoutes (#756)
CobyPear Jul 28, 2021
48e0eba
[High priority packages + samples] Avoid use of 'any' for TypeScript …
illiakovalenko Jul 30, 2021
57564b7
version v19.0.0-canary.25 [skip ci]
Jul 30, 2021
b1aaa79
[Focused Improvements] .eslintrc updates (#760)
CobyPear Aug 2, 2021
444baaa
version v19.0.0-canary.26 [skip ci]
Aug 2, 2021
4332f79
[JSS] Compile and publish all base package as ESM (#758)
CobyPear Aug 2, 2021
e957ed5
version v19.0.0-canary.27 [skip ci]
Aug 2, 2021
85c7c76
[Bug] npm install fails for sample apps (#762)
CobyPear Aug 3, 2021
5d2b7ef
version v19.0.0-canary.28 [skip ci]
Aug 3, 2021
88787eb
[Angular] jss deploy files (jss deploy app) commands fails for angula…
illiakovalenko Aug 4, 2021
e06dd6b
version v19.0.0-canary.29 [skip ci]
Aug 4, 2021
e7a37dd
Update path to jss-create module (#765)
CobyPear Aug 4, 2021
adc8778
version v19.0.0-canary.30 [skip ci]
Aug 4, 2021
d646b07
Improve unit test coverage reporting (#761)
illiakovalenko Aug 5, 2021
82b752a
version v19.0.0-canary.31 [skip ci]
Aug 5, 2021
8df3d5e
[NextJS] Add "--empty" flag (#754)
illiakovalenko Aug 6, 2021
af8bf39
version v19.0.0-canary.32 [skip ci]
Aug 6, 2021
f6f8636
[Dictionary Service] [Sitemap Service] Provide ability to customize j…
CobyPear Aug 10, 2021
4eda519
version v19.0.0-canary.33 [skip ci]
Aug 10, 2021
c993839
[sitecore-jss-react-forms] Experience Forms JSS React implementation …
illiakovalenko Aug 11, 2021
6db4535
version v19.0.0-canary.34 [skip ci]
Aug 11, 2021
88bf249
Next.js 11 Upgrade (#768)
ambrauer Aug 12, 2021
be4c379
version v19.0.0-canary.35 [skip ci]
Aug 12, 2021
ed6479c
[MVC Static Generation] New "empty" starter (2) (#776)
CobyPear Aug 13, 2021
cb1da8c
version v19.0.0-canary.36 [skip ci]
Aug 13, 2021
414cd53
Update RAV samples to work with `fetchWith` create option (#773)
CobyPear Aug 13, 2021
52f44ac
version v19.0.0-canary.37 [skip ci]
Aug 13, 2021
faed0f8
[React] [Nextjs] Fix double rendering (#775)
illiakovalenko Aug 16, 2021
765fa81
version v19.0.0-canary.38 [skip ci]
Aug 16, 2021
c408491
[NextJs] Fix build / lint errors on jss create (#778)
ambrauer Aug 16, 2021
f0173cd
version v19.0.0-canary.39 [skip ci]
Aug 16, 2021
f6f6f65
Fix typo in jss-create - react (#782)
CobyPear Aug 16, 2021
13d7a22
version v19.0.0-canary.40 [skip ci]
Aug 16, 2021
9657d84
[Angular] Fix typescript errors (#777)
illiakovalenko Aug 16, 2021
7f5f9e8
version v19.0.0-canary.41 [skip ci]
Aug 16, 2021
4d960a0
Added CHANGELOG
ambrauer Aug 16, 2021
6e38445
version v19.0.0-canary.42 [skip ci]
Aug 16, 2021
4c781c3
🕷[React][Sample] Typo in sitecore config (#783)
CobyPear Aug 17, 2021
b01e964
version v19.0.0-canary.43 [skip ci]
Aug 17, 2021
fc4e404
493396 [maintenance] [react] Remove obsolete poc code from sample (#784)
anastasiya29 Aug 17, 2021
c59bb0a
version v19.0.0-canary.44 [skip ci]
Aug 17, 2021
e9bece0
Merge remote-tracking branch 'origin/master' into dev
ambrauer Aug 17, 2021
c6720d7
Update RAV configs to include layoutServiceConfiguration (#785)
CobyPear Aug 17, 2021
3920308
version v19.0.0-canary.45 [skip ci]
Aug 17, 2021
c968bb3
Extra check for window-level Horizon chrome reset function (#786)
ambrauer Aug 18, 2021
38266e0
version v19.0.0-canary.46 [skip ci]
Aug 18, 2021
322501b
[NextJS] Prevent webpack-5 to throw error for `sitecore-import.json` …
illiakovalenko Aug 18, 2021
0208822
version v19.0.0-canary.47 [skip ci]
Aug 18, 2021
1b28f8e
[sitecore-jss] Import lodash correctly (#791)
illiakovalenko Aug 23, 2021
af28258
version v19.0.0-canary.48 [skip ci]
Aug 23, 2021
8d91590
[sitecore-jss-cli] RAV fetchWith uses old GraphQl endpoint path in pa…
illiakovalenko Aug 25, 2021
187a09f
version v19.0.0-canary.49 [skip ci]
Aug 25, 2021
a538878
🕷[Dev][JSS 19][Angular] Fix jss scaffold issue (#794)
CobyPear Aug 27, 2021
caca82d
version v19.0.0-canary.50 [skip ci]
Aug 27, 2021
96d5838
Update disconnected server and manifest manager options to acccept nu…
CobyPear Aug 27, 2021
5637365
version v19.0.0-canary.51 [skip ci]
Aug 27, 2021
ede54da
Backfill changelog to versions up to 11.0.0 (#797)
CobyPear Aug 31, 2021
763dab1
version v19.0.0-canary.52 [skip ci]
Aug 31, 2021
5161b18
v19 CHANGELOG audit / refresh. Other adjustments for consistency. (#798)
ambrauer Sep 1, 2021
b640c5d
version v19.0.0-canary.53 [skip ci]
Sep 1, 2021
d70d873
CHANGELOG adjustments for Horizon compatibility clarity (only Next.js…
ambrauer Sep 1, 2021
349e4e2
version v19.0.0-canary.54 [skip ci]
Sep 1, 2021
c023225
Removed RAV Sitecore config patch for <IncludeServerUrlInMediaUrls>fa…
ambrauer Sep 7, 2021
81cc0ea
version v19.0.0-canary.55 [skip ci]
Sep 7, 2021
0467574
Fix cannot find a differ... error (#803)
CobyPear Sep 7, 2021
3f1592a
Fix Vue sample RestLayoutService config (use 'apiHost', not 'endpoint…
ambrauer Sep 7, 2021
7833ad7
version v19.0.0-canary.56 [skip ci]
Sep 7, 2021
7af070e
[NextJs][Regression] Custom Components cannot be added using Horizon …
CobyPear Sep 8, 2021
eb2b922
version v19.0.0-canary.57 [skip ci]
Sep 8, 2021
83e63e0
[RAV][Regression] jss graphql:update throws errors (#806)
CobyPear Sep 8, 2021
2463ee8
version v19.0.0-canary.58 [skip ci]
Sep 8, 2021
aa52ead
[React] Set `changeOrigin: true` for proxied Sitecore requests in con…
ambrauer Sep 9, 2021
e09d0cb
version v19.0.0-canary.59 [skip ci]
Sep 9, 2021
ce4f4de
Handling of not found layout service requests in Angular sample. The …
ambrauer Sep 9, 2021
537104c
version v19.0.0-canary.60 [skip ci]
Sep 9, 2021
557db4d
[VUE] [Regression] Internal Server error for Vue + --fetchWith GraphQ…
CobyPear Sep 14, 2021
673a264
version v19.0.0-canary.61 [skip ci]
Sep 14, 2021
d02705d
Generate ref docs for JSS and JSS for Next.js packages (#829)
ancaemcken Oct 11, 2021
b4185d9
version v19.0.0-canary.62 [skip ci]
Oct 11, 2021
06c9f49
Migrate off of deprecated Ubuntu 16.0.4 VM image
ambrauer Oct 11, 2021
a77a1fb
version v19.0.0-canary.63 [skip ci]
Oct 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 31 additions & 26 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jsdoc/recommended",
"prettier",
"prettier/@typescript-eslint"
Expand All @@ -15,7 +14,11 @@
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier", "jsdoc"],
"plugins": [
"@typescript-eslint",
"prettier",
"jsdoc"
],
"env": {
"browser": true,
"node": true,
Expand All @@ -29,31 +32,21 @@
"jsdoc/no-undefined-types": "off",
"jsdoc/require-returns-type": "off",
"prettier/prettier": "error",
"@typescript-eslint/naming-convention": [
"no-use-before-define": "off",
"no-useless-escape": "off",
"spaced-comment": "error",
"curly": [
"error",
{
"format": ["PascalCase"],
"selector": "typeLike",
"custom": {
"regex": "^I[A-Z]",
"match": false
}
}
"multi-line"
],
"@typescript-eslint/member-ordering": "error",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"eol-last": [
"error",
{ "functions": false, "variables": false }
"always"
],
"linebreak-style": [
"error",
"windows"
],
"@typescript-eslint/typedef": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/no-var-requires": "off",
"no-useless-escape": "off",
"spaced-comment": "error",
"curly": ["error", "multi-line"],
"eol-last": ["error", "always"],
"guard-for-in": "error",
"no-unused-labels": "error",
"no-caller": "error",
Expand All @@ -63,12 +56,24 @@
"no-eval": "error",
"dot-notation": "error",
"no-trailing-spaces": "error",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"brace-style": "error",
"quotes": ["error", "single"],
"quotes": [
"error",
"single"
],
"radix": "error",
"default-case": "error",
"eqeqeq": "error",
"jsx-quotes": ["error", "prefer-double"]
"jsx-quotes": [
"error",
"prefer-double"
]
}
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"editor.fontSize": 13
}
"editor.fontSize": 13,
}
506 changes: 495 additions & 11 deletions CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ pr:
- docs/*

pool:
# todo: we dgaf what specific version of Linux is installed, is there any way to wildcard the version?
vmImage: 'Ubuntu-16.04'
vmImage: 'ubuntu-latest'

variables:
shouldPublish: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/dev'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
Expand All @@ -58,7 +57,7 @@ steps:
npm run lint-apps
displayName: 'linting apps'
- script: |
npm run test-packages
npm run coverage-packages
displayName: 'running tests'
env: {
testEnv: 'ci'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ There are several mechanisms of using/outputting translated values with `ngx-tra

#### `JssTranslationLoaderService`

This implementation loads the Sitecore dictionary from the Dictionary Service provided by JSS, found at `/sitecore/api/jss/dictionary/`, using `HttpClient`. It is used as a "fallback" during both client and server rendering.
This implementation loads the Sitecore dictionary from the Dictionary Service provided by JSS, found at `/sitecore/api/jss/dictionary/`, using `RestDictionaryService`. It is used as a "fallback" during both client and server rendering.

#### `JssTranslationServerLoaderService`

Expand Down
4 changes: 2 additions & 2 deletions docs/data/routes/docs/client-frameworks/vue/reference/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ The library provides helper components to help output Sitecore field values.

> The helper components that are exposed from `sitecore-jss-vue` are all stateless functional components with the exception of `Placeholder`, which is a typical stateful component.

> In accordance with Vue's [recommendations for functional components](https://vuejs.org/v2/guide/render-function.html#Passing-Attributes-and-Events-to-Child-Elements-Components), any non-prop attributes passed to the component will be rendered as html attributes on the enclosing tag. Events that are passed will be propagated as well.
> In accordance with Vue's [attribute inheritance](https://v3.vuejs.org/guide/component-attrs.html#attribute-inheritance), any non-prop attributes passed to the component will be rendered as html attributes on the enclosing tag. Events that are passed will be propagated as well.

> It is also important to note that _none_ of the helper components exposed from `sitecore-jss-vue` are registered globally, e.g. via `Vue.component()`. This is intentional so as not to pollute the global component space and also to align with the tree-shaking capabilities of bundling tools like Webpack or Rollup. Therefore you will need to locally require/import any of the helper components you wish to use in your own components.
> It is also important to note that _none_ of the helper components exposed from `sitecore-jss-vue` are registered globally, e.g. via `app.component()`. This is intentional so as not to pollute the global component space and also to align with the tree-shaking capabilities of bundling tools like Webpack or Rollup. Therefore you will need to locally require/import any of the helper components you wish to use in your own components.

Below is a list of all supported field helper components, and how they are used (where `field` is data coming from a placeholder component):

Expand Down
10 changes: 5 additions & 5 deletions docs/data/routes/docs/client-frameworks/vue/sample-app/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The Vue sample supports running in all [JSS application modes](/docs/fundamental

## Component Format

The JSS Vue sample primarily uses [Single-File Components (SFC)](https://vuejs.org/v2/guide/single-file-components.html) for presentational components. However, you are free to use whichever component declaration and registration method you choose, e.g. `render` functions, inline `template` properties, etc...
The JSS Vue sample primarily uses [Single-File Components (SFC)](https://v3.vuejs.org/guide/single-file-component.html#introduction) for presentational components. However, you are free to use whichever component declaration and registration method you choose, e.g. `render` functions, inline `template` properties, etc...

## Routing + State Management

Expand Down Expand Up @@ -90,9 +90,9 @@ The JSS [disconnected mode](/docs/fundamentals/application-modes) enables develo

Refer to the [JSS + GraphQL](/docs/fundamentals/services/graphql) documentation to understand the overall capabilities first - we're only talking about Vue and _Connected GraphQL_ specifically here. _Integrated_ GraphQL works at the server level, so it is identical in any supported frontend framework.

The Vue sample app makes use of the [vue-apollo](https://akryum.github.io/vue-apollo/) library which in turn integrates with the [Apollo GraphQL client](https://www.apollographql.com/client). Usage is fairly straightforward and you can follow the `vue-apollo` documentation for implementation specifics.
The Vue sample app makes use of the [@vue/apollo](https://v4.apollo.vuejs.org/) library which in turn integrates with the [Apollo GraphQL client](https://www.apollographql.com/client). Usage is fairly straightforward and you can follow the `@vue/apollo` documentation for implementation specifics.

> When server-side rendering (SSR), the sample app uses the `prefetch` functionality of `vue-apollo` to prefetch GraphQL query data and render the app to HTML on the server. This allows server-side rendering with the async results of GraphQL queries evaluated. If not using GraphQL, the `vue-apollo` prefetching functionality can be removed. It is _important_ to note that when `vue-apollo` is prefetching queries the queries do _not_ have access to instantiated components. This means no access to component props, state, or other instance properties. If queries need that type of data to populate query variables, the data will need to be extracted from the SSR state available via the `renderView` function.
> When server-side rendering (SSR), the sample app uses the `prefetch` functionality of `@vue/apollo` to prefetch GraphQL query data and render the app to HTML on the server. This allows server-side rendering with the async results of GraphQL queries evaluated. If not using GraphQL, the `@vue/apollo` prefetching functionality can be removed.

> Complete examples of using connected and integrated GraphQL are provided with the sample app and are heavily commented, for example `src/components/GraphQL-ConnectedDemo`. Please refer to these samples for implementation details.

Expand All @@ -116,12 +116,12 @@ export default {

Usage of `this.$jss` is dependent on installing the `SitecoreJssStorePlugin`:

_createApp.js_ (where your Vue instance is created, e.g. `new Vue()`)
_createApp.js_ (where your Vue instance is created, e.g. `createApp()/createSSRApp()`)

```javascript
import SitecoreJssStorePlugin from './lib/SitecoreJssStorePlugin';

Vue.use(SitecoreJssStorePlugin);
app.use(SitecoreJssStorePlugin);
```

The final piece of using `this.$jss.sitecoreContext()` and `this.$jss.routeData()` is to ensure that the `store` used by the `SitecoreJssStorePlugin` is updated when the Sitecore context/route data changes. This could be when the route changes in your app, or when server-side rendering passes down a state object - any time new layout data is pulled from Sitecore and rendered. To accomplish this, we use the `this.$jss.store.setSitecoreData()` function to update the JSS plugin store with data received from Layout Service. The `setSitecoreData` function accepts raw Layout Service data and updates the app-level context and route data accordingly. You can see an example of usage in `RouteHandler.js`. An abbreviated example is below:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jss start

We recommend reading the [sample app walkthrough](/docs/client-frameworks/vue/sample-app) to understand the sample app, but it's also well commented if you'd rather read code.

> The sample app was built using the [`@vue/cli` version 3](https://github.com/vuejs/vue-cli) as a starting point. However, the `sitecore-jss-vue` package has no dependencies on `@vue/cli`.
> The sample app was built using the [`@vue/cli` version 4](https://github.com/vuejs/vue-cli) as a starting point. However, the `sitecore-jss-vue` package has no dependencies on `@vue/cli`.

## Tools

Expand Down
Loading