# @akinon/next

## 2.0.11

### Patch Changes

- 72fe7898: ZERO-4463: Add 'pz-list-hover-image' plugin to the plugin list

## 2.0.10

### Patch Changes

- 31f07bd7: ZERO-4459: Move migrate-eslint codemod into @akinon/projectzero and integrate into upgrade-to-2

## 2.0.9

## 2.0.8

### Patch Changes

- ef867189: ZERO-4437: Add ESLint flat config migration codemod (pz-migrate-eslint)

## 2.0.7

### Patch Changes

- f0e6980a: ZERO-4394: Soften react-hooks/refs to warn for incremental adoption
- 89ed4e03: ZERO-4394: Add Next.js 16 ESLint migration v9 + flat config

## 2.0.6

### Patch Changes

- 89deabe5: ZERO-4392: Remove deprecated dependencies and update package versions in yarn.lock
- 1a345c47: ZERO-4234: Add Global Toast Notification System
- 1f1ae44e: ZERO-4230: Add Commerce API mock/replay mode for development
- 8d8fefbe: ZERO-4398: Enhance SEO metadata generation for flat pages and update FlatPage interface to include localized URLs

## 2.0.5

### Patch Changes

- d8ed63e5: ZERO-4385: Fix `RedirectType` import in `redirect.ts` to derive type from `nextRedirect` signature, restoring compatibility with Next.js 16.2.x where `RedirectType` is exported only as a runtime const from `next/navigation`. Also bumps `next`, `@next/third-parties`, and `eslint-config-next` to 16.2.4.

## 2.0.4

### Patch Changes

- 17ffe0ef: ZERO-4378: Pin @types/minimatch to 5.1.2 to fix TS2688 build error caused by stub 6.0.0 package

## 2.0.3

### Patch Changes

- 5cf50dfb: ZERO-4376: Remove [skip ci] from Update Beta step so beta pipeline auto-triggers like RC (next-main pre-release parity)

## 2.0.2

### Patch Changes

- 9dcce7d3: ZERO-4376: Add Update Beta pipeline step (RC parity) and empty-commit guards for RC/Beta publish steps. CI/CD only — no runtime changes.

## 2.0.1

## 2.0.0

### Minor Changes

- cf3a9901: ZERO-3585: Fix cookie handling for widget builder in ClientRoot component
- 9076e50e: ZERO-3136: Refactor DynamicWidgetContainer and WidgetContent for improved styling and component tagging
- d0e1ef78: ZERO-3232: Integrate widget styles generation directly in WidgetPlaceholder
- 1d10dde2: ZERO-3553: Add alignment style for image components
- 74c6a237: ZERO-3060: Drag and drop functionality on the site implemented

### Patch Changes

- 05c19ad0: ZERO-4365: Remove brand `@theme/*` alias imports from library packages
- 09ccd457: ZERO-4371: Restore `URLSearchParams` type for `PageProps.searchParams` (v1 brand backward compat)

  In v1 (`@akinon/next` 1.x) `PageProps.searchParams` was typed as `URLSearchParams`. Beta v2 widened this to a `Record<string, string | string[]> | URLSearchParams` union, which broke v1 brand pages calling `new URLSearchParams(searchParams)` (TS rejects the `Record<string, string[]>` arm of the union).

  This restores the v1 contract — `PageProps.searchParams: URLSearchParams` — and adds a defensive runtime normalizer in the server `withSegmentDefaults` HOC so Next 16's raw `Record<string, string | string[]>` is converted to a real `URLSearchParams` instance before brand components see it. v1 brands can keep using `.get()`/`.has()`/etc safely without code changes.

  A new `RawSearchParams` type is exported for code at the middleware/HOC boundary that needs to handle the unnormalized Next 16 shape directly.

- 5d44ff77: ZERO-4312: Extract ThemePlaceholder system into new @akinon/pz-theme package and strip native widget code

  Introduce a dedicated `@akinon/pz-theme` package that contains the ThemePlaceholder system (CMS-driven sections/blocks, designer features, utilities). Remove native widget registration infrastructure from both `@akinon/pz-theme` and `projectzeronext` so the beta branch can be merged to main with only stable ThemePlaceholder functionality. Native widget integrations will be reintroduced via `@akinon/pz-theme` once they stabilize on the `theme-editor` branch.

  Consumers should update imports:

  - `@akinon/next/components/theme-editor/*` -> `@akinon/pz-theme/src/*`
  - Add `@akinon/pz-theme` to package.json dependencies (matching `@akinon/next` version)

## 2.0.0-beta.27

## 2.0.0-beta.26

### Patch Changes

