[fr] Follow #1352

3.0 middleware and add missing parts in migration guide