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.
- Shipment API
voidWaybillShipment
andvoidReturnWaybillShipment
- Shipment API
refreshShippingShipment
andcreateReturnWaybillShipment
- Added create documents for shipping API - ripe-pulse/#396
- Added waybill and invoice creation methods to the
ShipmentAPI
- #4853 - Added shipment attachment methods to the
ShipmentAPI
- #4853 - Added shipment status change methods to the
ShipmentAPI
- #4853 - Added shipment notes and issues methods - ripe-pulse/#396
- Admin Event API module - ripe-core/#4828
- Added
composeUrl
option to allow custom for composition endpoints - products/#132
- Change API testing provider from
httpbin
topostman-echo
- Added
sku
anddomain
fields to import order - ripe-core/#4798
- Remove Travis CI - products/#97
- Fixed configurator ignoring size even with passing
useDefaultSize
withfalse
- #511
- Add
browserify
,esmify
,babelify
,vinyl-buffer
andvinyl-source-stream
dev dependencies - #491 - Support ES Modules - #491
- Upgrade workflows's node engine version
- Reduced import hacks - #491
- Remove
__VERSION__
references - #491 - Remove
mark
script - #491 - Update Three.js version to
150.1
- #491 - Update
@babel/core
to7.21.0
- #491 - Removed unused
gulp-babel
,gulp-concat
andgulp-replace
dev dependencies - #491
- Fix package not loading Three.js - #491
- Fix build not including all code when generating the bundle - #491
- Update
initialsConfig()
to match remote logic - #429 - Update
.gitignore
to ignore CSR documentation compilation files - #478 - Update CSR documentation with proper configuration with title and logo - #478
- Improve CSR deinitialization logic - #493
- Load environment file based on config - 499
- Fix div tag outside code block in CSR documentation - #478
- Allowing set initials extra of empty or single group initials in configurator csr - ripe-white/#1098
- Add
id
andorigin
toready
event params to distinguish events from configurator prc and csr - ripe-white/#1098 - Add
initialsConfig
method - #479 - Add
#initialsConfig()
tests - #479
- Reuse Draco loader instance - #481
- Removed
draco_decoder.js
dependency - #481 - Use
initialsConfig()
in CSR - #479
- Fix meshes compressed with Draco not loading properly - #481
- Support font format in CSR strategy - #429
- Updated CSR strategy to follow the changes of the updated config - #429
- Improve CSR loading methodology - #429
- Add support for post render callback - #429
- Add support for param
imagesDefault
- ripe-core/#4778 - Add support for global option
authCallback
and improve overall behavior, allowing one request authentication - ripe-robin-revamp/#416 - Add
getInitialsConfig
,getInitialsConfigP
and_getInitialsConfigOptions
methods - #429 - Load enriched initials config in CSR - #429
- Support loading of external fonts - #429
- Returning
authCallback
when requests fails authentication to allow one auth call. - ripe-robin-revamp/#416
- Fix failing tests by using
imagesDefault
set to false - ripe-core/#4778
- Fix
stateChatLinesOrderP
reference method - ripe-robin-revamp/#340
- Added SDK methods for orders' issue API endpoints - ripe-core/#4700
- Support
curve_type
andcurve_tension
config values - #429 - Add
get3dSceneEnvironmentUrl
,getInitials3dBaseTextureUrl
andgetInitials3dDisplacementTextureUrl
methods - #429 - Set CSR mesh url default variant value to
"$base"
- #429 - Add
getTextureMapUrl
method - #429 - Support metallic, normal and roughness textures - #429
- Use config in CSR - #429
- Change default test timeout to 60 seconds
- Revert ripe-sdk-demo variant value to
""
- #429 - Generalize
CsrRenderedInitials
textures logic - #429 - Improve
getTextureMapUrl
method - #429
- If no masks are to be used, create the mask buffers but don't load them, avoiding network requests - #446
- Fix CSR initials control points debug boxes being too small - #429
- Set optional status change params in the request params
- Add
quantity
param to_importOrder
method - ripe-pulse/#271
- Add new
variant
andsize
params to_getConfigOptions
method - ripe-core/#4745 - Add
variant
passing throughonConfig
andonPart
- #429 - Add CSS
link
toREADME.md
- Add
hasStrategy
method - #429 - Add
CsrAnimation
,CsrChangeFrameAnimation
andCsrUtils
- #429 - Add
changeFrame
andflushPending
methods to CSR configurator - #429 - Add click binds to ripe-sdk-demo that allows to match CSR to the PRC frames - #429
- Add
syncFromCSR
method toConfiguratorPrc
- #429 - Add
syncFromPRC
andprcFrame
methods toConfiguratorCsr
- #429 - Add bilateral synchronization between PRC and CSR configurators in ripe-sdk-demo when changing configurator - #429
- Add CSR debug support - #429
- Add CSR framerate, world axis and model axis debug tools - #429
- Add CSR zoom support - #429
- Add
CsrTextureRenderer
- #429 - Add
CsrRenderedInitials
- #429 - Support
CsrRenderedInitials
mesh morphing - #429 - Setup
CsrRenderedInitials
- #429 - Add
loadFBX
andloadEnvironment
methods to utils - #429 - Add import order simple methods
- Reset CSR configurator zoom when syncing from PRC - #429
- Added method for the
GET /api/info
endpoint - Added
test-coverage
npm script - Add
loadMesh
method to utils - #429 - Add tone mapping support to CSR - #429
- Add support for
.glb
in_loadMesh
- #429 - Add
toXYZObject
,toVector3
andtoToneMappingValue
utils - #429 - Increase number of curve types supported by
CsrRenderedInitials
- #429
- Avoid warnings by not using
var
in ripe-sdk-demo .js files - #429 - Set renderer output encoding to
sRGBEncoding
- #429 - Set ripe-sdk-demo brand and model to
dummy
cube
- #429 - Set CSR camera default values standard - #429
- Use
THREE.Group
to manipulate positions and rotations instead of directly changing mesh axis - #429 - Improve animation loop so it can tick animations - #429
- Greatly improve CSR scene loading time - #429
- Removed unused
format
variable fromConfiguratorCsr
- #429 - Reorder
ConfiguratorCsr
methods - #429 - Remove
dracoLoaderDecoderPath
anddracoLoaderDecoderFallbackPath
- #429 - Remove dependency on external draco loader files - #429
- Add
dku
to request options for import order - Add
contents
to params of import order only if filled with some value - Fix
ConfiguratorCsr
sizes andresize()
logic - #429 - Fix CSR configurator no being hidden at the demo start - #429
- Fix not being able to override camera transforms on CSR configurator initialization - #429
- Fix errors when trying to initialize CSR debug mode when no CSR initials points are set - #429
- Fix CSR debug line points boxes wrong size - #429
- Add param
tenant_id
toupdateTagOrder
method - ripe-robin-revamp/#363
- Fix initialsSpec profile spread fallback value in image
- Added
deleteTagOrder
methods - ripe-robin-revamp/#363 - Added
deactivateTagOrder
methods - ripe-robin-revamp/#363
- Removed node 10 and 11 from github workflows
- Fix eslint dependencies problems
- Add
fromArrayBuffer
andfromBlob
toFileTuple
- hermes-proxy/135 - Added
safe
param to be passed inimportOrder
- ripe-util-vue/#259 - Support profile overriding in image - ripe-white/#978
- Added
activateTagOrderP
andupdateTagOrderP
methods to set the tag of an order and activate it
- Added new compose
composeOptions
to allow passing composition options such as dpi and quality.
- Added method
resolveJustification
to find the matching justification given context and code or full code - ripe-pulse/#317 - Added
composeLogic
option to specify if the (initials builder) logic should run on server-side. - Added
noAwaitLayout
option so that current updates don't wait for the previous ones to be complete.
- Support no
faces
in a dimension from spec in ´getDimension` - Fix
_getOrderReportURL
,_getOrderReportPDFURL
,_getOrderReportPNGURL
logic and tests - #381
- Add methods
getVideoP
andgetVideoThumbnailP
that return the video and video thumbnail for a given model and its customization - ripe-white/#996 - Add methods
_getVideoURL
and_getVideoThumbnailURL
that return the URL of a video and video thumbnail, respectively, for a given model and its customization - ripe-white/#996 - General order chat methods - ripe-core/#4702
- Support for external image URL providers and frame validators for image - ripe-white/#996
- Validator function
hasVideo
that verifies if a video exists in the build spec - ripe-white/#996 - New image bind method
bindVideoThumbnail
specific for binding to an image tag the video thumbnail image - ripe-white/#996 - Add method
_getOrderImageURL
- #380
- Always loading default bundle locales for scales and sizes
- Added methods
getSkusCsvP
andgetSkusCsv
that return a CSV document containing SKUs - ripe-white/#979 - Added methods
countSkusP
andcountSkus
that returns the number of SKUs - ripe-white/#979
- Improve update cancellation strategy by adding a
cancel
event to cancel ongoing update promises - #363
- Payload
brand
field forimportBulkOrder
optional - ripe-pulse/#281
- Added methods for waybill deletion (void) - ripe-util-vue/#301
- Methods to unset order tracking info - ripe-pulse/#301
- Added support for
invoicingInfo
field inimportOrder
- ripe-util-vue/#247 - Added configurator configuration variable
useDefaultSize
that forces the configurator to use images with the default dimensions of the current face
- Use pixelRatio in configurator applied to the image but do not allow getting images bigger than the default dimensions for the current face
- Add create order bulk methods - ripe-pulse/#281
- Make
brand
forimportBulkOrder
optional - ripe-pulse/#281
- Add
resolveInvoiceRuleP
andresolveInvoiceRule
methods that return an invoice rule for the given brand, model and country - ripe-pulse/#291 - Added
getShipments/getShipmentsP
andcreateShipment/createShipmentsP
- ripe-pulse/#276
- Support for trigger of
message
event afterinitialsBuilder()
call
setPickupNumber
andsetPickupNumberP
in the Order API - #33
- Fixed method name for
signinPidP
- Add
lineBreakP
andlineBreak
methods to get the lines of text after line breaking logic is applied - 3db/#195
- Remove default width and height for configurator-prc
- Fixed non integer aspect ratio in image
- Use pixel ratio in image - ripe-white/#948
- Method
getDimension
that returns the size of a specific dimension and face - ripe-white/#948
- Image resize now support width and height - ripe-white/#943
- Add missing params to
_getImageOptions
- Support for images not 1:1 in configurator, where the resize operation take into account the width and height instead of size - ripe-white/#943
- Add
localeToNative
,localeToNativeP
,localeToNativeB
andlocaleToNativeBP
methods to convert locale sizes to native sizes and unit tests - #4638 - Add
Invoice Rules
API methods - peri-invoicing/#3 - Add
textLengthP
andtextLength
to get the length of the value of the initials
- Made the
initialsBuilder
functionasync
to support async calls in external initials builder logic - Added
ctx
toinitialsBuilder
call so that there is parity between the Javascript and Python initials builders
- Add
Bulk Order
API methods - ripe-util-vue/#218 - Add initials builder ctx message dispatcher for build's js logic
- Add
setProofOfDeliveryP
andsetProofOfDelivery
methods to set proof of delivery info of an order - #34 - Add
createReturnWaybillOrder
as part of the Order API
- Support for
size
parameter in_getMaskURL
request - Add
refreshShippingOrder
andrefreshShippingOrderP
- #260 - Add
blockOrderP
andblockOrder
methods to block an order - #263
- Support for the
Order
touch API endpoint - Support for
scale
in import order - Add test
should be able to set the price
in#importOrder()
tests
- Fix
price
not being correctly set inimportOrderP()
- Problem relates with invalid
hasTag()
useMasks
calculation on init and usage in order to allow usage of anundefined
value that defaults totrue
- Added
itertools.js
to gulpfile build files in order to be bundled - Support for
no_masks
tag getPrices
which consumes/api/config/prices
for getting prices for several configs in a single batch call
notify
option to endpoints for changing an order's status, to allow triggering notifications upon a status change
- Small
terminate()
issue - Attribute stability for the canceled preload images
- Added
itertools.js
to gulpfile build files in order to be bundled
- Improved performance by allowing cancelling image loading for images that are not needed (quick
setFrame
changes) - Created structures that prevented concurrent
update()
at aVisual
class level
- Issue where the
changeFrame
operation was being incorrectly canceled
- Removed warnings for node.js
requireSafe()
hack under webpack
- Issue related to problem in loading front mask image
- Endpoints for creating order notes
- Made
requireSafe()
sa safer method allowing auto catching of import errors.
- When doing a configurator resize use the defined
size
option, if defined, otherwise fallsback to the old behavior of using the "binded" element's width
- Use of the SDK in a react-native environment
- Support for multiple character escaping in
escape()
- Add method to retrieve the URL for an attachment
- Support for retry in API requests when receiving authentication related errors (eg: 403)
- Add size argument to
resolveInvoiceRule
- ripe-core/#4703 - Add missing
resolveTransportRule
andresolveTransportRuleP
methods - ripe-core/#4703
- Addition of attachments to a specific order state (
stateCreateAttachmentOrder
) - #230
- Ability to override
name
andmeta
for attachments - #282 - Added method to issue a create waybill command for a given order - ripe-pulse/211
- Add
rejectOrderP
andrejectOrder
methods - ripe-pulse/#219 - Passing
locale
andcountry
arguments inctx
when doing initials builder to allow localized sanitization of initials - build-static/#2075
- Set order status takes relevant params from options and populates request params
- Multipart encoding extended to classes that implement
toString
- Multipart encoding no longer sends an extra newline separator on the last field
- Import order method propagates shipping info
- Made image support the best file format by default
- Initials builder initialization when
useInitialsBuilderLogic
wasfalse
- Small issue fix
- [BREAKING CHANGES] Support for dynamic
initialsBuilder
logic sourced from server side 3DB⚠️ (requiresinitialsBuilder
signature change)
setTracking
method to theOrder
entitysetReturnTracking
method to theOrder
entitysetMeta
method allowing dynamic set of metadata attributes for theOrder
entity- Method for generating an image URL from a query (
_queryToImageUrl
)
- Transport Rule API
getTransportOrder
methodattachmentOrder
methodqualityAssureOrder
method
getDefaultsP
- the promise based version ofgetDefaults
changePriority
Order API methodtenancyAccountMe
endpoint
lowlight
when the mouse leaves the configurator area
- Take
variant
into account in update operations
- Small changes in the code
- Added typing for
getBuildsP
- Added typing for
getBuildP
- Fixed jsdoc by removing unused parameter
- Added typing for native to size
- Support for validation of SKU in API calls
- More locale utility methods
- Support for
count
methods added to the API level
- Added extra param ´override´ to
setInitials
andsetInitialsExtra