- 09ccd457: ZERO-4371: Restore `URLSearchParams` type for `PageProps.searchParams` (v1 brand backward compat)

  In v1 (`@akinon/next` 1.x) `PageProps.searchParams` was typed as `URLSearchParams`. Beta v2 widened this to a `Record<string, string | string[]> | URLSearchParams` union, which broke v1 brand pages calling `new URLSearchParams(searchParams)` (TS rejects the `Record<string, string[]>` arm of the union).

  This restores the v1 contract — `PageProps.searchParams: URLSearchParams` — and adds a defensive runtime normalizer in the server `withSegmentDefaults` HOC so Next 16's raw `Record<string, string | string[]>` is converted to a real `URLSearchParams` instance before brand components see it. v1 brands can keep using `.get()`/`.has()`/etc safely without code changes.

  A new `RawSearchParams` type is exported for code at the middleware/HOC boundary that needs to handle the unnormalized Next 16 shape directly.

## 2.0.0-beta.25

### Patch Changes

- 05c19ad0: ZERO-4365: Remove brand `@theme/*` alias imports from library packages

## 2.0.0-beta.24

## 2.0.0-beta.23

## 2.0.0-beta.22

## 2.0.0-beta.21

### Patch Changes

- 5d44ff77: ZERO-4312: Extract ThemePlaceholder system into new @akinon/pz-theme package and strip native widget code

  Introduce a dedicated `@akinon/pz-theme` package that contains the ThemePlaceholder system (CMS-driven sections/blocks, designer features, utilities). Remove native widget registration infrastructure from both `@akinon/pz-theme` and `projectzeronext` so the beta branch can be merged to main with only stable ThemePlaceholder functionality. Native widget integrations will be reintroduced via `@akinon/pz-theme` once they stabilize on the `theme-editor` branch.

  Consumers should update imports:

  - `@akinon/next/components/theme-editor/*` -> `@akinon/pz-theme/src/*`
  - Add `@akinon/pz-theme` to package.json dependencies (matching `@akinon/next` version)

## 2.0.0-beta.20

### Minor Changes

- cf3a9901: ZERO-3585: Fix cookie handling for widget builder in ClientRoot component
- 9076e50e: ZERO-3136: Refactor DynamicWidgetContainer and WidgetContent for improved styling and component tagging
- d0e1ef78: ZERO-3232: Integrate widget styles generation directly in WidgetPlaceholder
- 1d10dde2: ZERO-3553: Add alignment style for image components
- 74c6a237: ZERO-3060: Drag and drop functionality on the site implemented

## 1.126.0

## 1.125.2

## 1.125.1

### Patch Changes

- 06da9a95: ZERO-4241: Upgrade Next.js from 14.2.25 to 14.2.35 to fix security vulnerabilities (CVE-2025-55184, CVE-2025-67779)

## 1.125.0

### Minor Changes

- cd68a97a: ZERO-4126: Enhance error handling in appFetch and related data handlers to throw notFound on 404 and 422 errors

## 1.124.0

### Minor Changes

- 929374c5: ZERO-3278: refactor variable names for better readability and consistency
- 71f8011d: ZERO-3271: remove code repetition in logger functions using closures
- 9be2c081: ZERO-3243: Improve basket update query handling with optimistic updates
- bd431e36: ZERO-3278: improve checkout validation error messages for better user guidance
- 54eac86b: ZERO-3271: add development logger system

## 1.123.0

### Minor Changes

- 8218dafa: ZERO-4160: Refactor oauth-login middleware to use fetch for login and callback responses
- 2a8ddcf6: ZERO-4111: Add total balance field to store credit localization and update related components
- 8a7fd0f4: ZERO-4065: Add '[segment]' to skipSegments in route generation
- 36143125: ZERO-3987: Add barcode scanner functionality with modal and button
- f7e0f646: ZERO-4032: Add bfcache-headers middleware, integrate it into the default chain, and introduce a new environment variable for control.
- 94a86fcc: ZERO-4065: Expand skipSegments array to include additional segments for route generation
- bcaad120: ZERO-4158: Add logging for OAuth login and callback redirects

## 1.122.0

### Minor Changes

- 823d82f9: ZERO-3393: Enhance error handling in checkout middleware to ensure errors are checked for existence before processing
- d2c0e759: ZERO-3684: Handle cross-origin iframe access in iframeURLChange function
- 68bbcb27: ZERO-3393: Fix error handling in checkout middleware to check for errors array length
- 9b7d0de6: ZERO-3393: Improve error handling in checkout middleware to support both object and array error formats
- 5ec0faf8: ZERO-3355: Refactor Redis client creation to include optional password in configuration

## 1.121.0

### Minor Changes

- 49c82e1a: ZERO-4047: Remove Sentry configuration from default Next.js config
- d7e5178b: ZERO-3985: Add query string handling for orders redirection in middleware
- b59fdd1c: ZERO-4009: Add password reset token validation

## 1.120.0

### Minor Changes

- b12527ec: ZERO-4102: Add support for post-checkout redirect in middleware
- aef81c5d: ZERO-4034: Refactor checkout API to use dynamic store imports for improved performance
- 0754c835: ZERO-4063: Add support for optional Redis password in cache handlers
- a9f5cdb1: ZERO-4102: Fix post-checkout condition to additionally check for empty search parameters.
- 01ee41f1: ZERO-4102: Implement a post-checkout flow by dynamically determining checkout paths and managing a pz-post-checkout-flow cookie.
- c6c5c1cd: ZERO-4128: Use cookies API for pz-pos-error to ensure delivery on 303 redirects

