Our first step of the new Authors Portal is Live! Learn more or click here to check it out!
We've added a new function in 3.1, GetPlayerFacing(), that should make its way to the PTR soon. Addons that were depending on the minimap for this information should use this new function instead.
It returns one value in degrees, where 0 is north, -90 is east, 180 is south, 90 is west, as follows:
local degrees = GetPlayerFacing();