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.
- Send log to OpenSearch if no
RCSessionIdv7
cookie is found.
- Add
productSpecificationGroups
resolver toItem
type
- Avoid unnecessary calls to checkout clear messages
- When adding multiple attachments, check if the parentIndex has changed after each attachment has been added
- Handle the new
CheckoutOrderFormOwnership
cookie.
- Force http only
- Respect Checkout set-cookie directives
withAuthMetrics
directive now logs 1% of unauthorized requests
modalType
props in graphql schema
- Update type for
priceTags.value
fromInt
toFloat
.
customData
field on OrderForm.graphql andcustomData
types
- Reduced min replicas
- Port locale syncing from store-graphql for
orderForm
- Ensure
itemIndex
property oncheckout-updateSubscriptionDataField
request
- Increased min replicas
- Add an auth directive in graphql with logs.
- Add
priceDefinition
structure on Item.graphql andpriceDefinition
types
- Possible race condition in cookie setting.
- Discard broken order forms
- Addresses with type
search
are not being filtered from theselectedAddresses
anymore.
- Version for package of private workspace in node/package.json.
- Type for
transitTime
in pickup point not allowingnull
values.
- Parameter
refreshOutdatedData
inorderForm
query
- Preventing
frequency
fromsubscriptions
with whitespaces on the edges withtrim()
- Field
isGift
toItem
type.
updateItems
mutation using the same endopoint asaddToCart
mutationallowOutdatedData
becameallowedOutdatedData
so as not to be confused for a boolean
subscriptionData
property in theorderForm
would never be updated.
- Remove item index in
addToCart
mutation.
- Parameter
allowOutdatedData
toaddToCart
mutation.
- Reuse Product and SKU name from
search-graphql
query to translate product names in multi-binding stores.
- Validation of disposable address in shipping.
- Updated some orderForm fields to be translatable.
- OrderForm with admin login on
myvtex.com
domain.
- Pickup option's store distance can be
null
now.
- Parameter
salesChannel
toaddToCart
mutation.
storePreferencesData
toorderForm
query
- Field
marketingTags
is optional in marketing data input.
- Mutation
updateOrderFormMarketingData
.
- Increase maxReplicas to 120.
- Adds
service.json
withminReplicas=2
. This way we ensure we always have at least two replicas in our cluster
updateOrderFromOpenTextField
mutation.
parentItemIndex
on typeItem
.
- Pickup point
additionalInfo
is not required anymore.
- Pickup point info to
OrderForm
type.
- Mutation
clearOrderFormMessages
to clear the messages in the order form.
- Adds
no-store, no-cache
toorderForm
andcheckoutProfile
resolvers
priceTags
on typeItem
.
updateItemsOrdination
mutation.
- Error when calculating the shipping info for an user that didn't have
shippingData
filled in their order form.
- Optional argument
itemId
onselectPickupOption
mutation, it can select the pickup option for an specific itemId - New
selectPickupOption
mutation pickupOptions
property toShipping
type
shippingSLA
query performing simulation.
- Optional argument
orderFormId
to all queries and mutation that alters information in the cart.
- GraphQL validation errors on
Item.seller
when included insidebundleItems
.
manualPrice
property toItem
type.
setManualPrice
mutation.adminUserAuthToken
to the checkout client.
- Error when trying to read
addressId
of a inexistent delivery address. - GraphQL validation errors on
Item.productId
when returningbundleItems
.
splitItem
parameter onupdateItems
mutation.
- Mutations:
addItemOffering
removeItemOffering
addBundleItemAttachment
removeBundleItemAttachment
- New fields to type
Item
:attachmentOfferings
attachments
bundleItems
offerings
- Property
seller
toItem
type.
- Error when marketing data in
addToCart
mutation wasnull
.
- Address information not being saved when using an unrecognized postal code.
- Call to session API when
vtex_session
cookie isn't present.
- Error when communicating with
vtex.search-graphql
breaking all queries related to the order form.
- Error when validating shipping data when country data config app isn't installed in the account.
- Field
isValid
to theOrderForm
attachments (namelyclientProfileData
,shipping
andpaymentData
).
- Property
loggedIn
toOrderForm
type. - Property
isDisposable
toAddress
andAddressInput
types.
- Type for
availableAccounts
inprofile
query.
- Log for failed marketing data updates in
addToCart
.
- Assembly options with inputValues were being split when an item was added to the
orderForm
.
- Field
unitMultiplier
toItem
type.
- Type of
paymentSystem
fromInt
toString
.
- Update to node builder 6.x.
- Call graphql gateway instead of search-graphql directly.
- Error
Cannot return null for non-nullable field Installment.hasInterestRate
.
- Field
availableAccounts
topaymentData
- Error
Cannot return null for non-nullable field Item.listPrice
when the item didn't have a price registered.
- Mutation
updateSelectedAddress
.
- Error on products with value bigger than a standard int (32-bit).
- Error
Cannot read property 'impersonate' of undefined
.
- Mutation
updateOrderFormPayment
to update the payment data in the order form. - Field
installments
toinstallmentOptions
.
- Refactored internal structure of shipping resolvers.
- Unused
Shipping
client in favor ofCheckout
client.
checkout
client always using theadminUserAuthToken
(when available) to perform requests.
orderForm
query did not forward set-cookies from Checkout API, causingcheckout.vtex.com
cookie to never be set.
refId
field toItem
type.
userType
field toOrderForm
type.
- Rename field
optinNewsLetter
tooptInNewsletter
inClientPreferencesData
.
- Mutation
updateClientPreferencesData
to update the client preferences in the order form. - Field
clientPreferencesData
toOrderForm
.
userProfileId
field toOrderForm
type.
- Simplify code path of
addToCart
. - Enconding of parameter of assemblies API.
addToCart
mutation was missing@withSegment
directive.
marketingData
argument toaddToCart
mutation.utmCampaign
,utmMedium
,utmSource
,utmiCampaign
,utmiPart
,utmiPage
fields toMarketingData
type.
- Remove required fields inside
ClientData
.
- Update
updateOrderFormProfile
mutation input to receive all user profile fields, not just email. - Use field resolvers to adapt order form from checkout to our schema.
updateOrderFormProfile
mutation.
- New
checkoutProfile
query.
id
field to theOrderForm
type.
paymentData
field to theOrderForm
type.savePaymentToken
mutation.getCardSessionId
query.
- Item's
quantity
update when there is more than one item with the sameuniqueId
(e.g gift items).
- Several fields from the GraphQL schema are now non-nullable.
- Unavailable items causing empty
deliveryOptions
, since their logistics info do not have any slas.
- Inconsistency in shipping cost between Shipping Calculator and order form totalizer.
canEditData
field to theOrderForm
type.
- A GraphQL error would occur if the API returned an address type that was not in the AddressType enum.
productCategories
,productCategoryIds
andproductRefId
attributes toItem
type.
- URLs to product images with 2x and 3x resolutions to OrderForm.
- Support for
AssemblyOptions
onaddToCart
mutation.
- Image URLs in non-VTEX accounts.
addToCart
mutation.
- Duplicated delivery options.
search-graphql
'sproduct
query receives the product slug instead of its id when the request comes from a GoCommerce account.
skuSpecifications
field now return translated name and values.
- Tests related to shipping.
SelectDeliveryOption
mutation.
Shipping
resolver refactor and utility functions
availableAddresses
typo
- SLA filtering to return only Delivery SLAs
- Shipping to return array of selected addresses
generalMessages
field to theOrderFormMessages
type.
search-graphql
is used instead ofstore-graphql
for theproduct
query.
- Image height is not fixed to 96 pixels anymore.
messages
field toOrderForm
;marketingData
field resolver;OrderForm
messages being mapped to the proper Checkout OrderForm message fields.
availability
field to theItem
GraphQL type.
- OrderForm's
marketingData
now can not be null.
- insertCoupon returns the entire OrderForm.
estimateShipping
mutation to calculate delivery options;getNewOrderForm
to unify getting and returning a new orderForm;- Shipping information orderForm returned.
updateItems
mutation now supports receiving an item'suniqueId
instead of itsindex
.
- Renamed
cart
query toorderForm
. - All mutations now return an OrderForm.
- InsertCoupon mutation.
totalizers
andvalue
field incart
query.
- Item variations now come from translated from
store-graphql
. variations
field was renamed toskuSpecifications
.
imageUrl
now returns a link with better image resolution.- Item name in
cart
query is now fetched translated fromstore-graphql
.
- Item
variations
field.
- Add items and storePreferencesData fields to the cart query.
- Add updateItems mutation to update the items list.