In the very first episode of Star Trek: the original series, we see a white Captain reporting to his black Admiral boss, a black woman on the bridge just a couple years after Jim Crow was abolished, wearing a short skirt (a symbol of feminist liberation at the time), a Japanese helmsman on the bridge only 20 years after the internment camps, a Russian crewmate on the bridge during the Cold War [edit: actually did not appear until Season 2 but the point stands], and the foundation of the modern concept of queercoding.
In the very first episode of Star Trek: The Next Generation, we see male crossdressing crew members, a female officer on the bridge in charge of security, a literal ship’s counselor stationed at all times on the bridge, a single mom raising her teenage son on her own while juggling a full career in medicine, a blind mechanic whose “disability” is shown to be a strength, and an angry, all-powerful godlike being who is revealed to be simply a petulant child masquerading as a deity.
In the very first episode of Star Trek: Deep Space 9, we see a black man gain a powerful command position, respect the hell out of the customs of a religion he didn’t understand, show respect and equal treatment to members of three other alien races he didn’t understand, appoint a female guerilla fighter who defeated imperialist fascists to a position of authority within his administration and defer to her judgement in areas of her expertise, accept his friend’s gender change, and tell his son he loves him.
Star Trek has always been woke. You just grew up to be a bad person.


It’s not that they forgot to write it’s more likely that they don’t have the time, have an asshole production team that push metrics in their throat (the Paramount family is particularly racist but prefer money over their racism) and every good writers have been laid off for attempting unionization.
It’s sad but Star Trek is in its Enshitification phase and is going on and on and on …
Don’t have time? 90s Trek had 20+ episode seasons and a season every year, current Trek is 6 or 8 episodes every two years. While the production quality has gotten better, the writing has somehow gotten worse.