Skip to content

Releases: swagger-api/swagger-editor

2.10.1

11 May 05:46
Compare
Choose a tag to compare

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

Fixed bugs

  • Changing fold throws an error #866
  • Preferences > Reset Editor Settings is broken #880
  • And many more
  • allOf in parameter schemas are now working properly #676

Misc

  • HTTP PATCH method has a better color #851
  • Updated dependencies

2.9.9

12 Mar 19:01
Compare
Choose a tag to compare

Important changes in this release

  • 0e5f323 Use the correct http-server flag [Ignacio Carbajo]
  • da5af5d [Less] Correct the font size in markdown list and table [Sahar Jafari]
  • 3462527 Update dependecies version in package.json [Sahar Jafari]
  • 4368c4d [Less] Update search box styling [Sahar Jafari]
  • 54fe46e Update paste.json textarea color [Sahar Jafari]
  • 320cf31 7e0b15a 76ecbc6 [import] Update Sway worker and use the new Sway-worker api signiture in paste JSON [Sahar Jafari]
  • 8eea3e3 [less] Refactor Less variables in editor, header, schema-model and security [Sahar Jafari]
  • 0068156 [build] Copy ace keybindng files to dist [Sahar Jafari]
  • 18a5d75 d1e5d1a cbe67b3 2283320 cad71fc bd962f8 fe34f31 Improved Docker build and Docker image
  • b805b15 Fix empty-string optional query parameter showing up in tryoperations [Nicolas Bonnotte]
  • 44bcb24 Bugfix: Response headers was never shown [Ricki Runge]
  • e6ed64a [preview] Add jump-to-YAML icon [Sahar Jafari]
  • d8948e4 [fileloader] Fix issues when importing a yaml file [Sahar Jafari]
  • 6dfa6a1 [header] Don't assign preview when there is an error in yaml [Sahar Jafari]
  • 4f044bf [preview] Render response examples [Sahar Jafari]
  • 8f2c179 [intro] Make image URLs relative [Mohsen Azimi]
  • 816bcb0 [codegen] Show error modal when codegen call fails [Mohsen Azimi]
  • f6709e4 [menus] Wrap +/- font-size icons in an element [Mohsen Azimi]
  • aed66f0 [menus] Add icons to menu items [Mohsen Azimi]
  • e6f9f86 [build] Use SSH for repository field in package.json [Mohsen Azimi]
  • f571a6a [examples] Add link to source code of heroku pets example [Mohsen Azimi]
  • 9825c17 [menus][codegen] Drop "Alpha" badge from code gen menu options [Mohsen Azimi]
  • 473ceca install updated version of Source Code Pro from GitHub [Vladimir Rutsky]
  • 9521e7f [try] Fix bug in operation#getParameters [Mohsen Azimi]
  • 5995d36 [try] make parameter required if allowEmptyValue is set to false [Mohsen Azimi]
  • 8e88f10 [preview] Keep fold state when updating the preview [Mohsen Azimi]
  • 0f1e071 [test] Fix proxies in karma config [Mohsen Azimi]
  • d06dbf5 [test] fix typo in jshintrc file [Mohsen Azimi]
  • e3351b1 [import] Fix drag and drop [Mohsen Azimi]
  • 4bd5dbc [test][ci] Use "stable" for latest Node.js [Mohsen Azimi]
  • 649ab9f [dependencies] update yaml-worker [Mohsen Azimi]

2.9.8

19 Sep 00:07
Compare
Choose a tag to compare

Highlights of this release:

  • Composing AST from YAML is back to main thread due to this memory leak bug. Because AST composing is a heavy operation, we disable autocomplete and increase keypress throttle time automatically when Swagger Editor detects a very large Swagger file. When the bug reported above is fixed we will remove this behavior, but for now this is the better option.
  • Tags are rendered inline if no tag has a description #645
  • It will let user know if code generator service is down #635
  • "List all operations" open ups collapsed paths #643
  • It's easier to host Swagger Editor in subpaths #647
  • No longer mangling file names in dist folder #648
  • Bug fixes: #656 #640 #639 #638 #633 #629 #598 #549

