This changed because before when using as and prefix in the same route would append both of them to your route name, so the prefix appending dropped in place of the as.
Route::group([
'as' => 'admin.', // the trailing dot makes me think this is unintended
// 'prefix' => 'admin'
], function () {
Route::resource('post', 'PostController');
});