Although this question is quite old and no longer relevant for Drupal 8 as drush no longer has entity-updates, I believe people would still be landing on this page with Pending Entity Updates messages in the Status Report. I ran into the same scenario and wanted to address that issue.
The message is shown when the definition of the entity in the database ...
While you could copy a core module from a newer Drupal version, that is probably going to create issues, as the module code could be changed because of changes in Drupal core code.
For example, a new class could replace an old one. Using the newer version of the module would cause its code to try to instantiate a class that doesn't exist in the old Drupal ...
For example, could you update Views without updating core?
First of all, you should check if you could get away with implementing those changes via a hook, event subscriber, or altering/overriding a service.
If not, download Lastest_Drupal_8.zip and unzip only /core/modules/views folder onto your projects /core/modules/views folder.
If you like, you could ...
I couldn't find the key_value table anywhere.
After a lot of research, I stumbled upon this article by Marius Cârneală.
His SQL command worked for me: truncate cache_update
You can also run it using drush: drush sqlq truncate cache_update
In symfony I would delete vendor dir and run composer install. But in
drupal not all files are in vendor dir.
What is the best workflow in this case? Should I manually delete old
vendor files (what dirs exactly?)
See .gitignore in your project dir:
# Ignore directories generated by Composer
Normally you can simply update core and all extensions in a single pass:
Only if this doesn't work, try to update core in a separate step by following the procedures described in the drupal composer project:
composer update drupal/core webflo/drupal-core-require-dev "symfony/*" --with-dependencies
Solved it. I had to add that "webflo/drupal-core-require-dev" to update command to be updates as well, because without that core couldn't be updated:
composer update drupal/core "webflo/drupal-core-require-dev" --with-dependencies
Saw that in "known issues" section. :/
It's really strange - what's the purpose of --with-dependencies when I have to add ...