2.9.7

09 Sep 02:11
Compare
Choose a tag to compare

There was more than 200 commits and 50 issues were closed since previous release. We mostly focused on performance, accuracy and bug fixes in this release. There was less new feature and more work toward making Swagger Editor more stable.

New Features

  • Multi-threaded Swagger processing. Swagger Editor now uses two separate threads to process the Swagger document. This will guarantee Swagger processing is not blocking the UI thread.
  • Autocomplete is more accurate and reliable. Swagger Editor is now suggesting enum values on top of known keys. It also suggest values for JSON Pointer ($ref) references.
  • And a lot more enhancements. See full list of enhancements made

Fixed Bugs

See list of fixed bugs here

2.9.6

22 May 22:55
Compare
Choose a tag to compare

New Features

  • Renders a deprecated tag on deprecated operations #433
  • Human friendly menu options for code-generator
  • A new refined menu bar
  • A new and more accurate progress/status indicator
  • Allows disabling backend health check #437
  • Allows empty username/password in basic auth #450
  • Allow user to bypass cors-it proxy when importing YAML #455
  • Drag and drop file import #455
  • Ace editor gets annotated with errors and warnings #445
  • Warns user about cross-origin calls #455
  • More autocomplete options for JSON Schema #432
  • Autocomplete improvements #455 #432
  • Try this operation shows validation errors
  • Allow loose JSON Schema in body parameter schemas #383

Fixed Bugs

  • Allow multiple formData parameters #435
  • Multiple Try this operation bug fixes: #436
  • backendEndpoint resolved based on it's origin(relative/absolute)
  • Honors defaults.examplesFolder when loading examples
  • Uses browser localStorage for saving the state of intro screen
  • Links in rendered info section open up in a new tab #451
  • Honors developmentPort for launching the connect server #454
  • Styling touchups #461
  • Resolves $ref in definitions in compose time better #444

Internals

  • Refactored autocomplete code
  • Overhauled documentations
  • E2E tests improvements

2.9.5

08 May 05:14
Compare
Choose a tag to compare

New Features

  • Better autocomplete suggestions d4ecafa d72481c
  • Code generators are back #147
  • Replaced try operation form generator with Angular JSON Schema Form #384
  • External Hooks
  • Branding customization can add JavaScript code too. docs fcb27b2
  • Editor configurations can override default Ace configurations 83f8634
  • Import URL validates on keypress with a throttle. #352
  • Server PUT throttle is configurable #349
  • It's possible to use multiple securities in try operation #318
  • "Paste JSON" accepts invalid Swagger #356
  • Response headers are now rendered in preview #268
  • "Mode" menu is gone
  • Using _.applyDiff for a very fast update cycle

Fixed Bugs

  • Menus disappear after clicking #348
  • Backend relative paths are working #434
  • Focuses in input tag when "import URL" dialog pops up #418
  • ..and many more

Internals

  • Updated various dependencies
  • E2E tests for Try Operation #285
  • Testing in Node 0.12 and iojs in TravisCI now
  • npm start is now serving the built version 11442d0
  • npm start works in Windows
  • Added documentation explaining CORS issues

2.9.2

17 Feb 20:52
Compare
Choose a tag to compare

New features

  • A much faster preview updating mechanism #337
  • Google Analytics ID is configurable now #310
  • Root securities will be added to all operations #302
  • A smaller switch in schema-model directive for less cluttered preview b639f60
  • Renders response description in markdown 722e314

Fixed bugs

  • Api Key Authentication modal can't be close after input the key to authenticate bug #326
  • Remove preceding slash bug #321
  • Error when pasting JSON bug #320
  • Problems in stored authentication bug #311
  • array type causes query parameters to disappear bug #290

Internals

  • Upgraded AngularJS version
  • Updated Jasmine & Protractor

v2.8.0

15 Jan 23:10
Compare
Choose a tag to compare

Tons of improvements.

Pre-release v2.0.21

26 Aug 20:45
Compare
Choose a tag to compare
Pre-release v2.0.21 Pre-release
Pre-release

This is a pre-release of version 2 of the editor