Normally when a new version of CQ/AEM is released then you always have to go through the process around what Maven dependencies you have to upgrade etc.
With AEM6.x this has become a lot simpler!
Now with AEM6 there is just one big Maven dependency that you need to add to your project, and you are good to go!
NOTE: Make sure you put this dependency at the *end* of your dependency-list, this way if other dependencies contain newer versions they take precedence.
Comment from @DrewGlass:
“This is not specific to Maven. It can be used with any build tool. In Gradle, it would be: