v5.3.0
The main feature here is the introduction of Permission Management for Marketplace Operators
This release introduces support for the upcoming permission feature, allowing marketplace operators to grant or remove a user's right to post listings. The fetchCurrentUser
call now includes a new relationship: effectivePermissionSet. This resource serves as the source of truth to determine whether a user can post listings, or reopen previously closed listings. For more detailed information, please refer to the pull request.
Check API endpoint restrictions: https://www.sharetribe.com/api-reference/marketplace.html#currentuser-permissionset
Additional Fixes and Improvements
In addition to the main feature, this update includes several smaller fixes and enhancements. Here are a couple of highlights:
Improved Stripe Onboarding Experience:
Stripe requires a business URL for each seller during onboarding. However, a seller's profile page may be too sparse at the time of creating their first listing (e.g., it might only display "Hi, I'm John"). This has led to some reports from new marketplaces where Stripe blocked sellers due to insufficient profile content. To mitigate this, we now redirect Stripe to the landing page, which typically has more comprehensive content, helping Stripe's algorithm better understand the nature of the business. See PR #430
Enhanced URL Autolinking:
We've added support for parentheses in autolinked URLs within listing descriptions, user bios, and messages.
Translations
New translations
"NoAccessPage.postListings.schemaTitle": "No publishing rights",
"NoAccessPage.postListings.heading": "You can't publish listings",
"NoAccessPage.postListings.content": "You need to receive publishing rights from the {marketplaceName} team.",
Changes v5.3.0
-
[change] ProfilePage: redirect Stripe's crawler to landing page (profile page might be empty).
#430 -
[add] Add currently available translations for DE, ES, FR.
#429 -
[add] Handle API's new permission model & permission to post listings
- CurrentUser fetch includes a new relationship: effectivePermissionSet
- There is a new Page component: NoAccessPage
- If user has no posting rights: they can't create or edit a draft listing and they can't open a
previously closed published listing. Instead, they are redirected to NoAccessPage
-
[fix] Routes.js: reTry can be undefined in some cases (reTry.scrollIntoView)
#427 -
[change] ProfilePage: remove withViewport and refactor a bit.
#424 -
[change] Update express.js (v4.19.2) and nodemon (3.1.4).
#421 -
[add] richText.js: support parentheses on autolinked URLs.
#419 -
[fix] Safari has a bug related to reading array directly from JSON-LD script tag.
#418 -
[fix] There could be rare time-windows when indexing has not caught up with deleted & closed
listings. This might result those listings to be included to listing queries.
#417