Ah, I didn’t know about the BP_VERSION constant, that’s perfect.
I wrote a documents plugin that works great for 1.1, but is completely broken in 1.2 I’m sure I won’t have to change much, so I’ll probably go the “check version” route.
FYI, making Group Documents work natively with 1.2 is on my to-do list. Hopefully I’ll have an update for it in the next couple weeks. Thanks for checking it out!