We are not following semantic versioning in this template app since any change could potentially be a breaking change for forked customization projects. We are still experimenting with what is a good way to update this template, but currently, we follow a pattern:
- Major version change (vX.0.0): Changes to several pages and other components. Consider implementing this without merging upstream (we'll provide instructions).
- Minor version change (v0.X.0): New features and changes to a single page. These are likely to cause conflicts.
- Patch (v0.0.X): Bug fixes and small changes to components.
- [add] Added initial documentation about routing and loading data. #941
- [remove] Removed plain text parts of email templates. #942
- [add] Add referrer policy due tokens in URL on PasswordResetPage and EmailVerificationPage. #940
- [add] Added initial documentation about our Redux setup. #939
- [add] Added a small comment to documentation about the current state of code-splitting. #938
- [change] Improve performance of public pages. Image assets are optimized and lazy loading is applied to images in SectionLocation and ListingCard. Read documentation for implementation details. #936
- [change] Update sharetribe-scripts. cssnext (used previously in sharetribe-scripts) has been deprecated. Now postcss-preset-env is used instead with stage 3 + custom media queries and nesting-rules. If this change breaks your styling, you could still use v1.1.2. The next version of postcss-nesting (v7.0.0) will no longer support nested at-rules (like media queries) - therefore, we didn't update to that version yet. #935
- [change] Change Mapbox's default font to marketplace font. #934
- [add] New default design for the landing page's hero section. Now the CTA button's default
behavior is 'Browse'.
marketplaceH1FontStyles
: changed letter spacing to be more tight.SectionHero
has now a search page link that should be customized to point to your marketplace primary area #933
-
[add] New default map provider (Mapbox) and complete refactoring to all map and geocoding components. #888
Note: Before updating to version 2.0.0, you should very carefully track customizations that you have made to following components:
- LocationAutocompleteInput
- Map
- SearchPage (especially previous
onIdle
function) - SearchMap
- SearchMapPriceLabel
- SearchMapGroupLabel
- SearchMapInfoCard
To get a better understanding of what has changed, you should read documents about how to integrate to map providers and especially changing map provider to Google Maps
- [fix] fuzzy location didn't change when listing location changed. #931
- [fix] obfuscatedCoordinatesImpl didn't always return coordinates within given offset radius. #930
- [fix] LocationAutocompleteInput: blur input when selecting by enter to prevent flash of default predictions. #928
- [fix] LocationAutocompleteInput: selecting with enter key prevented while fetching predictions. #923
- [add] Reduce character queries on LocationAutocompleteInput to reduce geocoding costs. #883
- [change] Update git links and improve documentation #911
- [change] improve env-template to better defaults. #912
- [fix] Touch event from location autocomplete prediction list ended up causing clicks. #917
- [change] Disable default predictions in listing wizard #906
-
[fix] Fix window resize redirecting to search page with reusable map component #905
-
[change] Maps configuration has been restructured. The new configuration is agnostic of the maps provider in use and works with both Google Maps as well as Mapbox.
The fuzzy location circle has less configuration, but otherwise all the previous settings can be set also in the new configuration. See
config.js
for details.The default location searches are now enabled in the
.env-template
. For old installations, theREACT_APP_DEFAULT_SEARCHES_ENABLED
env var should be set totrue
. The default searches can then be configured insrc/default-location-searches.js
.
- [change] Put availability calendar behind a feature flag #902
- [fix] Drop date time from time slots request query params #901
- [fix] Make a second time slots request when required #901
- [add] Map component (used in ListingPage) using Mapbox instead of Google Maps #896
- [add] Listing availability #868, #873, #891 & #892
- [add] Add support for user's current location as a default suggestion in the location autocomplete search. #895
- [add] Add support for default locations in the LocationAutocompleteInput component. Common
searches can be configured to show when the input has focus. This reduces typing and Google Places
geolocation API usage. The defaults can be configured in
src/components/LocationAutocompleteInput/GeocoderGoogleMaps.js
. #894 - [change] Removed the
country
parameter from the search page as it was not used anywhere. #893
- [change] Update the Sharetribe Flex SDK to the 1.0.0 version in NPM. All the
sharetribe-sdk
imports are now using the new package namesharetribe-flex-sdk
. #884 - [change] Reusable SearchMap. Fixed the original reverted version. (Includes audit exception 678) #882
- [fix] Hotfix: reverting the usage of ReusableMapContainer due to production build error. #881
- [change] Reusable SearchMap. #877
- [fix] Fix a search filters panel bug where selecting an option in a multi select filter ends up invoking a mobile filter callback function. #876
- [change] Use seeded random for client side coordinate obfuscation #874
- [change] Change static map to dynamic map when clicked. #871
- [fix] Lazy load map only if the map is near current viewport. #871
- [change] Use Google's static map on ListingPage. This is a reaction to pricing change of Google Maps APIs. #869
- [change] Use sessionTokens and fields for Autocomplete calls to Google Maps. This is a reaction to pricing change of Google Maps APIs. #867
- [change] Change TransactionPage state management in loadData. #863, #865 & #866
- [fix] Fix submit button state on contact details page. #864
- [fix] Fix listing page host section layout bug. #862
- [fix] Fix initial message input clearing too early in checkout page. #861
- [fix] Fix setting Topbar search input initial value.
- [change] Update Redux to v4 #859
- [fix] Fix setting Topbar search input initial value #857
- [fix] Improve slug creation (slashes were breaking rendering in some environments) #850
- [fix] Anonymous user should see contact link on UserCard #851
- [fix] Persisting booking request details across authentication #852
- [change] Footer styles changed to more generic (no disappearing columns etc.) If you have made changes to Footer, consider extracting it to different component before update. #853
- [change] Logo customization refactored to be easier. Check CheckoutPage, TopbarDesktop and Footer after update. #854
- [fix] Fix showing reviews from banned users. #855
- [change] Migrate remaining Redux Forms to Final Form. Also now all the form components can be found in the src/forms folder. Remove redux-form from the dependencies. #845
- [fix] Extract and fix missing information reminder modal from Topbar #846
- [fix] Add missing styles for ModalMissingInformation from Topbar #847
- [fix] API does not return all image variants anymore, this adds correct variants to update contact details call. #848
- [change] Change lodash import syntax to reduce bundle size (-15.14 KB) #839
- [fix] Use https instead of git to access SDK repo for Heroku build (now that the repo is public). TODO: create SDK releases instead of using direct refs to single commit. #841
- [fix] Typo fix for background-color #842
- Remove custom touched handling from
FieldCheckboxGroup
as it has has become obsolete now that Final Form is replacing Redux Form. #837 - Create Stripe account directly instead of passing payout details to Flex API (deprecated way). #836
- Starting a change log for Flex Template for Web.