Releases: commercelayer/demo-store-core
v4.0.0
What's Changed
💥 Breaking Change
- Dropped support for Node.js 18. Now the
demo-store-core
requiresNode.js >= 20.9
. - Migrated to the new Authentication API.
- Update dependencies to latest major by @marcomontalbano in #23
Full Changelog: v3.0.0...v4.0.0
v3.0.0
What's Changed
💥 Breaking Change
Dropped support for Node.js 16. Now the demo-store-core
requires Node.js >= 18.17.0
.
- Update dependencies to latest major by @marcomontalbano in #21
Full Changelog: v2.3.0...v3.0.0
v2.3.0
What's Changed
💥 Breaking Change
Please note the starting from this release we renamed master
branch into main
.
If you are using the demo-store
template you'll need to regenerate the submodule:
# clean-up the submodule
git submodule deinit demo-store-core
rm -rf .git/modules/demo-store-core
# init from scratch
git submodule update --init --remote
🚀 Enhancement
- Improve the error message when missing translation by @marcomontalbano in #18
- Add a runnable test suite to package "types" by @marcomontalbano in #17
🐛 Bug Fix
- Improve UX when switching between categories by @marcomontalbano in #19
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
🚀 Enhancement
- Improve large page data by @marcomontalbano in #16
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
🚀 Enhancement
- Update to latest dependencies by @marcomontalbano in #15
🐛 Bug Fix
- Avoid memoization when SSR by @marcomontalbano in #14
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
💥 Breaking Change
- Countries and languages by @marcomontalbano in #13
Until now, locales have been generated by combining all countries with all languages. From now on, countries need to specify a list of supported languages.
Below you can find an example of the changes in countries.json
that you have to make to solve this breaking change:
...
{
"name": "United States",
"code": "US",
"market": 11279,
"catalog": "AMER",
- "default_language": "en",
+ "languages": ["en"],
"region": "Americas"
},
{
"name": "Italy",
"code": "IT",
"market": 11278,
"catalog": "EMEA",
- "default_language": "it",
+ "languages": ["it", "en"],
"region": "Europe"
}
...
The default_language
attribute inside the countries.json
is no more available. Instead you have to add the languages
attribute that is an array of supported language codes (from languages.json
)
Full Changelog: v1.1.0...v2.0.0
v1.1.0
What's Changed
💥 Breaking Change
If you're using the demo-store template, you'll need to run npm update
also. Here below the commands to update your demo-store:
git submodule update --remote
npm install
npm update
🚀 Enhancement
- Upgrade to Next.js 13 + all latest dependencies by @marcomontalbano in #4
- Swatches can manage image urls and base64 encoded images by @marcomontalbano in #5
- Search page fetches products on the client side rather than at build time by @marcomontalbano in #8
- Add french translations by @BolajiAyodeji in #7
🐛 Bug Fix
- Update cart link counter when updating the cart on the actual cart page by @marcomontalbano in #6
- Generate localized versions of demo-store pages by using
<link rel="alternate" ...
tag (SEO Improvement) by @marcomontalbano in #12
📝 Documentation
- Update documentation for the
types
package by @marcomontalbano in #11
New Contributors
- @marcomontalbano made their first contribution in #4
- @BolajiAyodeji made their first contribution in #7
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Demo Store Core v1 🎉
The first official release of Demo Store Core.
This Demo Store is a completely static ecommerce solution (with SSR capability) powered by Commerce Layer. The store is full-featured and fully operational, with no third-party services required. You can easily tailor your own with different levels of customization. Keep reading to learn more.
To get started please refer to the documentation located at demo-store
repository.
Take a look at @commercelayer/demo-store-types to create your own store data.
Full Changelog: https://github.com/commercelayer/demo-store-core/commits/v1.0.0