In the ionic the provider is now service?

I am working on two projects, one does not work to generate a supplier and the other does not work to generate a service. Can someone tell me the difference? What should I change to stay in the most recent? service is the most recent? What package or version should I use?