## 1.119.0

## 1.118.0

### Minor Changes

- 729fe756: ZERO-3895: improve non-3D payment handling and error display

## 1.117.0

## 1.116.0

### Minor Changes

- d7ec6b08: ZERO-3988: Add Google Pay option to plugin selection
- 726491df: ZERO-3988: Add google pay integration

## 1.115.0

### Minor Changes

- b59bed4d: ZERO-3878: Reintegrated similar products and removed localStorage checks and implemented props based showing of buttons
- b5f9d75c: ZERO-3873: Refactor payment redirection middlewares to properly forward all set-cookie headers from upstream responses
- cbcfdf4d: ZERO-3859: Haso payment gateway implmeneted
- 71882722: ZERO-3897: Add compress option to default Next.js configuration
- 7056203a: ZERO-3875: removed shared_tags through stripTags function for unused keys

## 1.114.0

### Minor Changes

- 65d3b862: ZERO-3054: Update headers in appFetch
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
- fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing

## 1.113.0

## 1.112.0

### Minor Changes

- 888fdec: ZERO-3792: Virtual Try On new features are implemented and also basket support implemented.

## 1.111.0

### Minor Changes

- c026300: ZERO-3833: fix masterpass rest conflicts
- b47b9d8: ZERO-3414: create masterpass-rest package

## 1.110.0

### Minor Changes

- fc752c9: ZERO-3795: Remove unnecessary redirection logic from payment middleware
- 757af4a: ZERO-3783: Update image remote patterns for security compliance

## 1.109.0

### Minor Changes

- fcbbea79: ZERO-3648: Add virtual try-on feature with localization support

## 1.108.0

### Minor Changes

- d8883ce6: ZERO-3640: Refactor wallet completion handling to accept additional parameters; update related API calls
- 59ed7a7e: ZERO-3640: Add order number state and update FlowPayment component for wallet payment response handling
- 31a2d35a: ZERO-3640: Refactor checkout API call to include useFormData option; update FlowPayment component for improved error handling and code readability

## 1.107.0

### Minor Changes

- 4ca44c78: ZERO-3634: add register_consumer_card
- 28c7ea79: ZERO-3427: Refactor redirect utility to handle undefined URL and improve locale handling
- b6e5b624: ZERO-3257: Enhance locale middleware to redirect using existing or default locale and support 303 status for POST requests
- 5b500797: ZERO-3634: iyzico saved card

## 1.106.0

### Minor Changes

- 9dc7298: ZERO-3416: Refactor Accordion component to enhance props and improve styling flexibility
- 2d3f178: ZERO-3417: Enhance FileInput component with additional props for customization

## 1.105.0

### Minor Changes

- c39c700: ZERO-3420: Refactor Modal component
- d512ea2: ZERO-3656: update setLoyaltyData mutation to accept string type
- 3b255fe: ZERO-3629 :edit warnings in build

## 1.104.0

### Minor Changes

- 63774a6: ZERO-3351: Add commerce redirection ignore list functionality and related utility
- a2fbee6: ZERO-3651: Fix correct is Iframe property in contextListMiddleware
- 0de5573: ZERO-3418: Update remotePatterns hostname to allow all subdomains
- 5ad87ff: ZERO-3646: Refactor form submission API to handle form data and improve error responses

## 1.103.0

## 1.102.0

### Minor Changes

- 6b949cb: ZERO-3615: Refactor product data handling and improve 404 error handling
- 9a3885b: ZERO-3660: skip catch-all not_found route in generate route script

## 1.101.0

### Minor Changes

- 4e863f7: ZERO-3654: add null check for resetMasterpassState in PaymentOptionResetMiddleware

## 1.100.0

### Minor Changes

- e57cd93: ZERO-3460: prevent installment loop on payment method switch
- 5f7edd6: ZERO-3571: Enhance Jest configuration by adding base directory resolution and module name mapping
- b00a90b: ZERO-3436: Preserve query params on redirect
- 26b2d0b: ZERO-3571: Remove test script execution from prebuild and simplify Jest module name mapping
- c51de38: ZERO-3637: Add action creators and RTK Query API endpoints to Redux store
- d1bb93a: ZERO-3460: fix installment request loop"

## 1.99.0

### Minor Changes

- cf90355: ZERO-3586_2: Enhance caching functionality by adding support for compressed data storage and retrieval, along with a new method for setting multiple key-value pairs.
- d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
- 95a4cd1: ZERO-3631: add automatic route generation

## 1.98.0

### Minor Changes

- 67308f0: ZERO-3633: Revert IndexPage parameter from fetchCheckout request

## 1.97.0

### Minor Changes

- 0014305: ZERO-3629 :edit warnings in build

## 1.96.0

### Minor Changes

