Skip to content

v5.1.0

Compare
Choose a tag to compare
@Gnito Gnito released this 21 May 19:59
· 430 commits to main since this release
b1ab979

This release contains several small updates:

  • Updates SDK to v1.21.0
  • Changes login-as feature
  • Adds autolinking to bio on profile page, description on listing page, listing fields & user fields that are of schema type 'text', and messages between customer and provider.
    • Note: only links starting with http are considered and the link is detected and added on UI rendering phase.
  • Prepares codebase to get the color of <PrimeryButton> from branding asset.
  • Prepares codebase to handle listing fields with schema type ’long’: adds a new filter.

Translation changes

New translation keys

  "CustomExtendedDataField.numberTooSmall": "The number must be larger than or equal to {min}",
  "CustomExtendedDataField.numberTooBig":  "The number must be less than or equal to {max}",
  "LimitedAccessBanner.fullRightsMessage": "You're logged in as {firstName} {lastName}. You have full access rights. In a Live environment, you will have limited rights.",
  "LimitedAccessBanner.fallbackMessage": "You're logged in as {firstName} {lastName}.",
  "IntegerRangeFilter.labelSelectedPlain": "{minValue} - {maxValue}",

Changed translations

-  "LimitedAccessBanner.message": "You are logged in as {firstName} {lastName}. You have limited rights for actions. You cannot initiate transactions, take actions in them or send messages on behalf of transacting parties.",
+  "LimitedAccessBanner.message": "You're logged in as {firstName} {lastName}. You have limited access rights. You can't initiate transactions, move them forward, or send messages on the user's behalf.",

Changes v5.1.0

  • [add] support for extended data fields with type long
    #364

  • [change] the login-as feature has changed:

    • Update SDK to v1.21.0
    • Use sdk.loginAs instead of sdk.login, which is deprecated for this purpose
    • Use authInfo.isLoggedInAs instead of relying on auth token's scope to determine if current
      session is operator user logged in as marketplace user.
    • Note: when taking update from upstream, check also commit be7e2b9.

    #386

  • [fix] the email template for default-purchase process
    (purchase-order-canceled-from-disputed-provider-html.html) contained copy-paste related typo.
    #390

  • [add] Autolink text on the UI. Those links must start with 'http' to be recognized.

    • ListingPage > Listing's description
    • ListingPage > Listing fields with schema type ‘text’
    • ListingPage > User's bio on
    • ProfilePage > User's bio
    • ProfilePage > User fields with schema type ‘text’
    • TransactionPage > Messages
    • TransactionPage > inquiryMessage

    #385

  • [change] handle listings with draft and pending-approval state with login-as feature.
    #387

  • [Add] Get the color of the PrimeryButton from branding asset.
    #379

  • [change] Add preview resolution for listing in PreviewResolverPage
    #384

  • [add] Support for a target path parameter (target_path) in the login as user functionality
    #383

  • [change] listingMinimumPriceSubUnits: update code comments (0 is not valid value in hosted asset).
    #381

  • [fix] Styleguide shows multiple versions of some components. The 'id' attributes need to be
    unique. #380