ModeShape/modeshape — pull request #684 by hchiorean (2013-02-08 15:26:26+00:00)
Title: MODE-1800 - Added the node primary type as information to the newDocumentId() method, giving connector implementations an additional piece of information.

Should be merged into 3.1.x and cherry-picked into master.