Skip to content

Genoverse v4.0.0

Compare
Choose a tag to compare
@simonbrent simonbrent released this 17 Mar 08:54
· 53 commits to master since this release

Breaking changes:

  • Genoverse is now written using ES6+ syntax, and relies on Webpack + Babel for support in older browsers such as Internet Explorer 11. An unfortunate side-effect of this change is that performance in Internet Explorer 11 is now noticeably worse for tracks with a large number of features.
  • Webpack's import/export syntax is used instead of relying on global variables. Track files must now export their class definitions as default, and may also provide Controller, Model and View definitions as named exports.
  • Code has been moved to a src directory. If installed via npm, a dist directory will contain a distribution created by Webpack.
  • jQuery is no longer global, but can be accessed via Genoverse.jQuery or genoverseInstance.jQuery
  • A track's legend property can no longer be true, must now be a Genoverse.Track.Legend
  • A new function, Genoverse.configure() must be called before referencing Genoverse.Track.Foo etc. See the documentation.

Other changes:

  • Fixed track destruction
  • Sourced more dependencies from npm
  • Updated dependencies
  • Added documentation