Sharetribe v10.1.0 Release Notes

Release Date: 2021-03-17 // 10 months ago
  • โž• Added

    • ๐Ÿ†• New Admin panel, done through many many PRs that have admin2 or admin v2in their title
    • Info text to Stripe form #4118
    • ๐Ÿ‘ Stripe support for Cyprus #4122
    • ๐Ÿ‘ Stripe support for Malta #4123
    • ๐Ÿ‘ Stripe support for Bulgaria #4124
    • โž• Add "paypal/stripe setup" in users csv export #4003, #4196
    • ๐Ÿ’ป UI for setting custom domain #4227, #4237, #4241, #4296, #4312
    • ๐Ÿ‘ reCAPTCHA support #4299
    • Email notification to admins when changing the marketplace ident #4326
    • Missing settings for two email notifications #4328
    • ๐Ÿ‘ Stripe support for Hungary #4295

    ๐Ÿ”„ Changed

    • Increase Facebook and Twitter meta images size #4100
    • Add more states to FINISHED_TX_STATES to allow user account deletion correctly #4109
    • โšก๏ธ Update airbrake and newrelic #4111
    • โœ‚ Remove default favicon and add type tag to favicon link #4140
    • ๐Ÿ”ง Make active storage service configurable #4143
    • Specify the requested fields in Google Maps Places API query #4146
    • Review text is required in edits from admins #4153
    • โšก๏ธ Update Proxima font #4177
    • ๐Ÿ”ง Adjust CircleCI configuration for faster test runs #4274
    • ๐Ÿ‘‰ Make the Custom script plan_feature dependent #4289
    • ๐Ÿ›  Fix job priorities #4294
    • Email layout v2 - Link color consistency with marketplace color #4303
    • โšก๏ธ Optimize polling for pending delayed jobs #4311
    • Email layout v2 - Disable markdown formatting in listing description #4305
    • ๐Ÿ‘Œ Improve efficiency of community membership counting #4319
    • Email layout v2 - Add note to email layout #4318
    • Email layout v2 - Disable markdown formatting in listing description #4305
    • ๐Ÿšš Email layout v2 - Remove ability to change feature flag from Admin panel #4307
    • 0๏ธโƒฃ Use the community default locale for CLP #4341
    • ๐Ÿ”„ Change the main font for Go UI to Proxima soft #4353

    โœ‚ Removed

    • Sunset PayPal in India #4338

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed query for booked dates in range #4091
    • ๐Ÿ›  Fixed error when using daily availability management datepicker #4094
    • ๐Ÿ›  Fixed confirming payment multiple times with Stripe #4102
    • ๐Ÿ›  Fixed inconsistent transaction left after transition fails #4092
    • ๐Ÿ›  Fixed CLP hero section with upload background image #4101
    • ๐Ÿ›  Fixed search with fuzzy location #4103
    • ๐Ÿ›  Fixed issue with error translation in some languages #4132
    • ๐Ÿ›  Fixed user display_name #4130
    • ๐Ÿ›  Fixed active map view on listing page #4145
    • ๐Ÿ›  Fixed default setting automatic newsletters #4150
    • ๐Ÿ›  Fixed bug with "Display name" not being used in transaction steps texts #4155
    • ๐Ÿ›  Fixed no listing location makes clicks on "Show in the next newsletter" impossible #4181
    • ๐Ÿ›  Fixed infinite scroll on homepage not working w/ Chromium 87 #4273
    • ๐Ÿ›  Fixed test email not sent to admin if they have unsubscribed #4327
    • ๐Ÿ›  Fixed inconsistency between the Unsubscribe link in the Receipt of payment email and the notification setting #4329
    • ๐Ÿ›  Fixed rels deleted users #4340
    • ๐Ÿ›  Fixed Facebook buttons cut off and misaligned #4348

    ๐Ÿ”’ Security

    • โšก๏ธ Updated fileupload plugin #4136
    • โšก๏ธ Update rails to #4141
    • โšก๏ธ Update rails to #4231
    • โฌ†๏ธ Upgrades node-sass and json #4233
    • โž• Add tests ensuring csrf protection for omniauth auth paths #4266
    • โšก๏ธ Vulnerable dependencies updates - Axios, Nokogiri, Redcarpet #4325

