The new scholarly edition of _On Liberty_ from Hackett lists Harriet Taylor Mill as coauthor.
https://hackettpublishing.com/on-liberty-with-related-writings
PS: Kudos to Hackett for this good decision. I taught this book more than a dozen times in my career and always did what I could to bring out Harriet's contributions and John's acknowledgment of them. Perhaps now it will be easier to read the book fairly. We should not assume that all its arguments fit squarely into the utilitarian box, just because JS Mill was the author. We should be ready to recognize its non-utilitarian arguments, if only because Harriet was coauthor.
I'd argue that Harriet was less utilitarian than John. But either way, it's notable that under her influence he agreed to put his name on a work that departs more than his other works from "Millian" utilitarianism.

On Liberty: with Related Writings
Forthcoming - March 2026 "With Harriet Taylor's name at last joined to that of her beloved husband John Stuart Mill as the co-author of this timeless book, we get to see On Liberty even more clearly as the complex and nuanced text it has always been. The greatest plea for individual intellectual freedom ever penned, with its insistence that no idea should be left unexamined nor any protest left unheard, it is also implicitly a document of progressive reform: the political emancipation of women is as much a natural consequence of Mill and Taylor's view of liberty as is the need for unimpeded discussion of all political questions. The right to open debate leads inevitably to the possibility of undreamt-of reform. Set free from too narrow a 'libertarian' or ‘utilitarian’ understanding, we can once again embrace On Liberty as one of the greatest heralds of the open society we possess, and as a foundational two-headed document of the matchless moral adventure of liberal democracy."—Adam Gopnik, The New Yorker critic-at-large and author of A Thousand Small Sanities: The Moral Adventure of Liberalism (Basic Books, 2019)