- af5c93a: ZERO-3617: Add pre-order middleware instruction file
- a420947: ZERO-3517: Fix optional chaining for rawData in error logging for category data handlers

## 1.95.0

### Minor Changes

- 35dfb8f: ZERO-3363: Refactor URL handling in checkout and redirection middlewares to use url.origin instead of process.env.NEXT_PUBLIC_URL
- 99b6e7b: ZERO-3421: Enhance Sentry error handling by adding network error detection logic and refining initialization options
- cbdb5c1: ZERO-3448: fix set cookie domain handling for subdomain locale strategy

## 1.94.0

### Minor Changes

- 6e6b0a9: ZERO-3422: Add pz-flow-payment package
- adf0eeb: ZERO-3597: Add copilot instruction files
- c806fad: ZERO-3422: Add Flow Payment plugin to the defined plugins list
- 0abde6b: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
- 72ad7bb: ZERO-3422: Add Flow Payment to the list of available plugins
- e7cd3a5: ZERO-3435: Add Accept-Language to requestHeaders
- 17bfadc: ZERO-3275: Disable OpenTelemetry monitoring in production environment
- dfaceff: ZERO-3356: Add useLoyaltyAvailability hook and update checkout state management
- 86642cf: ZERO-3531: Add saveSampleProducts endpoint and update URLs in checkout
- 485e8ef: ZERO-3422: Refactor parameter handling in wallet complete redirection middleware to use forEach
- b434ac8: ZERO-3545: Update fetchCheckout API URL to include page parameter
- fee608d: ZERO-3422: Refactor body handling in wallet complete redirection middleware

## 1.93.0

### Minor Changes

- 185396f: ZERO-3569: Refactor logging in cache handler to use console_log instead of logger
- 0bdab12: ZERO-3569: Refactor cache handler to improve Redis connection management and logging
- 3e4aadc: ZERO-3569: Fix import statement for logger in cache handler

## 1.92.0

## 1.91.0

### Minor Changes

- d8fad39: ZERO-3370: include plugins test to build stage
- 2552486: ZERO-3391: Add subdomain support to setLocale function
- f8e4cac: ZERO-3343: restrict root hostname to only locale subdomains
- 832bee3: ZERO-3343: add domain to cookie for subdomain locale strategy
- 28a59d4: ZERO-3400: refactor cookie domain logic using fallback host
- 8feabe9: ZERO-3343: add custom NextAuth options support
- bf354de: ZERO-3321: add babel compiler for akinon/next test
- 448adef: ZERO-3321: move csp test to akinon-next
- 6c3629c: ZERO-3321: fix jest tests in akinon-next for standalone projects
- 6bc260b: ZERO-3295: update default tailwind content list
- 943a239: ZERO-3370: add allowJs in akinon-next test tsconfig
- 068dc39: ZERO-3343: update get-root-hostname logic
- 942490f: ZERO-3295: move third party tailwind content list to akinon-next
- b6d5bda: ZERO-3343: update changeset config
- acf0320: ZERO-3321: remove babel config
- 387356b: ZERO-3323: Refactor locale filtering logic in URL matcher regex
- b2ee69b: ZERO-3321: delete unnecessary files
- 0cabbda: ZERO-3370: replace inline monorepo check with reusable utility

## 1.90.0

### Minor Changes

- e68e120: ZERO-3398: Add redirectUrlMiddleware to handle redirection based on checkout results

## 1.89.0

## 1.88.0

### Minor Changes

- c4f0568: ZERO-3293: Remove unnecessary pretty URL route check in Cache class method
- f3dcb1e: ZERO-3337 :Add support for cash register hook in middleware routing
- 8154859: ZERO-3337 :Add support for cash register pre-order hook in middleware

## 1.87.0

## 1.86.0

### Minor Changes

- 6fc8ac5: ZERO-3229: Implement mini basket query for basket total quantity
- ef75c03: ZERO-3267: Update error-page component to use ROUTES for link navigation
- e4761d2: Refactor import statement for ROUTES in error-page component
- e2c6d42: ZERO-2935: Add @sentry/nextjs dependency to akinon-next and remove from projectzeronext
- 4d3deb4: ZERO-2935: sentry 8 upgrade
- c3f8d4a: ZERO-3274: Adjust button styles
- 9abd011: ZERO-3267: Refactor error handling in ErrorPage component to set error details in Sentry scope
- c3b2f3f: ZERO-3267: Enable sentry client errors and filter them by log type
- 70bc0ae: ZERO-3284: Set tracesSampleRate in Sentry configuration
- ac65ca9: ZERO-3269: Enhance locale handling by adding Subdomain strategy and updating related functions
- 0cb3ec0: ZERO-3281: Remove prebuild tests script from pz-prebuild
- 2d305aa: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
- 2f3588f: ZERO-3287: Add user session handling in authentication flow
- e5529cd: ZERO-3267: Update error-page component to use root path for links instead of ROUTES

## 1.85.0

### Minor Changes

- 4167dcd: ZERO-3253: Update Content-Security-Policy to include akinoncloud.com
- 0b1bd07: ZERO-3240: Remove unused preOrderMiddleware

