# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Update Sales App base version

### Added
- Add a new extension point for SalesCopilot
- Add `GiftCard` type to client cart typings
- Add `giftCards` and `addGiftCard` to `useCart` hook typings
- Add `b2b.home.top` and `b2b.home.bottom` extension points exposing the current user context via `useCurrentUser`
- Add `id` to the `useCurrentUser` hook contract

### [3.39.1] - 2025-10-28
- Update Sales App base version
- Add selling price in ProductSku type

## [3.34.0] - 2025-08-18
### Changed
- Update Sales App base version with some fixes

## [3.32.0] - 2025-08-04
### Changed
- Update Sales App base version

## [3.31.3] - 2025-07-08
### Fixed
- Build command failing with incorrect exit code

### Added
- Add a new extension point for menu
- Add a new extension point for menu drawer
- Add a new hook for extensibility called useCurrentUser

## [3.31.0] - 2025-06-25
### Changed
- Update Sales App base version

### Added
- Add new method in useCart hook: sync

## [3.26.2] - 2025-05-28
### Fixed
- Extension points losing local states

### Changed
- Update Sales App base version

## [3.24.0] - 2025-04-30
### Added
- New extension points for the PDP page
- New usePDP hook

## [3.23.0] - 2025-04-24
### Added
- Add new properties in useCart hook: orderFormId, value, clientProfileData, totalizers
- Add new methods in useCart hook: addCoupon
- Add new methods in useCartItem hook: changePrice

### Changed
- Update return type of useCartItem hook

### Removed
- useOrderForm hook

## [3.20.3] - 2025-03-14
### Fixed
- Extension point component unmount behavior not working

## [3.16.4] - 2025-02-06
### Fixed
- Update items with attachemnts not working

## [3.15.5] - 2025-01-22
### Fixed
- Get offer id in advertisements page
- Bind the AssemblyItem to the correct cart item index
- Crash when adding items (especially assembly items) to cart

### Added
- Show product offer price on delivery availability
- Adding dynamic breadcrumbs to new PDP
- productRefId property to product items


[Unreleased]: https://github.com/vtex/instore-core/compare/3.15.1...HEAD