Previous changes from v10.0.0

  • โž• Added

    • Fuzzy location #4035
    • ๐Ÿ‘ Stripe support for Czech Republic #4049, #4069
    • ๐Ÿ‘ Allow admin to edit the button in Hero section #4051
    • ๐Ÿ‘ Stripe support for Romania #4066

    ๐Ÿ”„ Changed

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed inbox doesn't consider commission status #4044
    • ๐Ÿ›  Fixed encoding issue with PayPal #4045
    • ๐Ÿ›  Fixed missing listing image in community updates email #4046
    • ๐Ÿ›  Fixed scope of transations for testimonials to support Disputed #4063

    โฌ†๏ธ Upgrade from 9.1.0 to 10.0.0

    ๐Ÿ”ง If you are not using Harmony for availability
    โšก๏ธ management, there is nothing special. See the General update
    โšก๏ธ instructions

    Otherwise, follow the instructions below.

    Migrate Harmony data to Go

    ๐Ÿš€ With this release, Go no longer uses Harmony as
    backend for day- and night-based availability management. The functionality is
    completely implemented within Go (there is no change in user-facing features).
    However, this requires that some data from Harmony is migrated to Go's database.

    โšก๏ธ Start by following the General update
    โšก๏ธ instructions
    , which will migrate the Go
    โœ… database to the latest version.

    Backup also your Harmony database.

    โš™ Run the following SQL queries to copy data over. The queries assume you are
    0๏ธโƒฃ using the default production database names for both Go
    (sharetribe_production) and Harmony (harmony_production_db). If that's
    not the case, replace the database names accordingly.

    INSERT INTO sharetribe\_production.listing\_blocked\_dates (listing\_id, blocked\_at, created\_at, updated\_at), e.start, e.created\_at, e.updated\_atFROM harmony\_production\_db.exceptions e LEFT JOIN harmony\_production\_db.bookables b ON e.bookable\_id = b.idLEFT JOIN sharetribe\_production.listings l ON b.ref\_id = l.uuidLEFT JOIN sharetribe\_production.listing\_blocked\_dates bd ON bd.listing\_id = AND bd.blocked\_at = e.startWHEREe.deleted \<\> 1AND IS NOT NULLAND e.start \>= curdate() AND IS NULLGROUP BY ;-- delete blocked dates that are deleted in Harmony but present in Go-- needs temporary tableCREATE TABLE sharetribe\_production.tmp LIKE sharetribe\_production.listing\_blocked\_dates;INSERT INTO sharetribe\_production.tmpSELECT sharetribe\_production.listing\_blocked\_dates.\*FROM sharetribe\_production.listing\_blocked\_dates;CREATE TABLE sharetribe\_production.tmp2 (id int(11) NOT NULL, PRIMARY KEY (id));INSERT INTO sharetribe\_production.tmp2 ( SELECT distinct( FROM harmony\_production\_db.exceptions e INNER JOIN ( SELECT, e.bookable\_id, start, max(updated\_at) AS max\_updated\_at FROM harmony\_production\_db.exceptions e GROUP BY e.bookable\_id, e.start ) e2 ON = AND e.updated\_at = e2.max\_updated\_atLEFT JOIN harmony\_production\_db.bookables b ON e.bookable\_id = b.idLEFT JOIN sharetribe\_production.listings l ON b.ref\_id = l.uuidLEFT JOIN sharetribe\_production.tmp bd ON bd.listing\_id = AND bd.blocked\_at = e.startWHEREe.deleted = 1AND IS NOT NULLAND e.start \>= curdate() AND IS NOT NULLGROUP BY;DELETE FROM sharetribe\_production.listing\_blocked\_dates WHERE id IN ( SELECT id FROM sharetribe\_production.tmp2);DROP TABLE sharetribe\_production.tmp;DROP TABLE sharetribe\_production.tmp2;

    You can now bring Go back up.

    ๐Ÿšš After the migration you can delete Harmony's database and remove the Harmony
    service altogether from your system.