The Drupal project composer template is currently our favorite in the company because it comes prepared with a significant number of improvements which saves us a lot of time when starting a project. If you don't know this template yet, you can visit the official project on github: https://github.com/drupal-composer/drupal-project
When we are using this template, updating from one minor version to another requires a small adjustment in the composer.json file, the process to be carried out is detailed below, which is very simple anyway:
If you are upgrading from Drupal 8.5 to 8.6 replace "~8.5.x" with "^8.6.0" for drupal/core and webflo/drupal-core-require-dev in your composer.json file, it should look like this:
Finally you run the update with the following command:
composer update drupal/core webflo/drupal-core-require-dev --with-dependencies