0.15.0 (2023-07-07)
⚠ BREAKING CHANGES
- storefront:
useHeroSection
renamed (moved) to usePageHero
, useSections
renamed to usePageSections
- storefront:
useHomeMain
removed as it may not be used at all, Sections.astro
file should import useSections
directly - storefront:
import 'uno.css';
must be mannualy imported now for every page - storefront: New config/storefront.{tailwind|unocss}.cjs files in place of root ones to prevent duplicated (more or less complex) config generations
- storefront: Old (bad named)
preflight.css
file removed
May look to https://unocss.dev/guide/style-reset#tailwind-compat in a future
- storefront: Removing no more needed
routeContext
prop on many nested Astro components, getting from Astro.locals
instead - storefront: Renamed exports
loadPageContext
and type PageConext
to loadRouteContext
and RouteContext
instead - storefront: Expecing content/pages/home.json instead of content/home.json ,
HomeContent
removed from contend.d.ts exports
Features
- affilate-program: Setup app to handle simple affiliate program (#167) (7a29529)
- api: Add
SearchItems
and SearchResult
types (4326f7c) - api: Add optional
config.fields
option (af47797) - api: Add optional config common params for list (97c4e17)
- api: Add optional global
$apiMergeConfig
for all in-context requests (may be overwritten) (ef88575) - apps: Many optional env vars for apps credentials (#179) (881530a)
- discounts: Updating with original app v1.15.1 (29f97ab)
- firebase: Update config object with new
metafields: Record<string, any>
(636e7e8), closes #discussion_r1221705606 - flash-courier: Add app to integrate Flash Courier (#166) (a157a1c)
- modules: Updating schemas with https://github.com/ecomplus/modules-api/releases/tag/v0.12.58 (e2a803d)
- storefront: Additional computed within
useProductCard
(9f20334) - storefront: Additional computed within
useProductCard
(bf19fa3) - storefront: Consistent named exports for all Vue composables (603e8ec)
- storefront: New
useSections
layout Astro composable (ae709cd) - storefront: Set
Astro.locals.routeContext
globally available on Astro components (79b1111) - storefront: Setup
useProductCard
with fetch if product undefined and minor title i18n parse (20d8f78) - storefront: Setup new
useProductShelf
Vue composable (507e968) - storefront: Update Astro to v2.6.0 (35b7ac1)
Bug Fixes
- affiliate-program: Fix handling orders/customers events (#173) (07ffc61)
- api: Fix
SearchItems
pictures to match partial Products
picture (abb0fd9) - api: Fix
SearchItems
pictures type def (c98edf6) - api: Update
Endpoint
type def to accept doc find by field (5ca53e7) - api: Update
SearchItems
type with item._score
number (97b517e) - config: Stop using
import.meta.env
for global config (4100f74) - deps: Update
@ecomplus/utils
to v1.5.0-rc.4 (754f3ea) - deps: Update
@ecomplus/utils
to v1.5.0-rc.5 (8794ca6) - deps: Update Astro to v2.5.5 (3b6037c), closes #issuecomment-1568864726
- deps: Update Astro to v2.5.6 with
@astrojs/vue
v2.2.1 (38c906e) - deps: Update dependency astro to v2.5.7 (#169) (b381ebe)
- deps: Update non-major dependencies (#162) (76952eb)
- deps: Update non-major dependencies (#163) (d2ec64f)
- deps: Update non-major dependencies (#168) (7363e85)
- deps: Update non-major dependencies (#171) (79c5240)
- deps: Update non-major dependencies (#176) (495f0fa)
- flash-courier: Fix functions namespace and package exports filename (11628d6)
- flash-courier: Update app event function (#174) (74e5120)
- flash-courier: Updating tracking status parses (d7914ce)
- flash-courier: Updating with legacy v1.3.0 (b4bffd3)
- Many apps type def fixes (#177) [skip ci] (9194b1e)
- mercadopago: Fix path for oload expression script on list payments (#180) (ebd6d5d)
- modules: Type fixes with nested IDs and minor syntax updates (06fb211)
- pagarme: Update with legacy v1.5.0 (df2e61d)
- Replacing wrong (out of date) imports from
@cloudcommerce/api/lib/types
(7e6971c) - storefront: Caching only root CMS content (not collections) (ef77ae8)
- storefront: Fix
useProductCard
composable returned type (c07a525) - storefront: Fix global <AImg> prop
picture
typedef (39ac9e5) - storefront: Properly handling product shelf options (650fc6e)
- storefront: Removing
uno.css
import to be imported after custom UI classes (b66f847) - storefront: Strict
routeContext.cmsContent
type with page content object (aaa7355) - storefront: Update
useProductShelf
for easier use on Astro (SSR) composables (e6e562b) - storefront: Update astro (#189) (4634f88)
- storefront: Update astro to v2.7.0 (#182) (6588688)
- storefront: Update dependency astro to v2.6.3 (#170) (ce8379d)
- storefront: Update global
<ALink>
to keep same window on relative href (ca15480) - tiny-erp: Type fixes with nested resource IDs and resource find (165400c)
- types: Fix Carts interface items nested IDs [skip ci] (c7c1fa2)
- types: Properly defining nested Object IDs on many resources interfaces (8a20504)
- types: Update CMS settings metafields accept any value (2fd0597)
build
-
storefront: Read custom .ui-*
classes from src/assets/style.css for Tailwind IntelliSense (244a9e7)
-
storefront: Renaming (SSR) pageContext
to routeContext
(ceffb44)
-
storefront: Renaming assets/preflight.css
to assets/reset.css
(cd01bd9)
-
storefront: Renaming Astro sections composables (5cf529c)
-
storefront: Using generic PageContent
typedef instead of previous HomeContent
(4f566c9)