After several years of decline, the population is increasing, helped by immigration, while outbound migration slows.