2.10.1
Version 2.10.1 is a big release for internal build system and code organization. There is also bug fixes and new features in this release.
Build System
- Grunt is replaced with Webpack
- We no longer use Bower for dependencies
- We have sourcemaps for development, production
- npm scripts are used for various tasks instead of Grunt
- CommonJS is used for source dependency management
- Building on Windows is now much more stable
- Web Workers are now included via Webpack. No worker-specific dependencies is used anymore.
- Fonts are not checked into the source code anymore and installed via npm
Test and Lint
- JSHint and JCCS are now replaced with ESLint with stricter lint rules
- Unit tests and End-to-end tests are run in Google Chrome in TravisCI
- Many code style issues were fixed by updating our style guide
- We are now using Mocha reporter for unit test reports
npm
swagger-editor-srcpackage is now deprecated.swagger-editoris the only package that we will publish from now on.- We will publish to npm via TravisCI
Fixed bugs
- Changing fold throws an error #866
- Preferences > Reset Editor Settings is broken #880
- And many more
allOfin parameter schemas are now working properly #676
Misc
- HTTP PATCH method has a better color #851
- Updated dependencies