Open-EO / openeo-js-client

JavaScript and TypeScript client for the openEO API.
https://open-eo.github.io/openeo-js-client/latest/
Apache License 2.0
15 stars 6 forks source link

Improve version number comparison #17

Closed m-mohr closed 4 years ago

m-mohr commented 5 years ago

The current version number comparison is very dumb and only works for the development versions of the API at the moment. In a future version of the JS client we need something more robust, e.g. http://jsfiddle.net/ripper234/Xv9WL/28/ or https://www.npmjs.com/package/compare-versions.

m-mohr commented 5 years ago

Implemented a better version for 0.4.0-beta.2, but doesn't support something like "1.0.0-beta.1" yet. We need to check, whether we need something like that. Not sure whether we release API alpha or beta releases anytime soon?

m-mohr commented 4 years ago

Implemented using openeo-js-commons.