I think you are now using 2023.1, and haven’t seen the other posts that talk about the new feature for overriding raster viewports.
You can read about the feature here:
Short version is, go into Document Setup, and look for the new rendering options. Uncheck the override box to get the export as raster that you’ve used before.