gl-matrix icon indicating copy to clipboard operation
gl-matrix copied to clipboard

IndexedCollection type not available in releases

Open davazp opened this issue 1 year ago โ€ข 3 comments

I noticed the change from Float32Array in the types to IndexedCollection and I needed to use this for my current project.

I am using the latest release on npm 3.4.3, but there the type is still Float32Array: https://www.npmjs.com/package/gl-matrix?activeTab=code

I am bit confused with the state of the branches/tags/releases. There is no git tag for 3.4.3, so I don't know from what git commit it was released. There is a git branch 3.4.x that still uses Float32Array, but there is a tag for 3.4.1 which does contain IndexedCollection, but was not released to npm.

https://github.com/toji/gl-matrix/blob/v3.4.1/src/types.d.ts

So my questions are, where was 3.4.3 released from? and would be it possible to get a released with the IndexedCollection changes included?

In the meantime, I have a patch applied to adjust the types locally, so it is not a big deal if this cannot happen for backward compatibility or other reasons.

Thanks!

davazp avatar Jun 13 '24 10:06 davazp

We've run into this too when migrating Mapbox GL JS to TypeScript. @toji it would be really nice to get v3.4.4 with the updated types ๐Ÿ™

mourner avatar Jun 28 '24 11:06 mourner

Hi @toji,

Just wanted to check if thereโ€™s a chance to get a patch release (v3.4.4) with the updated TypeScript typings. It would save developers from maintaining local patches ๐Ÿ™

stepankuzmin avatar Sep 13 '24 16:09 stepankuzmin

Hi @toji,

I'm flagging this again for visibility. It would be really helpful to get a v3 patch release with the updated TypeScript typings ๐Ÿ™

stepankuzmin avatar Mar 18 '25 09:03 stepankuzmin