2.0.0-alpha.20 (2018-05-14)
- fix worker is not defined in lib bundle (6a5513e)
2.0.0-alpha.19 (2018-05-14)
- change look of additionalProperties (126c6a6)
- disable chrome tap-highlight on mobile (09cbe88)
- fix @observer on PureComponent warning (afb11d6)
- fix build caused by new babel decorators syntax, fixes #487 (01f575c)
- fix prism lang dependencies, fixes #467 (42cf18e)
- fix spelling in error message (#455) (64119c4)
- limit height of discriminator dropdown, fixes #484 (6d1a9e5)
- path parameters are not correctly override, fixes #481 (2cf4c3c)
2.0.0-alpha.18 (2018-03-23)
- fix logo width (384c883)
- modify the peerDependencies to reflect the need for react 16.3 (b29c329)
- scroll to section sooner when SSR + simplify item ids (d1d8042)
- cli: don't wait for content loaded in bundled HTML (d9ee2d0)
2.0.0-alpha.17 (2018-03-21)
- css fix + update theme (05403a7)
- cli: allow to set url to the spec in SSR mode (c9c6bc5)
- cli: fix crash (8891f5c)
- cli: fix output option type (c729c6c)
- cli: rename redoc-cli bin (06b5a00)
- fix second-level heading in description (a084532)
- make field type color more dark (closes #439) (d27e61a)
- cli: add --template option (b7afce9)
- cli: add options to specify redoc options (2732c89)
- cli: add title option to bundle (bb8a678)
- add more options to theme (cbce28a)
1.21.2 (2018-02-26)
1.21.1 (2018-02-23)
- avoid endless recursion in schema-walker in some cases (309cc23), closes #418 #395
- fix crash when discriminator is used incorrectly (b1d928d)
1.21.0 (2018-02-18)
1.20.0 (2018-01-21)
- Path parameters are not correctly overriden (c406dc5), closes #400
- Use parentNode instead of parentElement to fix IE11 crash (e8adb60), closes #406
- Dropped bower support. No more dist files on the
releases
branch.
2.0.0-alpha.15 (2018-03-16)
- fix broken css after installing polished (6018042)
- more advanced theme engine (1df690a)
2.0.0-alpha.14 (2018-03-15)
- fix CLI crash + build it on travis (7769ba8)
2.0.0-alpha.13 (2018-03-15)
- A couple minor bug fixes (#436) (5dc21af)
- add extra null-check + warning (8757fa5)
- add logo width to the theme (28f2391)
- align logo by center (18ec3ac)
- discriminator dropdown showing incorrect field if sorted (bcf39dc)
- fix crash when referencing non-existing security scheme (1f7fc44)
- fix overflowing content in JSON samples (02c2413)
- fix right-panel blinking when scrolling + css improvements (a78f9ab)
- fix search-indexing for SSR (1428fb5)
- fix the media queries utils so it gets the values from the current theme (#420) (3924d3c)
- fix worker import (4896346)
- make ReactStandalone react on props changes (0cb0af2)
- merge inner properties of allOf (8926dd4)
- one-of dropdown not switching (0f1b6a6)
- referenced header name is empty (13165fb)
- skipReadOnly/skipWritOnly not passing down to nested array (6df8127)
- skipReadOnly/skipWritOnly not passing down to nested OneOf (2462639)
- various search fixes (b797c96)
- writeOnly not respected in response samples (87abdf7)
- add clear icon to searchbox (825162e)
- add hideDownloadButton option (8dbe938)
- add marker (1ff2bd8)
- arrow navigation in search results (fe3245a)
- basis search (6990cd2)
- ReDoc CLI ✨ (390f6c1)
- reqired-first sort order for params (ecf33d2)
- serialize search-index (e94f842)
2.0.0-alpha.12 (2018-02-07)
- basic responsiveness (a29c3cc)
- crash in MarkdownRenderer on non-string (dead161)
- discriminator fix (ff3bb24)
- filter out non-existing security schemas + warn (ee822f6)
- fix oneOf title for array (1f3701d)
- fix tbody > tr nesting warning (a3cbb14)
- improve copy tooltip perf (29207cf)
- resolve menu synchronization issue (use proper throttle) (84d1c7b)
- responsive side menu (3aab2d9)
2.0.0-alpha.11 (2018-01-29)
- courier misspelling (#409) (96fb7ce)
- crash on 2-level md heading at the beginning (e9f23f7)
- make active tab more clear (4b5df22)
- perfect scroll not working (199f240)
- use array items example (12f79f0), closes #408
- wrap text in code samples (6c71a66)
2.0.0-alpha.9 (2018-01-11)
- handle scrollYOffset in ScrollService (dcab770)
2.0.0-alpha.8 (2018-01-10)
- undo section id + some minor fixes (0253c5d)
2.0.0-alpha.7 (2018-01-10)
- add id attr to headers to work before react is loaded if ssr (1743453)
- crate spec as data/base64 link when ssr (33678e6)
- example value is not showed if it is false (9756364)
2.0.0-alpha.6 (2018-01-10)
- allOf and deref exit not only named refs (435cccd)
- do not ignore path level parameters (14f8408)
- improve rendering of types (17da7b7)
- move title propagation to the correct place (0b0bc99)
- owerwrite text-align to left (bfee3ed)
- initial display security requirements (50e2a58)
2.0.0-alpha.5 (2017-12-07)
- correct pointer for the schema (4ae1574)
- bundle in reftools in lib build (do not crash on prod builds in create-react-app) (57129d3)
2.0.0-alpha.4 (2017-11-24)
- add ellipsis for menu items with long words (3421be2)
- crashes on some dereferencing/allOf merging cases (335deb9)
- do not auto-append security-definitions if they are not in the spec (426e5b6)
- don't display operations without tags as tag items in menu (ca81b6d)
2.0.0-alpha.3 (2017-11-23)
- Fix crash when using type
file
in OpenAPI 2.0 in some places
Complete rewrite of ReDoc using React so here only major changes are listed.
Complete rewrite also means that this rewrite may introduce issues, but they should be resolved before 2.0.0
.
- Basic Support for OpenAPI 3
- Usage as a React component
- Fonts are not loaded by ReDoc so you should load them. Default fonts can be loaded as bellow:
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
- no more bower releases
- no more GitHub pages-based CDN. Use unpkg.com to access ReDoc releases
lazyLoading
option not implemented yet- Copying to clipboard of samples not implemented yet
- Search not implemented yet
1.19.3 (2017-11-16)
1.19.2 (2017-11-10)
1.19.1 (2017-10-02)
2.0.0-alpha.16 (2018-03-18)
- move cli to a separate npm package (95c7585)
- prefer
.extend
overstyled()
to make styles more predictable (ed20ac1)
- use new Context API for options (e022349)
1.19.0 (2017-09-21)
- Clearly label version compatibility (8d849a6), closes #338
- HEAD http verb support (d8b6e02), closes #342
- add ignoredHeaderParameters option (56d62e5)
- add native-scrollbars option to workaround scrolling perf issues (f2ed92c)
1.18.1 (2017-08-28)
1.18.0 (2017-08-28)
- increase padding top for
.api-info-wrapper
when left sidebar is hiding to avoid header overlaying by top menu (514fc29) - add
display: inline-block
for.openapi-button
(86b4db4), closes #321 - add margins around list-items in markdown (b165785)
- generate download link for specs defined by an object (60e8cb4), closes #289
- support text-plain response sample (b84177c), closes #270
- clickable logo that points to specific url (cb3d318), closes #322
- support x-example for parameters (f792273), closes #297
1.17.0 (2017-08-02)
- copy code-samples included \n\r characters (cd962fa), closes #296
- enum with single value not shown in non-body params (87d9abd), closes #284
- handle case where items is array in indexer (5e5db72), closes #304
- output dates as ISO 8601 strings in JSON Formatter (#313) (86d8179)
- make padding between h2 sections smaller (2c89536), closes #291
- ready-only for nested objects samples (be41d6d), closes #300
- add
hide-loading
option (2ebca4b), closes #315 - add special rendering for deprecated operations (#290) (2748aac)
- export angular module (ef5101b)
- support for xml samples in response when there is no schema in response (eb7089b), closes #307
1.16.0 (2017-05-12)
- do not show discriminator dropdown if it is empty (7a5d315)
- prevent possible XSS using
untrusted-spec
option (c0698bb) - URL changes so fast (131b437), closes #252
- display xml examples if present in response examples (cb106cc)
1.15.0 (2017-05-05)
- menu items not full-width on short item names (ef1b2bd)
- menu service subscription leak (bb00dc3)
- openapi button: add
download
attribute (583c571) - sample unavailable when no schema in response object (1eedbfe)
- Slugifying non-ascii headers make duplicate permalinks (#264) (6edbbe7)
- typo in download button classname (thanks @dwilding) (6b363a5)
- firefox and IE scroll sync after deps update (ad04636)
1.14.0 (2017-04-23)
- don't show download button if initialized with an object (476d6c4)
- endpoint link doesn't expand when click on arrow (9248cc2)
- markdown block text color 💅 (0f6f035), closes #255
- ReDoc removes path if site is using history API (c77e1a2), closes #257
- remove trailing slash from url when use
x-servers
(2760a34) - subscription leak in side-menu (838f233)
- add GH-like anchors to h1 and h2 headings in md (bb3667d)
- add perfect-scrollbar for side menu (cdeee67)
- emphasize path with primary color in servers dropdown (388b3d4)
- new option
path-in-middle-panel
(74a3193) - SideMenu to support items template as a parameter (8a49fb3)
- fix issue with loading https spec (585b9cf), closes #243 (by Khoa Tran)
- UL missing css (303b49e), closes #248
- don't show contact info if it is empty object (6077cc6)
- code block formatting in markdown list (a9cad19), closes #242
- HTTP verbs badges in side menu (92eec25), closes #61
- HTTP verbs badges in search results (61fd426)
- new option
no-auto-auth
to disable authentication section auto adding (00b304a)
- Support x-examples vendor extension for requests (by @brendo)
- Updated to Angular 4, bundle is a bit smaller now
- do not hang when swagger doesn't contain any paths (e4f5388), closes #216 #201
- optimize and support inherited discriminator (64e5741)
- redoc hangs when indexing recursive discriminator-based definitions (1e96f88)
- wrong warnings for $ref not single (193f4bf), closes #221
- x-extendedDiscriminator not working (4899f3e), closes #217
- copy pretty-printed JSON (e99d66d), closes #219
- support for OpenAPI object as a parameter for
init
(d99f256), closes #224
- clear page fragment when scroll to the beginning
- update docs for x-tagGroup, add warning #215
- show warning for non-used in tagGroup tags
- improve x-servers dropdown animation performance (69c7d98)
- Revert: remove unused hide-hostname option (7031176)
- new option
required-props-first
(c724df4), closes #191 - update fragment while scrolling and on menu clicks (66c06b3), closes #138 #202
- do not crash if version is not string (accd016), closes #208
- long paths break EndpointLink ui (8472045)
- remove unused hide-hostname option (7031176)
- Add support for
x-servers
(fd49082) - Color of "default" Response depends on other successful responses are specified (9d0dd25), closes #197
- improved type string with minLength == maxLength (e76bcc3), closes #212
- show type string with minLength 1 as "non-empty" (d175a4d), closes #192
- Fix toggle icon width on IE, closes #198
- Add safe guards array without items, closes #199
- Fix extra slash if basePath is not present (a5c03ab), closes #201
- response samples - render description as markdown (4acfc11), closes #190
- take snapshot of schema to not overwrite inlined references (77bc3c4), closes #203
- use items description if not present on top level (23e7847)
- autoscroll menu (b43a87d)
- In-page search 🎉 []#51](Redocly#51)
- Render externalDocs #103
- Undeprecate x-traitTag
- Tags with x-traitTag: true are now greyed out in ReDoc output bug #194
- CSS: request body model-tree wrapping problem #185
- Strange request to
example.com
causing CSP error #178 - Fix latest empty menu-items not getting active #194
- Fixed crash when level-2 heading goes before level-1 in description #179 (by @jsmartfo)
- Add support for grouping items in menu via
x-tagGroups
- Support inherited discriminator (only one at the moment)
- Add support for second-level headings from Markdown docs (by @jaingaurav)
- Fix response list for shared schemas (fixes #177)
- Fix right panel overlaps site-footer
- Fix crash on MS Edge (fixes #166)
- Uncomment animation after upgrade to the latest ng2 (resolves #162)
- Disable side-menu animation (workaround for #162)
- Use markdown for response description (fixes #158)
- Fix leaks (fixes #167)
- Update webpack and stick to [email protected] (fixes #169, #168)
- add
expand-responses
option - specify which responses are expand by default (#165).
- Use markdown in responses description (#158)
- x-displayName for tags - by @bfirsh (PR #152)
- Fix only the first instance of schema was rendered (#150)
- Regression: fix side panel overlaps footer
- Fix menu was not initialized for specs without tags
- Don't show error screen for runtimes after render finished
- Updated dependencies (angular to the latest version + dev deps)
- Update webpack to the latest beta (#143)
- Fix read-only fields appear in request samples (#142)
- A few more minor UI improvemnts
- Major performance optimization with new option
lazy-rendering
To enable use <redoc>
tag parameter: <redoc spec-url="..." lazy-rendering></redoc>
.
In this mode ReDoc shows initial screen ASAP and then renders the rest operations asynchronously while showing progress bar on the top. Check out the demo for the example.
- Enable cors-proxy for demo
- README: Add button link to yeoman-generator
- Fix crashing on array without items (#104)
- Fix
allOf
within array items (#136) - Fix reference resolution from external files (#96)
- Fix object to become an array (#146)
- Add support for Swagger
collectionFormat
- Wrap API version in span with class (#145)
- Update openapi-sampler to 0.3.3
- Fix content scrolling on language switch (#130)
- Support for Swagger
pattern
property (#42) - Add option to hide hostname in method definition (by @bfirsh)
- Add Docker development environment (by @bfirsh)
- Fix side menu items wrong sync with description headers
- Support for Security Definitions
- Update angular2 to the 2.1.2
- Deprecate
x-traitTag
- Separate RedocModule from AppModule
- Get rid of angular facade/lang dependencies
- Error handler refactor
- Emit helpers for module build
- Fix destroy/reinit
- Fix minimum/maximum zero not rendered (#123)
- Do spec load after bootstrap
- Build and publish angular2 module (#126)
- Implemented x-extendedDiscriminator to workaround name clashes in big specs
- Add engines to package.json (#83)
- Fix npm start on windows (#119, #118)
- Update webpack to latest beta
- Update angular to 2.0.1
- Update local dev steps
- Update openapi-sampler lib (#111)
- Fix broken tabs styling for response samples
- Fix v1.x.x deployment
- Makes basePath optional (by @LeFnord)
- Fixed little typo (by @adamd)
- Typo s/IGNORRED/IGNORED (by @MikeRalphson)
- Fixed indentation (by @bennyn)
- Fix default hostname (#108)
- Fix default value for falsy values is not displayed (#109)
- Fix schema collapse after change discriminator
- Update to latest Angular RC.6
- Smaller bundle size by removing esprima dep from bundle
- Updated dependencies
- Fix code samples are not shown for operations without body param (#93)
- Fixed side menu overlapped site footer (#75)
- Fix broken order in discriminator dropdown
- Support "x-nullable" property by @kedashoe (#92)
- Fix sticky sidebar top sticking (#75)
- Fix array inside objects if referenced directly (#84)
- Add banner to the bundle file (#89)
- Fix broken additionalProperties
- Fix version render issue (extra "v" letter)
- Change the way discriminator is rendered
- Created CDN major release 1.x.x (#87)
- Smaller bundle size (371KB gzipped)
- Better start-up time due to AoT
- Moved build-system to Webpack
- Moved to latest Typescript + get rid of typings
- Upgrade to the latest Angular2 RC.5
- Revert "Fix markdown newlines to be GFM" (#82)
- Move license and contact info above description
- Fix markdown newlines to be GFM (#82)
- Fix markdown code blocks in api description
- Fix API description width on mobile
- Render valid JSON in samples (quoted object keys)
- Add Tuple support (arrays with separate schema for each value) (#69)
- Add special representation for enum with one value (#70)
- Change
< * >
notation to< anything >
- Use api host if schema host is undefined