- update actions (#554) (e3321415)
- add vitepress setup (#555) (cedd094e)
- dev/plugin: build without templates directory (#552) (9073f4cc)
- plugin: render using code_template if it exists (#551) (0ab2f771)
- modules: update scaffold tailwind (#553) (daa62b0b)
- scaffold: update module template (#550) (4528c597)
- plugin: deprecated type assertion (#549) (f1c53a9c)
- modules: ignore user's build output options (#548) (7d119fc0)
- use scope when finding vite.config.js (#546) (4c74e43f)
- util: add useDocument hook (#528) (f27199ab)
- plugin: don't merge the entire user vite.config.js (#545) (5ba5ff4a)
- dev: increase serverless function POST limit (#544) (1b9de9ef)
- pnpm actions (083a7a54)
- change the type of additionalProperties in TemplateConfig to 'Record<string, any>' (#527) (8fd95b19)
- dev: don't lookup mime type unless there's an extension (#526) (72657e0d)
- plugin: add additionalProperties to templates.json (#525) (4cfc75ec)
- plugin: use the user's vite.config (#524) (57e3e812)
- handle siteStream's entityId as string (#523) (52ebb408)
- add RedirectSource (6920e222)
- plugin: export redirect types (#522) (fcb26479)
- handle static assets in modules (#514) (501a8f58)
- dev/plugin: _server.tsx now uses functions (#489) (7a97fa8e)
- delete binary (4103e46d)
- dev/plugin:
- update isProduction logic (#521) (fc3a80ec)
- update isProduction logic (c2c7d7ed)
- add support for src/redirects (#518) (269a2eeb)
- allow scoped vite.config.js (#516) (82a2593c)
- plugin: add support for statusCode to getRedirects (#515) (b2b997b7)
- dev: hide nested css warning (#520) (ad21b260)
- plugin: non-scoped templates not rendering properly (#517) (53634979)
- dev/plugin: update isProduction logic" (34515a9e)
- remove manifest check from getTemplatePaths (#519) (1ef944e2)
- dev: upgrade script uses engine 18.4.0 (#510) (4f82368d)
- scaffold: add response headers to config.yaml during scaffold (#508) (b9f64d9e)
- dev:
- filtering documents by slug (#513) (7530a0f5)
- serverless functions dev server crash (#511) (b263b2bb)
- scaffold:
- validate + format module name from user (#507) (c0968c70)
- edit tailwind in modules templates (#506) (e774cacb)
- dev:
- speed up page loads and alleviate memory pressure (#512) (3a1f6fc1)
- optimize loading index page (#509) (e8553cdf)
- deps: update non-major dependencies (#492) (a1cf300b)
- support scope with modules (#502) (7c7c4c02)
- dev: add widgets to dev mode (#497) (c2e2d1d2)
- scaffold: scaffold modules (#494) (20462260)
- plugin: add getAuthScope and pass to GeneratedPage (#495) (d9d14ee6)
- dev:
- adjust GTD logic and pass scope (#504) (9d486f2c)
- find correct document by slug (#498) (435beede)
- upgrade: exclude_list to excludeList (#503) (c578bd68)
- plugin: fixed logger error during build (#501) (00523a44)
- scaffold:
- include .jsx in tailwind (#500) (0186b912)
- update scaffold command to point tailwind to ./src/modules (#499) (d9b01fe1)
- update util function docs (#493) (c70d9845)
- fix dynamic JS doc (#490) (434121df)
- plugin: create plugin to integrate modules (#462) (a7ad9ea9)
- delete binary (79737e25)
- plugin: pathOverride used for relativePrefixToRoot (#482) (f852b8b6)
- add bot to playwright workflow (#481) (1ab63275)
- dev:
- include siteStream from config.yaml in GTD (#488) (348fff31)
- cache bust client (#487) (dac67b3a)
- upgrade: guard servingJson not existing (#485) (ea737049)
- plugin: alias imports not output in hydration files (#484) (0d2dd10e)
- upgrade: move imports from components-tsx-maps/geo (#478) (5c08fe8f)
- upgrade:
- check for Markdown before updating imports (#480) (02dd7120)
- siteStream conversion now sets specific fields (#479) (26c193d6)
- name of serving config in config.yaml (#477) (325d5d90)
- plugin: serverless function shared components (#476) (6b7c38ca)
- dev/plugin: static templates not working for alternate locales (#475) (ba12f1a6)
- remove binaries (a6ccbf28)
- dev: deprecate alternateLanguageFields (#470) (f7ff7bf9)
- dev:
- pass slug field stream name(s) to the cli (#472) (912787a3)
- pass slugField to generate-test-data if provided (#463) (090022d4)
- update serverless function types in upgrade script (#465) (292bdb3c)
- add slugField to TemplateConfig (#460) (58644df4)
- add pageUrlField to generated configs (#459) (d5784e02)
- add pageUrlField to TemplateConfig (#458) (5deaf543)
- upgrade search-ui-react and search-headless-react (#456) (767a8194)
- util: add dynamic function (#461) (d521e236)
- dev:
- remove websocket error (#473) (c4b708ec)
- filter out static templates when determining slug fields (#471) (f4024645)
- index page urls using
--no-prod-url
(#469) (fc684885) - locale query params not part of request (#468) (04beac56)
- upgrade script when using scope (#464) (76c2ad21)
- plugin:
- make min Node 20 version 20.2.0 (#467) (3c762ac8)
- polyfill node for serverless functions (#457) (4bb76530)
- deps:
- remove Vite as a dependency (b0eb12c4)
- updates all dependencies (#449) (2abc8594)
- update most dependencies (#445) (e003894f)
- fix changelog (91d666af)
- auto generate markdown files (#441) (70a25bea)
- dev:
- upgrade script updates Pages version (#451) (4dd2b42e)
- upgrade script replaces build:local with build (#452) (c3f4019e)
- deps: update to Vite 5 (#446) (9bc25aae)
- dev: make production the default for yextrc (#455) (7a59db19)
- plugin:
- allow "main" function exports and actually fail the build (#453) (c9156163)
- manifest not created correctly (#450) (4d97390f)
- add env var test (#438) (3ebe6b50)
- remove babel (#427) (7188a1eb)
- dev: use logWarning for index page messages (#426) (70f4d14f)
- add node engines to upgrade script (#444) (205db3e5)
- dev:
- better error message for CLI not installed (#413) (b73cb1c6)
- replace fetch imports in upgrade command (#435) (4483dd93)
- dev/plugin:
- support secrets (#433) (2df1478a)
- add localization to static pages (#430) (9d241f86)
- plugin:
- add ts-morph for client templates (#414) (cb9f5980)
- create and bundle client templates (#420) (ba4647aa)
- util:
- added jstest workflow (#405) (9d125fae)
- pass optional list of domains into isProduction (#417) (dd0820b6)
- plugin:
- generate templates/artifacts during build (#418) (17971e70)
- templateModule cache incorrect type (#411) (2f60f4d0)
- remove old artifactStructure assets (#443) (7568568d)
- add plugin to support subfoldered public assets (#431) (#442) (79dab524)
- client template cleanup works with scope (#439) (f1ef96f0)
- address "Cannot find module" for deno module imports (#424) (12fac105)
- adjust how site-stream.json is migrated (#436) (b912ea39)
- remove assetsDir support for config.yaml (#434) (bd592c51)
- fix watch command (#428) (46a9454d)
- dev/plugin:
- custom _client not working with React 17 (#419) (c0f2c7be)
- clearer error for non-string getPath value (#425) (8e0646bc)
- support HTML in Content fields (#422) (8a7a60d1)
- dev:
- prevent duplicate stream definitions (#408) (72302ae2)
- use Vite instead of esbuild, also Vitest (#416) (67f29ebe)
- include document support for static page
getPath
functions. (#421) (c7ae21a9)
- remove duplicate makeClientFiles (#437) (11fb8ada)
- dev:
- set siteInternalHostName locally (#401) (07d77e97)
- add noMigration flag for upgrade (#400) (62670993)
- add scope to yextrc (#397) (609e471a)
- add upgrade command (#395) (41e21259)
- plugin: move urlWriteback into pagesJS (#393) (b6b040d7)
- plugin: remove import meta resolve (#403) (f5afbeaf)
- pages-plugins: slugManager searchIds not working on webhook update (#399) (9ae11b06)
- [email protected] (391ea0cf)
- dev: use esbuild instead of ts-morph to parse template configs (#396) (c5c2d656)
- dev:
- set siteInternalHostName locally (#401) (07d77e97)
- add noMigration flag for upgrade (#400) (62670993)
- add scope to yextrc (#397) (609e471a)
- add upgrade command (#395) (41e21259)
- plugin: move urlWriteback into pagesJS (#393) (b6b040d7)
- plugin: remove import meta resolve (#403) (f5afbeaf)
- pages-plugins: slugManager searchIds not working on webhook update (#399) (9ae11b06)
- dev: use esbuild instead of ts-morph to parse template configs (#396) (c5c2d656)
- fix changelogs (c0d3aa07)
- dev: env vars through ts-morph double quoted (#394) (dc5032c8)
- plugin: include static assets in platform (#392) (5932e264)
- empty yaml leads to parse error (#391) (a1632ce8)
- dev:
- fix dev and tests on Windows (#386) (16ee235d)
- use ts-morph to parse template configs (#387) (bc51b803)
- serverless functions body format consistency (#385) (a2ad104a)
- dev: update missing localData message (#381) (2f33ce02)
- update changelog (4d8d3d8d)
- add templates and artifacts generation commands (#383) (4dd8dd1e)
- serverless function imports (#384) (d95fa418)
- env vars causing error on feature generation (#380) (b8bb7a87)
- update non-major dependencies (#373) (fa613e3b)
- dev: export createServer and add --port arg (#375) (3c1d05f6)
- dev/plugin: redo reverse proxy setup (#376) (a6408020)
- dev:
- add more esbuild loaders (#379) (ed5937fb)
- qa improvements for .yextrc init (#368) (0c38b240)
- hydration does not reflect template data mutations (#365) (30b9382a)
- async serverless functions and body parsing (#378) (ba2d5ce4)
- update paths to support usage in monorepos (#377) (4cf67c99)
- plugin: polyfill upgrade breaking build (#374) (d376d4c1)
- update changelog and release version (1283e9e7)
- update changelog and release version (be69d2d0)
- update changelog and release version (e3b7928c)
- migrate from Yargs to CommanderJS (#351) (f37b727a)
- dev:
- link entityId to KG (#354) (09bceb92)
- add links to Yext account and documentation on index page (#357) (dd56dca4)
- default hydrate to true (#359) (b4b84f62)
- support document typing (#332) (8800df0a)
- styled index page (#326) (0a0da397)
- add .yextrc support for auto yext init (#329) (1755018d)
- dev/plugin:
- support React 18 (#353) (366d2931)
- upgrade to Vite 4 (#350) (29c7fb75)
- add Generator plugin to ci.json during build (#311) (73aec942)
- plugin:
- add reverse proxy support (#318) (68cd81d2)
- fail the build when there are errors (#314) (f90db5b9)
- components: add Clusterer component. (#313) (c7d97413)
- dev:
- server crashes instead of producing 500 error (#366) (9056b3a1)
- scope/domain omitted in dynamic mode (#367) (b1971c3c)
- opening browser tab not working (#355) (0b5e490e)
- fixed URI encoding issue (#346) (d24cfa9f)
- static page locale support (#339) (f6d60695)
- index page QA - update warning/info text and add favicon (#333) (b02fe061)
- qa updates for
.yextrc
CLI (#336) (b34df159) - duplicated generate-test-data (#334) (589149ac)
- add additional filetypes to esbuild loader for features.json (#331) (c9d50205)
- handle ico import (#322) (65a224b8)
- util:
- deno version not properly set (#364) (c590208f)
- update isProduction to check for RPs (#342) (37e26980)
- plugin:
- fail platform build when PagesJS build fails (fix #347) (#348) (eeb962c8)
- include scope for ci.json generation (#343) (6102c745)
- app lang not properly set (#344) (c98e1384)
- finalize reverse proxy support (#330) (c6e59c9b)
- cache dynamic import of plugin render templates (#325) (d199cfc3)
- use vite-plugin-node-polyfills (#316) (45d0f922)
- remove space from pluginName (#315) (877fb024)
- [email protected] (8b3454f3)
- plugin: do not report gzipped size (#323) (833b98d4)
- restore command handlers (#356) (657c3e0c)
- use nullish coalescing in features.ts (#363) (d7e098f7)
- use values instead of entries in createFreaturesJson (#362) (93568160)
- util: update isProduction to check for RPs (#342) (51248ac6)
- plugin: remove manifest from TemplateProps (#338) (dc66bb28)
- dev:
- add additional filetypes to esbuild loader for features.json (#331) (cbf416ba)
- plugin:
- app lang not properly set (#344) (ea833e07)
- finalize reverse proxy support (#330) (c6e59c9b)
- app lang not properly set (#344) (0d13be1a)
- util: update isProduction to check for RPs (#342) (604f22f1)
- plugin: remove manifest from TemplateProps (#338) (dc66bb28)
- plugin:
- app lang not properly set (#344) (ea833e07)
- finalize reverse proxy support (#330) (c6e59c9b)
- util: update isProduction to check for RPs (#342) (604f22f1)
- plugin:
- add reverse proxy support (#318) (68cd81d2)
- fail the build when there are errors (#314) (f90db5b9)
- components: add Clusterer component. (#313) (c7d97413)
- dev/plugin: add Generator plugin to ci.json during build (#311) (73aec942)
- plugin:
- cache dynamic import of plugin render templates (#325) (d199cfc3)
- use vite-plugin-node-polyfills (#316) (45d0f922)
- remove space from pluginName (#315) (877fb024)
- dev: handle ico import (#322) (65a224b8)
- plugin: update the single file size limit (#312) (f14472c5)
- dev: properly support slugs with URL-encoded characters (#299) (759c500e)
- [email protected]" (a4fb349a)
- plugin: generate functionMetadata.json (#293) (0d452a19)
- dev: list serverless functions on index page (#291) (7a4277e4)
- [email protected] (9ded0694)
- [email protected]" (71b3474f)
- dev: use Vite JS API for build command (#288) (70e08fc7)
- [email protected]" (71b3474f)
- [email protected] (5e37ab55)
- dev/plugin: add file extension to node_module/file import (#282) (876f4868)
- util: define Vite .env variables for use in application (#281) (a64eddf7)
- plugin: use relative path for css/js imports (#285) (24bab120)
- add CODEOWNERS file (#277) (8233357f)
- gracefully handle Analytics failures in the
Link
Component. (#280) (bef4685c) - dev: fix linux support + static site acceptance across OS (#275) (968c97e1)
- util: improve runtime environment checking (#272) (b54cec94)
- add prod url message (#267) (bb18aa69)
- util: update documentation url (#274) (1c2122ba)
- dev: fix dev command on Windows (#276) (b359e352)
- update GH workflows to remove deprecation warnings (#262) (5d61180d)
- dev: use new available port if default dev server port is occupied (#264) (cfe504c4)
- components: add empty string fallback for when publisher is null (#257) (7d309256)
- dev: add back favicon support in dev mode (#259) (fb6e18c7)
- dev: document.slug URLs in dev mode (#256) (9cc7e357)
- components: add link stories (#238) (1e52a761)
- components:
- make check for publisher in getDirections be case-insensitive (#255) (e20e1af8)
- add
LocationMap
component (#242) (261a960a) - support pageDomain param (#239) (2591572d)
- dev/plugin:
- add build command with scope flag (#249) (55dddec3)
- multibrand setup support in dev and vite-plugin build (#246) (0dce72a0)
- dev:
- add flags to features command for multibrand setup (#248) (6de548c5)
- add Scope Flag to Dev Command (#247) (f4f7607c)
- components:
- add loading eager to image (#252) (06f5ecc8)
- make fixed Image width and height optional (#241) (36d87cc8)
- plugin: remove configuration parameter for vite-plugin (#250) (f94d5beb)
- dev:
- parse multiple stream documents (#245) (17718ce2)
- interpreting contentType when serving templates (4c25b93a)
- components: remove
process?
optional chaining (#237) (b48875ba)
- plugin: dedupe the css file list to avoid unnecessary imports (#235) (8d96efc9)
- components:
- bump yext/analytics version (#231) (373ac02b)
- upgrade storybook to use vite (#217) (16fd089c)
- remove vitepress and use storybook (#221) (5d757d06)
- add prepare script for @yext/pages (#214) (0e2d0f67)
- components: add address stories (#227) (82fa43f0)
- components:
- add Map component (#171) (c41d3239)
- enable debugging for Analytics in dev mode (#226) (02327faf)
- dev: allow render-only templates to work (#219) (ac1eab96)
- components: set sizes attribute for images (#232) (3c843b3e)
- features command when using top-level await (#230) (9f32e197)
- dev: remove final slash from static page urls on index (#220) (6aac7bc9)
- swap changelog generation to generate-changelog (#204) (31812d2d)
- upgrade all non-major dependencies (#203) (4e085034)
- auto-format and lint as pre-commit hook (#198) (b6c72c77)
- components: add getDirections function (#172) (88166d02)
- util: add isServerSide to getRuntime (#193) (769c9288)
- components:
- image url not using correct env in all cases (#205) (fd5924a0)
- export Hours (#190) (3493c272)
- dev:
- local dev not working on linux distros (#199) (123ed619)
- remove spaces causing client/server console error (#196) (b1f7f40c)
- components: remove hours until css issue is fixed (#202) (c54573e2)
- components: add environment compatibility to mktgcdn urls (#167) (5565bc7)
- components: fix un-gated window access in analytics component (#186) (47c7589)
- components: image url now correctly handles envs (#192) (b5d3db0)
- dev/plugin: address incompatibilities with windows (#173) (de67065)
- dev: add newline to error messages (#175) (2f88862)
- dev: fix template path import for windows (#177) (9a8b7f3), closes #170 #173
- dev: honor feature name casing in local dev url (fixes #121) (#146) (e6fb9f2)
- dev: prevent crashing on empty id (#169) (ffca6de), closes #168
- improve errors related to undefined getPath (fixes #130) (#138) (37b33d0)
- index page incorrectly saying there is no localData (fix #135) (#136) (dd272d2)
- plugin: add features.json generation back to build plugin (#187) (4650f55)
- update bundler plugin copying (#111) (c602104), closes #109 #109
- update getRuntime to work with the plugins system (#161) (02aee27)
- util: guard window check when getting deno version (#188) (e9e4cd1)
- add alternateLanguageFields to the template config (#112) (c53b08d)
- components: add
Image
component (#144) (f6bad2c) - components: add Address component (#159) (c93b960)
- components: add AnalyticsProvider (#151) (be32c2c)
- components: add Hours component (#163) (b9efd30)
- components: add Link component (#158) (436464d)
- components: add support for simple image fields (#180) (15cb86b), closes #156 #155
- dev: redirect if url ends in final slash (closes #143) (#148) (61d38e9)
- dev: support alternate languages via
locale
query param (#141) (3aa60c8) - extract features.json generation into its own command (#170) (6a7f2a4)
- plugin: validate file sizes (closes #145) (#147) (6a16d2a)
- util: add fetch and runtime functions (#118) (207fc63), closes #117 #119 #120 #124 #125 #126
- util: add isProduction function (#150) (f89f45d)
- components: add environment compatibility to mktgcdn urls (#167) (5565bc7)
- components: fix un-gated window access in analytics component (#186) (47c7589)
- dev/plugin: address incompatibilities with windows (#173) (de67065)
- dev: add newline to error messages (#175) (2f88862)
- dev: fix template path import for windows (#177) (9a8b7f3), closes #170 #173
- dev: honor feature name casing in local dev url (fixes #121) (#146) (e6fb9f2)
- dev: prevent crashing on empty id (#169) (ffca6de), closes #168
- improve errors related to undefined getPath (fixes #130) (#138) (37b33d0)
- index page incorrectly saying there is no localData (fix #135) (#136) (dd272d2)
- plugin: add features.json generation back to build plugin (#187) (4650f55)
- update bundler plugin copying (#111) (c602104), closes #109 #109
- update getRuntime to work with the plugins system (#161) (02aee27)
- util: guard window check when getting deno version (#188) (e9e4cd1)
- add alternateLanguageFields to the template config (#112) (c53b08d)
- components: add
Image
component (#144) (f6bad2c) - components: add Address component (#159) (c93b960)
- components: add AnalyticsProvider (#151) (be32c2c)
- components: add Hours component (#163) (b9efd30)
- components: add Link component (#158) (436464d)
- components: add support for simple image fields (#180) (15cb86b), closes #156 #155
- dev: redirect if url ends in final slash (closes #143) (#148) (61d38e9)
- dev: support alternate languages via
locale
query param (#141) (3aa60c8) - extract features.json generation into its own command (#170) (6a7f2a4)
- plugin: validate file sizes (closes #145) (#147) (6a16d2a)
- util: add fetch and runtime functions (#118) (207fc63), closes #117 #119 #120 #124 #125 #126
- util: add isProduction function (#150) (f89f45d)
- components: add environment compatibility to mktgcdn urls (#167) (5565bc7)
- dev/plugin: address incompatibilities with windows (#173) (de67065)
- dev: add newline to error messages (#175) (2f88862)
- dev: honor feature name casing in local dev url (fixes #121) (#146) (e6fb9f2)
- dev: prevent crashing on empty id (#169) (ffca6de), closes #168
- improve errors related to undefined getPath (fixes #130) (#138) (37b33d0)
- index page incorrectly saying there is no localData (fix #135) (#136) (dd272d2)
- update bundler plugin copying (#111) (c602104), closes #109 #109
- update getRuntime to work with the plugins system (#161) (02aee27)
- add alternateLanguageFields to the template config (#112) (c53b08d)
- components: add
Image
component (#144) (f6bad2c) - components: add Address component (#159) (c93b960)
- components: add AnalyticsProvider (#151) (be32c2c)
- components: add Hours component (#163) (b9efd30)
- dev: redirect if url ends in final slash (closes #143) (#148) (61d38e9)
- dev: support alternate languages via
locale
query param (#141) (3aa60c8) - extract features.json generation into its own command (#170) (6a7f2a4)
- plugin: validate file sizes (closes #145) (#147) (6a16d2a)
- util: add fetch and runtime functions (#118) (207fc63), closes #117 #119 #120 #124 #125 #126
- util: add isProduction function (#150) (f89f45d)
- dev: honor feature name casing in local dev url (fixes #121) (#146) (e6fb9f2)
- improve errors related to undefined getPath (fixes #130) (#138) (37b33d0)
- index page incorrectly saying there is no localData (fix #135) (#136) (dd272d2)
- update bundler plugin copying (#111) (c602104), closes #109 #109
- add alternateLanguageFields to the template config (#112) (c53b08d)
- components: add
Image
component (#144) (f6bad2c) - dev: redirect if url ends in final slash (closes #143) (#148) (61d38e9)
- dev: support alternate languages via
locale
query param (#141) (3aa60c8) - plugin: validate file sizes (closes #145) (#147) (6a16d2a)
- util: add fetch and runtime functions (#118) (207fc63), closes #117 #119 #120 #124 #125 #126
- util: add isProduction function (#150) (f89f45d)
PagesJS has hit beta! 🔥 Besides adding new features and bug fixes, yext-sites-scripts has been renamed to pages. Additionally, the former vite-plugin-yext-sites-ssg has been moved under pages as well. This means that you now only need to import @yext/pages in your repo's package.json.
"@yext/pages": "1.0.0-beta.0"
To import the plugin, use import yextSSG from "@yext/pages/vite-plugin";
.
To import types in your templates, use import { TemplateConfig } from "@yext/pages";
.
- feat: standard dev server index.html
- feat: add relativePrefixToRoot and path to template props
- feat: add getRedirects function
- feat!: change Data interface to TemplateProps
- feat!: move streamOutput up one level
- feat!: change name of GetStaticProps to TransformProps
- feat: support public env vars via YEXT_PUBLIC prefix
- feat: make dynamic the default mode - new flag is -- local
- feat: allow transforms in stream definitions
- chore: upgrade to Vite 3
- feat: support entityIds to TemplateConfig filter
- feat: include charset and viewport in GetHeadConfig
- refactor!: move vite-plugin-yext-sites-ssg into sites-scripts
- refactor!: rename yext-sites-scripts to pages
- feat!: change Default interface to Template
- feat: add alternateLanguageFields to the template config
- fix: handle site-stream.json in local dev
- fix: guard GetHeadConfig and throw warning
- fix: support _site data in static features