All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Option to hide Pagination "Posts Per Page" text in app settings.
- When changed, the selected "Posts Per Page" option is updated in both instances of the pagination component.
- Change default query arguments to enums instead of strings where appropriate
- Support for
slug_id
URL param inWordpressPostContainer
,WordpressNavigation
, andWordpressPage
components
- When searching posts, query tag names that match the searched terms, and return the associated posts.
- Remove active post from the Latest Posts Preview or Category Preview blocks, if it is present
- Added required tags, exclude tags, and exclude categories filters to the Latest Posts Preview block
- PaginationComponent CSS handle
- Search Result Block not displaying posts on store product search page
- Displaying wrong categories in post teasers
- Add support for Yoast SEO plugin
- Support subcategory use in blog URLs
- Add additional post content CSS handles
- Add additional translations in post content meta header
- Add block prop to customize posts per page in paginated lists
- CSS handle for post category links in post titles
- Use getTags and getCategories in Post resolver to prevent too many requests error from the WordPress API
- Scroll to top when page change
- Implement try/catch for author and featured_media page resolvers so that pages can still be displayed if author or media details can't be accessed
- Fetch all Post/Categories query in sitemap generation endpoint
- Add sitemap entries to all sitemaps when multiple bindings are used
WordpressBreadcrumb
component: handle undefinedparams
object
- Support span tag in post html data
- Add Blog posts and categories to sitemap
- Support sku-selector inside related product shelf
- Added App Store metadata information
- CSS handle for Wordpress Teaser image container
- Related Product Shelf not being displayed
- Items Per Page selector in Pagination component
- Use client locale for blog date display
- App setting to specify an API base path other than
wp-json/v2/wp/
- CSS handle for Wordpress Teaser header
- Update to Node 6.x builder
- Public metadata information following App Store standards
- Prefix CSS classes in WordPress post and page body HTML to enable them as CSS handles
- Identify pages on Site Editor with
_id
on runtime params and links - Update docs
- Add CSS handle for post body in teasers
- Update docs
- Add CSS handles for post date, author, and category link in teasers
- Update docs
- WordPress page GraphQL queries now work correctly
- Update ES messages
- Update PT messages
- Update docs
blog-post-navigation.wordpress
andblog-post-container.wordpress
blocks
- ES and PT internationalization
- Update app store descriptions
- Add billingOptions type and availableCountries
absoluteLinks
prop to some components, to allow linking to blog posts on external WP site
- pt-BR and es-AR descriptions
- Update app store assets
- Update docs and add app store assets
- Improvements to URL-controlled pagination
- Support for multiple WordPress installations
WordpressRelatedPosts
block now usesuseProduct
to get product reference code
- Support for URL-controlled pagination on certain WP components
- Pagination controls at bottom of lists in addition to top
- Better navigation between WP store pages to allow for more flexibility in blog routes
- Backend support for custom endpoints (frontend support still pending)
- Use
useMemo
in conjunction with anyinsane
HTML sanitization calls to improve performance
- Removing html tags from the metatag description
- Support for Wordpress pages
- Add error handling for featured media resolver failures
- Strip paragraph tags from Wordpress meta descriptions.
- Support for Wordpress post image meta tagging.
- fix extra parentheses problem, add extra supported class attributes on tags for WP posts of related categories
- New CSS handler
teaserTitleLink
.
- Simplified outbound access rule to allow any host but only at the path
/wp-json/wp/v2/*
- Updated docs
- Removed unnecessary props from
WordpressCategoryRelatedPostsBlock
- Interface for
WordpressCategoryRelatedPostsBlock
- Outbound access for Bennemann blog URL
- rebase local branch onto master in preparation of new release with interfaces update
- new block to support posts related to categories by tag, update to sanitzer configs
- Use
insane
for html sanitization, remove unused modules
- Outbound access for Localiza blog URL
- Fixed the way
WordpressProductSearchResult
accesses the current search query - Added missing
slug
field in some GraphQL queries
- WordpressCategoryBlock was still using old URL structure for link to "All (category) Posts"
- Additional null checking for ProductQuery in WordpressRelatedPosts
- Blog post and category URLs are now based on slugs rather than numeric IDs
- WordpressRelatedPostsBlock now checks to make sure productQuery is defined before rendering
- Fixed bug preventing some blog breadcrumbs from displaying
- Fixed double Link in blog teasers with text overlays
- All components are now FunctionComponents
- Moved components out of root folder
- Updated components to use React-Apollo
useQuery
hook - Implemented CSS Handles
- Changed the way
WordpressProductSearchResult
accesses the current search query per the new requirements ofwithSearchContext
- Fixed render issue with
withSettings
HOCs (container div was not being re-rendered after loading completed)
- Removed min-height styling from
withSettings
HOCs
- Article search now uses the param
term
instead ofterms
(terms
is reserved byrender-runtime
) - Applied standard VTEX prettier to react files
- Updated documentation and deleted README.md in root folder
search-blog-articles-list
to allow paginated article search results on product search pagewordpress-breadcrumb
now shows search query on article search result pages
- Use
defineMessages
fromreact-intl
- Allow
h1
andh2
tags in Wordpress blog post content
- Start using
search-graphql
for product queries.
search-blog-articles-preview
block to show article search results on product search result page
- Disabled SSR for appSettings calls except where necessary
- App settings query for blogRoute fixed
- Disabled SSR for paginated lists to avoid SSR timeouts
- General performance improvements
- Docs migration