I use WMS on Geoserver to display MVTs in conjunction with mapboxgl.js v0.45.0. A OSM road layer renders 1:1 on top of the Mapbox base layer, so far so good.
However, I got a warning from the js console:
Vector tile source "geoserver" layer "roads" does not use vector tile spec v2 and therefore may have some rendering errors.
Does anybody know about the protobuf version used in geoserver? I reviewed the source code of the java tile package used and of the plugin in branch v2.13.x. Seems like MVTv1 is used and triggers the javascript warning. Can someone point me to the right location in the java code? Maybe we can upgrade the MVT package so that MVTv2.1 is used.
Here is the source code of the javascript integration in accordance with a GEOS bug report by another user. That works for me. see here on GEOS JIRA