There's always the GFig filter, which has existed in GIMP for a long time. :)
GIMP 3.2 actually adds vector layers, which are the basis for a shape tool (it was my "big project" for this release). We have a GSoC project idea for doing the last bit of work to make a dedicated shape tool: https://developer.gimp.org/core/internship/ideas/#implement-...