When did stars "fixed in a firmament" view get replaced?
This is a history of cosmology/astronomy question.
I am curious about how recently the cosmological view that the stars are fixed in some sort of firmament persisted.
My uninformed guess is that the firmament view held sway until either parallax measurements were capable of telling us that different stars were at different distances (so mid to late 19th century?), or parallax was at least capable of telling us the minimum distance to stars was so great that they had to be objects as bright as our sun (early 19th century?). But I am just guessing. Perhaps there were reasonably persuasive arguments against a celestial sphere or firmament that didn't depend on fine parallax measurements.
I believe the idea that the stars are objects like our sun has been around much longer, but I'm asking when the, if not consensus view changed, but when the generally accepted view among astronomers shifted way from a celestial sphere or firmament.
If there are any books or papers describing this history, I would welcome pointers to it.