Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #38667
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: 3rd party scripts |
| Date | 2020-08-05 10:43 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <7831474.NyiUUSuA9g@PointedEars.de> (permalink) |
| References | <DcidnQsjheuu04LCnZ2dnUU7-QXNnZ2d@westnet.com.au> <3062290.aeNJFYEL58@PointedEars.de> |
Thomas 'PointedEars' Lahn wrote: > In theory, there is semantic versioning, with which developers can make > updates to their code and indicate that the new version only fixes bugs or > introduces new features, but does not break any existing code: > > - A change from version 1.4.21 to 1.4.22 would indicate that only bugs > were > fixed. > > - A change from version 1.4.21 to 1.5.3 would indicate that new features > were introduced in a backwards-compatible way, and some bugs were fixed. > > - A change from version 1.4.21 to 2.0.2 would indicate that breaking > changes have been introduced, and that old code would probably have to > be updated before it can be used with the new version > > Then it would be possible to refer to a major version and always use the > newest version of the library, e.g. > > https://example.com/lib-1.js > > This could be equivalent (by server-side redirect) to > > https://example.com/lib-1.4.22.js > > if the most recent version of the 1.x series is 1.4.22. I forgot the reference: <https://semver.org/> But apparently (from my professional experience) the more common way today is to use semantic versioning in your build system, often based on Node.js, like Bower or plain npm, build the third-party library together with your code, and then refer to the minified (and potentially source-mapped) version of that: <https://docs.npmjs.com/about-semantic-versioning> -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
3rd party scripts Andrew Poulos <ap_prog@hotmail.com> - 2020-07-28 07:59 +1000
Re: 3rd party scripts "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-28 01:14 +0200
Re: 3rd party scripts "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-07-27 18:19 -0700
Re: 3rd party scripts "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-07-27 18:21 -0700
Re: 3rd party scripts Arno Welzel <usenet@arnowelzel.de> - 2020-07-28 04:38 +0200
Re: 3rd party scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-07-28 18:25 +0200
Re: 3rd party scripts Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-08-05 10:43 +0200
csiph-web