Migration version 0.7.2 on 0.8.0

The problem of building the project when migrating from version 0.7.2 to version 0.8.0 . Among the reasons, I identified an error in the agent. What are the advantages of migration? How to get around the problem?

import dfx_service from ‘dfx-service/my_service’;
Does not recognize the service in version 0.7.2 everything is fine

Instructions on migrating your code are here:

The advantages of migration are

  1. latest versions of Candid, Motoko, and other dependencies in the sdk
  2. Support for type inference in your frontend code
  3. broader bundler support

Here’s a writeup I wrote for the changes back when they were in version 0.7.7, which was ultimately promoted as version 0.8.0: Dfx 0.7.7 Changes | Kyle Peacock's website

1 Like

Ok, I’ll look further. Thanks.