## 1.84.0

### Minor Changes

- 757ee53: ZERO-3207: Add SMS send & verify endpoints with state management
- c0c1962: ZERO-3258: Add new API endpoints for fetching Bukalemun image URL and bundle product data
- 0e05135: ZERO-3244: Encode URL search parameters

## 1.83.0

## 1.82.0

### Minor Changes

- 2e0b7ff: ZERO-3226: Refactor checkoutApi to simplify request body structure by removing device_info parameter
- 778aabf: ZERO-3163: Add frontend ID header to authentication requests and forgot password mutation
- c0fef07: ZERO-3197: Refetch payment options after loyalty usage
- 2d2ab44: ZERO-3226: Add device_info param to WalletPaymentPage request
- 0200d56: ZERO-3163: Add frontendIds property to Settings interface
- 7d1b5af: ZERO-3206: Encode search parameters in product data URL
- aa05ed7: ZERO-3170: Add commerceRedirectionIgnoreList to settings and update URL redirection middleware

## 1.81.0

### Minor Changes

- fd4b74e: ZERO-3126: add reset checkout state query
- 4cc22c7: ZERO-3125: replace X-Frame-Options with CSP frame-ancestors
- 6a0a080: ZERO-3112: Update button

## 1.80.0

### Minor Changes

- 7ab9e2f: ZERO-3166: add tamara payment package

## 1.79.0

### Minor Changes

- 59fa21c: ZERO-3149: Add name-based mechanism for Redux middleware override

## 1.78.0

### Minor Changes

- e791eab: ZERO-3133: Add fallbackReducer for handling missing plugin reducers

## 1.77.0

### Minor Changes

- 999168d: ZERO-3104: Remove local cache handler from CacheHandler initialization
- 86a5a62: ZERO-3104: Add optional headers parameter to data fetching functions

## 1.76.0

### Minor Changes

- dd69cc6: ZERO-3079: Modularize pre-order middleware

## 1.75.0

### Minor Changes

- 81248a1: ZERO-3024: Refactor urlLocaleMatcherRegex to include lookahead assertion
- cc538c6: ZERO-3048: Update hepsiPayMiddleware to use Success flag for availability check
- 663bda9: ZERO-2990: Refactor account API to include shipping option slug in getOrders query
- 94eb825: ZERO-3069: Add selectNameSpaceMainBasket mutation
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
- 37547c0: ZERO-2957: Refactor checkout middleware to include payment options in iframe and deprecate exclusion option
- 5a333a5: ZERO-3061: Add success parameter for completeWalletPage
- ca774b3: ZERO-3002:add register with loyalty url
- 3344bca: ZERO-3013: Enable web vitals tracking in settings.js

## 1.74.0

### Minor Changes

- 5e3333d: ZERO-3078: get saved cards from page context
- ed55a81: ZERO-3023: fix session cookie persistence after browser restart
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
- 178044e: ZERO-3063: Add support for custom loader in SelectedPaymentOptionView
- 9a50730: ZERO-3015: Add currency parameter to getOrders query
- 31d5a71: ZERO-3078: filter valid redux middlewares
- 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
- f0b2f41: ZERO-3062: Update proxyRequest to handle multiple values for search parameters
- c594b46: ZERO-3078: get saved cards from page context

## 1.73.0

### Minor Changes

- 6d6a39d: ZERO-3086: Add getOldOrders API endpoint
- 7b93652: ZERO-3087: change password reset endpoint
- 24557b3: ZERO-3072: Add query string handling to /orders/hooks/ and /orders/checkout-with-token/ rewrite logic
- 07b2298: ZERO-3074: Exclude url schemes to init url without locales
- 37239b3: ZERO-3072: Add currency handling in checkout rewrite logic and set cookie
- e96633e: ZERO-3100: Update stores endpoint

## 1.72.0

### Minor Changes

- d9b907d: ZERO-2993: Add apple pay wallet payment option
- 9eaace2: ZERO-2993: Add apple pay package

## 1.71.0

### Minor Changes

- f34454a: ZERO-2953: Add hepsipay payment method

## 1.70.0

### Minor Changes

- f046f8e: ZERO-2575: update version for react-number-format

## 1.69.0

### Minor Changes

- 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
- 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
- 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
- cbdb0c8: ZERO-3010: Move pretty url page into project
- 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares

## 1.68.0

### Minor Changes

- 907813c: ZERO-2934: add payment-gateway/<gateway> redirect in middleware
- c873740: ZERO-2903: add types
- d899cc7: ZERO-2925: Login by checking the session id
- 57d1657: ZERO-2925: Update condation
- 3be7462: ZERO-2934: fix reset basket on redirection payment complete
- 034b813: ZERO-2903: create saved card plugin
- 48d508f: ZERO-2989: refine cookie header in payment middlewares

## 1.67.0

### Minor Changes

- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
- 3d2212a: ZERO-2745: Add multi basket support
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb

## 1.66.0

