The way I learned it is that contrary motion is better than similar motion, similar motion is better than parallel motion, and oblique motion fits somewhere on the hierarchy, but I forget where. None of these were prohibited except parallel perfect intervals.
While we're on the subject, I never could understand why some textbooks prohibit parallel fifths but not parallel fourths. After all, isn't one the inversion of the other?
At least Bach was consistent. He wrote parallel fourths in #106, ms. 5; #183, ms. 1; and #285, ms. 9, but he also wrote parallel fifths in #37, ms. 3; #121, ms. 4; #244, ms. 8; and #288, ms. 1.
I was playing second violin in the b minor suite for flute and strings. When we were rehearsing the fugue, I noticed that I had parallel unisons with the viola.
I asked the conductor, "Aren't those parallel unisons?"
The conductor said "yes."
I asked, "But aren't parallel unisons forbidden?"
Again, the conductor said "yes."
I must have looked puzzled. The conductor said, "Bach just bent the rules, that's all."
Then he added, "All the composers bent the rules except Palestrina---boring!"