Shimano has a detailed compatibility chart online:
2018-2019 SHIMANO Product Information Web
It's already updated with R7000 details. It looks like you'll at least need to change the brake hose kit, and _maybe_ the calipers, depending on which ones you've got.