### Minor Changes

- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
- 7b05522: ZERO-2905: Fix resend and close button in otp package
- 29ead87: ZERO-2905: Fix resend and close button in otp package
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
- f2c325c: ZERO-2838: Move file input component into @akinon/next

## 1.65.0

### Minor Changes

- d13fd36: ZERO-2614: Refactor Price component to remove unnecessary code and improve readability also fix the decimal scale
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next

## 1.64.0

### Minor Changes

- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
- d3474c6: ZERO-2655: Add data source shipping option

## 1.63.0

### Minor Changes

- a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
- fda5b92: ZERO-2725: fix invalid import
- 0d3a913: ZERO-2725: Update decimal scale in Price component
- c45b62c: ZERO-2818: Add upload and download support for b2b package
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
- dcc8a15: ZERO-2694: added build step to RC branch pipeline

## 1.62.0

### Minor Changes

- c416d18: ZERO-2915: Add delivery option null check for setAddress
- 033b084: ZERO-2956: refactor redirect response handling for set-cookie headers
- fcea495: ZERO-2956: add set-cookies headers in url-redirection middleware

## 1.61.0

### Minor Changes

- 98bb8dc: ZERO-2706: Cache getTranlations method
- fdd0b41: ZERO-2706: Add optimized translation support

## 1.60.0

### Minor Changes

- ad5de2c: ZERO-2949: Add currency and language headers to format=json request
- e6f3653: ZERO-2985: Add resetBasketOnCurrencyChange option to Settings
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
- 3bf2dd9: ZERO-2551: Fix search page
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
- 91265bb: ZERO-2551: Improve pretty url and caching performance
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
- beb499e: ZERO-2551: Add new tsconfig paths
- d9fb057: ZERO-2551: Fix trailing slash and search params

## 1.59.0

### Minor Changes

- 50f3c60: ZERO-2936: Fix Input component styling for floating labels

## 1.58.0

### Minor Changes

- f3d076b: ZERO-2864: create tabby extension plugin

## 1.57.0

### Minor Changes

- fad2768: ZERO-2739: add gpay to payment plugin map
- dff0d59: ZERO-2659: add formData support to proxy api requests

## 1.56.0

### Minor Changes

- d93a507: ZERO-2900: Fix pretty url rewrite
- 674badc: ZERO-2912: Fix selected payment option view to handle null values
- 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
- b9273fd: ZERO-2889: add host headers to requests
- c670bd4: ZERO-2900: Add middleware rewrite functionality

## 1.55.0

### Minor Changes

- 1448a96: ZERO-2612: add errors type in CheckoutState
- 75080fd: ZERO-2630: Add max limit to postcode area
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option

## 1.54.0

### Minor Changes

- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
- c47be30: ZERO-2744: Update Order and OrderItem types
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass

## 1.53.0

### Minor Changes

- a957942: ZERO-2909: Rename useDeleteCollectionItemQuery

## 1.52.0

### Minor Changes

- d8dd8dc: ZERO-2729: Audit packages for yarn and npm and also update app-template
- 8d9ac9a: ZERO-2794: Add field to order type
- 016d379: ZERO-2729: Update packages and force update dependencies using resolutions
- 146ea39: ZERO-2774: Update imports

## 1.51.0

### Minor Changes

- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
- 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
- 3d35f70: ZERO-2908: Add cookie to redirect url

## 1.50.0

### Minor Changes

- eaf97d6: ZERO-2909: Add deleteCollectionItem query to wishlistApi

## 1.49.0

### Minor Changes

- 26b809f: ZERO-2898: Add bags_fee property to PreOrder interface
- 20da358: ZERO-2898: Add setDeliveryBags mutation to checkout api
- 04115e5: ZERO-2898: Update PreOrder type
- fa88889: ZERO-2898: Make bags_fee property optional in PreOrder interface

## 1.48.0

## 1.47.0

### Minor Changes

- 948eb42: ZERO-2852: Add out of stock endpoints
- 040ec95: ZERO-2875: Add edit collection endpoints

## 1.46.0

## 1.45.0

### Minor Changes

- 2ab6e08: ZERO-2841: Update getBasketDetail query

## 1.44.0

## 1.43.0

### Minor Changes

- 4a163f2: ZERO-2761: Add condition for basket summary

## 1.42.0

### Minor Changes

- 5ea00a6: ZERO-2761: Add multi basket package

## 1.41.0

### Minor Changes

- 8f09473: ZERO-2686: create akifast plugin

## 1.40.0

### Minor Changes

- b5d5c5c: ZERO-2683: Add conditional initialization for Sentry based on type
- 05b1fe1: ZERO-2674: Update getMenu query to accept depth and parent parameters

## 1.39.0

### Minor Changes

- 1bc5e92: ZERO-2701: Fix image loader regex to handle null src values

## 1.38.0

### Minor Changes

- 431735d: ZERO-2702: Add redirect checkout-with-token url

## 1.37.0

### Minor Changes

- 6247aae: ZERO-2698: rename eslint config files

## 1.36.0

### Minor Changes

- 8e6e8cf: ZERO-2524: Removed cli from projectzero so that build works as expected
- ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
- 7cebe87: ZERO-2524: Add check monorepo utility function
- 3420416: ZERO-2533: extend eslint config from @akinon/next
- 40ad73e: ZERO-2504: add cookie filter to api client request
- d1eec6b: ZERO-2524: Zero-cli dist checks for changes and renders it to the terminal.
- 3e68768: ZERO-2578: Add osessionid check in middleware

### Patch Changes

- 616690d: ZERO-2635: remove maxRetries from redux
- 59fb7c3: ZERO-2504: get set-cookie headers from commerce request

## 1.35.0

### Minor Changes

- d09b677: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
- 6d4aadb: ZERO-2476: Auto install recommendenent extension
- f0c23bc: ZERO-2135: add custom not found page
- f488ea8: ZERO-2505: findBaseDir function is united and move on to the utils
- 6b2972b: ZERO-2514: Fix handling of status 204 and return Commerce status code in client proxy API.

## 1.34.0

## 1.33.2

## 1.33.1

### Patch Changes

- 10123f9: ZERO-2632: rename projectzero-cli to projectzero

## 1.33.0

## 1.32.0

## 1.31.1

## 1.31.0

### Minor Changes

- 65ddd70: ZERO-2592: Fix regex pattern in buildCDNUrl function
- c215985: ZERO-2513:Replace the src in the incoming searchParams
- 21a0ddb: ZERO-2593: Remove body overflow in case of unmount

## 1.30.2

## 1.30.1

## 1.30.0

### Minor Changes

- a1d03d3: ZERO-2571:Make the sendSmsLanguage value dynamic for masterpass
- ff89630: ZERO-2498: Add script for env control

### Patch Changes

- 073fbd2: ZERO-2503: Add check changeset control script

## 1.29.0

### Minor Changes

- a7e432f: ZERO-2534: Fix for recapthca regex for replacing the special chars.
- f76f079: ZERO-2493: Add redirect util function

## 1.27.0

### Minor Changes

- 9b48372: ZERO-2564:fix eslint shortland warning
- 7e41bdc: BRDG-9158: Remove redirect-three-d page endpoint
- 1289982: ZERO-2521: Add x-forwarded-for header to requests
- d6d2533: ZERO-2560: Add installment count to masterpass payment forms

## 1.26.0

### Minor Changes

- 02fa342: ZERO-2507: Add web vitals endpoint

## 1.25.0

### Minor Changes

- eae7644: ZERO-2479: optimize Link component with useMemo for href formatting
- e20b27f: ZERO-2454:add otp login
- e0a945e: ZERO-2494:Add LiveCommerce for managing basket and product actions
- a4674c6: ZERO-2461: add optional chaining for referrer header and add locale value for redirect url
- 1ec9775: ZERO-2462:add custom span to logs
- ab5a493: ZERO-2475:add types [key: string]: any; for unknown attributes
- 92094d4: ZERO-2477: Update Sentry version and add hideSourceMaps option
- d3edd3a: ZERO-2499:add style prop in link component

## 1.24.1

### Patch Changes

- 95510c7: ZERO-2508: Enable rc branch pipeline and add check-publish-version step

## 1.24.0

### Minor Changes

- 8bc6085d: ZERO-2472: RTK Query Invalidate
- 02a3c58b: ZERO-2460: Breadcrumb checks for undefined values
- 01812512: ZERO-2440: move otp popup state to redux
- 07cc81a4: ZERO-2388: Add infinite and more types to pagination
- 8d6caba0: ZERO-2434: enhance error handling and logging in appFetch function
- 07927acb: ZERO-2457: Add more events for GTM tracking

### Patch Changes

- 9b103231: ZERO-2440: Add type declarations for @akinon/pz-otp modules
- 2e9476c7: ZERO-2434: remove error throwing in appFetch

## 1.23.0

### Minor Changes

- 82fd759: ZERO-2467: Update global and plugins declarations

## 1.22.0

### Minor Changes

- 8075006: ZERO-2435: install plugins check the akinon version
- 32668ed: ZERO-2296: Implement Checkout Provider Middleware and Enhancements
- 1b4b0fa: ZERO-2424: Redis connection change to connection pool

## 1.21.0

### Minor Changes

- 5ace350: ZERO-2439: Add anonymous tracking page
- be04d04: ZERO-2452: UA events converted to be compatible with GA4 and types are declared
- e910b22: ZERO-2421: Upgrade next version to 14.1.0
- af8e38e: ZERO-2247: Add additionalParams to MasterpassProvider and set them in buildPurchaseForm and buildDirectPurchaseForm
- 26a74c9: ZERO-2436: Add getCoupons and setCoupon API endpoints
- 1602741: ZERO-2451: Refactor extraHeaders assignment in client.ts
- 9edd725: Datalayer init changed to 3rd party script. Declare is the same as next
- c75e1e4: ZERO-2452: GA4 support for gtm events
- 29191da: ImageLoader supports crop none

## 1.20.0

### Minor Changes

- 86a9561: ZERO-2416: Update translations and refactor my quotations

## 1.19.4

## 1.19.3

## 1.19.2

## 1.19.1

## 1.19.0

### Minor Changes

- 846e3200: ZERO-2287: Add pz-masterpass plugin

## 1.18.0

### Minor Changes

- db017b2c: ZERO-2271: Fix showing currency code instead of label
- db017b2c: ZERO-2389: Show card logo in credit card form
- db017b2c: ZERO-2387: Add sorting by date in orders page
- db017b2c: ZERO-2377: Add B2B plugin

### Patch Changes

- db017b2c: ZERO-2417: Update basket_offers type in Product interface

## 1.17.1

## 1.17.0

## 1.16.3

### Patch Changes

- ZERO-2415: Update pzPlugins to use scoped package names

## 1.16.2

### Patch Changes

- ZERO-2415: Fix import paths for plugin components

## 1.16.1

### Patch Changes

- ZERO-2414: Fix remove plugin command

## 1.16.0

### Minor Changes

- a2458ad: ZERO-2414: Add OpenTelemetry instrumentation for tracing
- a2458ad: ZERO-2415: Refactor plugins

## 1.15.0

### Minor Changes

- 96dd05f: ZERO-2373: Add credit payment
- 96dd05f: ZERO-2385: Add gitattributes file
- 96dd05f: ZERO-2404: Add gpay middleware

## 1.14.1

### Patch Changes

- Change EOL

## 1.14.0

### Minor Changes

- 35bce31: ZERO-2356: Add Price component
- 35bce31: ZERO-2332: Add endpoints for credit payment
- 35bce31: ZERO-2359: Add Input component
- 35bce31: ZERO-2394: Add stock alert list and delete endpoints
- 35bce31: ZERO-2393: Limit error log message length
- 35bce31: ZERO-2352: Add Button component
- 35bce31: ZERO-2325: Fix funds transfer payment error
- 35bce31: ZERO-2354: Add Accordion component

## 1.13.1

### Patch Changes

- Fix build error

## 1.13.0

### Minor Changes

- ZERO-2368: Add ESLint rule to check middleware orders
- ZERO-2350: Add usePaymentOptions hook

## 1.12.0

### Minor Changes

- ZERO-2314: Add endpoints for B2B Basket
- ZERO-2340: Add LazyComponent
- ZERO-2366: Add email parameter to addStockAlert query
- ZERO-2361: Add BKM Express to plugin module system
- ZERO-2365: Add dependency control script
- ZERO-2341: Add ReactPortal component

## 1.11.0

### Minor Changes

- ZERO-2355: Add LoaderSpinner component
- ZERO-2305: Add endpoints for B2B Basket
- ZERO-2319: Show 3D & redirection payment errors
- ZERO-2353: Add Icon component
- ZERO-2357: Add Radio component
- ZERO-2307: Prevent multiple mutation calls
- ZERO-2240: Add endpoints and types for dynamic forms

## 1.10.0

### Minor Changes

- ZERO-2330: Fix logout endpoint
- ZERO-2327: Add service for bulk cancellation

## 1.9.0

### Minor Changes

- ZERO-2297: Add landing page structure
- ZERO-2317: Prevent browser cache using timestamp
- ZERO-2293: Upgrade Redux
- ZERO-2285: Allow custom headers in server data fetch functions
- ZERO-1577: Add option to exclude payment options from iframe
- ZERO-2282: Allow custom headers in client proxy API
- ZERO-2308: Add B2B endpoints and types
- ZERO-2202: Ensure commerce endpoints end with trailing slash

## 1.8.0

### Minor Changes

- ZERO-2302: withPzConfig

## 1.7.0

### Minor Changes

- Reset pre-order is_redirected state
- Show IP addresses in logs

## 1.6.0

### Minor Changes

- ZERO-2286: Find custom payment option view by slug instead of pk
- ZERO-2169: Add OTP plugin module support
- ZERO-2250: Show checkout iframe on mobile web
- ZERO-2288: Allow custom response in middleware.ts
- ZERO-2272: Add confirm email services
- ZERO-2250: Add expire date to currency and locale cookies

### Patch Changes

- Fix Metadata type

## 1.5.0

### Patch Changes

- Support GPay plugin
- Extend Next Metadata type

## 1.4.0

### Minor Changes

- Fix basket reset on mobile app checkout page
- Upgrade typescript to v5 and remove ts-expect-error lines
- Fix 3D payment with different currencies
- Support tailwind theming

## 1.3.0

### Minor Changes

- Refactor currency and locale selection
- Update TS types
- Fix 3D redirection middleware
- Refactor logging

## 1.2.0

### Minor Changes

- Refactor Sentry config.
- Add localeIncludedPrettyUrlPattern option to settings.
- Refactor getRetailStoreStock mutation.

## 1.1.0

### Minor Changes

- Add retail stores to redux
