Bot releases are visible (Hide)
Published by rap1ds over 7 years ago
NPM packages are updated, run npm install
to get the latest packages.
Published by rap1ds almost 8 years ago
react_on_rails
gem #2655
us-east-1
region #2605
rake assets:precompile
fails if MySQL is not available. Issue fixed by upgrading money-rails
gem from 1.3 to 1.4 #2612 by @nicolaracco
In this release we are introducing layout changes that require new image styles. Therefore, a migration is added to reprocess all images from open listings into new styles. This does not require any precautions, but if your marketplace has a lot of open listings the time required for image reprocessing can be reduced by increasing the number of workers until all CreateSquareImagesJob
jobs have been processed.
This release updates Node.js to the latest LTS (long term support) version 6.9. You should update your local Node.js to the same version and run npm install
to update the NPM packages. There is now a strict enforcement for the Node.js version, and building the frontend bundles fail when using an unsupported version of Node.js.
Alongside the updated NPM packages, also the react_on_rails
gem is updated to match the NPM package version, and requires running bundle install
to install the latest version.
Published by bladealslayer about 8 years ago
Release 6.0.0 drops official support for MySQL server version 5.6. Please upgrade to 5.7 when upgrading Sharetribe. See the upgrade notes from release 5.12.0 for more information.
Published by bladealslayer about 8 years ago
rel=next
and rel=prev
links to give a hint to crawlers about the paginated content #2505
community.rb
#2459
initiated
state showed wrong total price in the transaction page if the item quantity was more than one #2452
IMPORTANT: This release deprecates use of MySQL server version 5.6.x. Please, consider upgrading to MySQL 5.7. Support for MySQL 5.6 will be dropped with the next release of Sharetribe. From this point onward, versions other than 5.7 might work, but are not guaranteed to work with Sharetribe. Make sure to back up your database before upgrading MySQL server. For general upgrade instructions, see the official MySQL upgrade instructions.
If you are using S3 and are using an AWS region other than us-east-1
, you need to update your config.yml
file and set the s3_region
configuration option to the AWS region you are using. As with all configuration options, you can also pass it as an environment variable.
Published by kpuputti about 8 years ago
RAILS_ENV=production
environment added to the rake assets:compile
command in README #2440 by @pcm211
This version is the second phase of removing support for Braintree payments. Old payment data for Braintree transactions will be removed in the migrations. If you want to save this data, you should take a backup before updating.
After the upgrade to 5.10.0 no new transactions could be started with Braintree anymore, and before upgrading to this version you should make sure that there are no ongoing Braintree transactions. You can check the status of each transaction in the transaction view in the admin panel. All transaction statuses should be either Conversation, Confirmed, Canceled, or Rejected.
Published by kpuputti about 8 years ago
This version starts the two step process of disabling Braintree payments. In the first phase new payments are disabled with Braintree. The main purpose of this version is to ensure that there will be no new Braintree transactions. Existing transactions can be completed still after this update.
This version changes existing transaction processes, so taking a backup before upgrading is recommended.
Reasoning behind removing Braintree support can be seen in the Community forum post.
Published by kpuputti about 8 years ago
asset_host
setting on landing pages #2320
babel-polyfill
with es6-shim
#2087
This release removes the need to run CSS compilation workers. There is no CSS compilation per marketplace anymore. The Procfile
has been updated, so if you run on Heroku, the css_compile
worker should disappear after deployment.
NPM packages have been updated, run npm install
to ensure you have the correct versions installed.
Published by rap1ds over 8 years ago
whitelabel_branding
based on features #2052
This release doesn't require any extra actions.
Published by Gnito over 8 years ago
cookie_session_key
#1966
This release adds a new Delayed Job queue "css_compile". All CSS compilations during the deployment are added to this queue. However, CSS compilations triggered from the admin UI do NOT go into this queue, instead they are added to the "default" queue.
A new worker is added to the Procfile to work for the new queue. If you're hosting in Heroku, you will see a new worker there.
This change doesn't require any changes, if you are compiling the stylesheets synchronously using the rake sharetribe:generate_customization_stylesheets_immediately
command during the deployment. However, if you are compiling the stylesheets asynchronously using the rake sharetribe:generate_customization_stylesheets
command, then you need to make sure that you have at least one worker working for the "css_compile" queue.
Ruby version is updated from 2.2.4 to 2.3.1. The update should bring performance improvements.
Using RVM, you can upgrade your local Ruby version like this:
rvm install ruby-2.3.1
rvm use ruby-2.3.1
gem install bundler
bundle install
React on Rails build environment is added in this release. This means that build environment needs to have node
set up. With Heroku this can be set with heroku buildpacks:add --index 1 heroku/nodejs
. For other environments - see npm instructions, nvm, or n. In addition, production environments should have NODE_ENV=production
set.
After bundle install, you should also install npm
packages:
npm install
This doesn't apply to OS version as it doesn't officially support running multiple marketplaces in one Sharetribe instance.
This release removes the ability for one user to belong to multiple marketplaces. From now on one user belongs to one and only one marketplace.
Because of that, this release contains quite a few migrations which will duplicate existing user accounts, if they belong to multiple communities. For example, if one user belongs to three communities, two new users will be created so that each user belongs to only one community.
The migrations are not safe to run while the application is running, so we recommend you to put the application on maintenance mode while running the migrations. Also, as always, remember to take database backup before migrating.
This release separates cookies by subdomain so that foo.sharetribe.com and bar.sharetribe.com have now separate session cookies. In order to migrate old sessions as smoothly as possible a new configuration option cookie_session_key
has been added to config.defaults.yml
. If you want to use custom session key, this variable must be set as an environment variable before deployment. Otherwise, session cookies might overlap and cause issues with log in.
Published by rap1ds over 8 years ago
Ruby version is updated from 2.1.8 to 2.2.4. The update should reduce memory usage and improve performance.
Using RVM, you can upgrade your local Ruby version like this:
rvm install ruby-2.2.4
rvm use ruby-2.2.4
gem install bundler
bundle install
Published by rap1ds over 8 years ago
This release removes the support for legacy hashing algorithm that was used with the legacy "ASI" service.
If use_asi_encryptor
was configured to false
(default) then you can safely upgrade and roll back this release.
However, if use_asi_encryptor
was configured to true
then you can not roll back this released without losing user authentication data. If you need to roll back, users need to request new password by clicking the "Forgot password link".
Published by mporkola over 8 years ago
Ruby version is updated from 2.1.2 to 2.1.8. The update contains security and bug fixes.
Using RVM, you can upgrade your local Ruby version like this:
rvm install ruby-2.1.8
rvm use ruby-2.1.8
gem install bundler
bundle install
Published by rap1ds over 8 years ago
This version contains some changes to the caching logic. The Rails cache needs to be cleared before upgrading.
Upgrade path:
Rails.cache.clear
)Published by rap1ds over 8 years ago
secret_key_base
#1671
bundle update
to update gems with patch level updates. #1663
delayed_job_max_run_time
which controls the maximum time for a single Delayed Job job. #1668
devise_allow_insecure_token_lookup
for seamless migration from earlier versions. See UPGRADE.md for more information. #1672
After updating, you are not able to downgrade to Rails 3 (version 4.6.0). Do not upgrade until you are sure that you don't need to roll back to Rails 3.
You need to set secret_key_base
to environment variables or to config.yml
for production
environment. Default values for development
and test
environments are provided.
Run SecureRandom.hex(64)
in rails console or irb to generate a new key.
This version changes the way how password reset tokens are being stored to the database. Due to this, tokens that are created with the earlier versions do not work anymore.
For seamless migration, set the environment variable devise_allow_insecure_token_lookup
to true
. After you are sure you have migrated all the reset tokens to the new format, you can remove the environment variable.
Published by rap1ds almost 9 years ago
Rails updated to from 3.2 to 4.0.
Before updating to your Sharetribe installations to 5.0.0, make sure that your current version is 4.6.0 or newer.
After you have deployed the new version you need to clear Rails cache by running to following command in your production application Rails console:
Rails.cache.clear
If something goes wrong, you can safely roll back this version back to 4.6.0. You don't need to roll back the database migrations. You may need to empty the cache again after the rollback.
Published by rap1ds almost 9 years ago
This is the last Sharetribe release using Rails 3.2. You should update to this release before moving forward to the Rails 4 release.