Skip to content

Releases: yisraelx/ngx-showdown

v6.0.0

16 Aug 12:42
Compare
Choose a tag to compare

6.0.0 (2020-08-16)

Features

BREAKING CHANGES

  • support only typescript 3.7 and above (typescript-3-7#class-field-mitigations)

v5.1.0

17 Feb 13:05
Compare
Choose a tag to compare

5.1.0 (2020-02-17)

Bug Fixes

  • Ivy Compatibility Issues (768a2c7)

Features

v5.0.0

16 Jun 09:25
Compare
Choose a tag to compare

5.0.0 (2019-06-16)

Bug Fixes

  • ShowdownComponent: wrong cast of input option (5953220)

Code Refactoring

  • BaseConverter: trimEachLine option is deprecated (986fb0f)
  • options: Move to options interfaces of @types/showdown (c0d9e70)
  • ShowdownDirective: renamed to ShowdownComponent (ad14998)
  • SrcDirective: renamed to SourceDirective (534e7ea)

Features

  • ShowdownComponent: add option to pass value directly to render (4f5a7b2)
  • add support to set flavor (7793dec), closes #9
  • ShowdownComponent: add option to sanitize the convert html output (4eb36a8)
  • ShowdownComponent: add support for template reference variable (a946364)
  • SourceDirective: add event/output (EventEmitter) for error (d4687e4)
  • SourceDirective: add option to pass src directly to load (a690bad)
  • SourceDirective: add support for template reference variable (5a2fda6)

Performance Improvements

  • ShowdownComponent: change the way changes are detected and updated (85b1f3d)
  • SourceDirective: change the way changes are detected and updated (e3a58e5)
  • Replace BaseConverter class with ShowdownConverter class (19d8bec)

BREAKING CHANGES

  • rename ConverterOptions class to ShowdownConfig and remove BaseConverterOptions class.
  • Removed BaseConverter class (Use ShowdownConverter
    instead)
  • options: Removes options interfaces IConverterOptionsChangeable (Use Showdown.ShowdownOptions instead) and IConverterOptions (Use Showdown.ConverterOptions instead).
  • SourceDirective: The assignment of url to src property of component instance no longer trigger load, to load after assignment invokes the load method.
  • SrcDirective: rename SrcDirective to SourceDirective
  • ShowdownComponent: removes toHTML (Use element.innerHTML instead) and setValue (Use render method instead) methods.
  • ShowdownComponent: rename compile to render, Removes registerOnChange method, status and type props.
    The assignment of values to the component instance properties no longer trigger render, to render after assignment invokes the render method.
  • BaseConverter: trimEachLine is deprecated, use smartIndentationFix instead.
  • ShowdownDirective: rename ShowdownDirective to ShowdownComponent

v4.0.2

07 May 22:08
Compare
Choose a tag to compare

4.0.2 (2018-05-07)

Bug Fixes

  • update to angular ^6.0.0 (681c175), closes #7

v4.0.1

03 Feb 20:49
Compare
Choose a tag to compare

4.0.1 (2018-02-03)

Bug Fixes

  • repair of the umd bundle (package.browser) (53bc504)

v4.0.0

31 Jan 22:00
Compare
Choose a tag to compare

4.0.0 (2018-01-31)

Bug Fixes

BREAKING CHANGES

  • SrcDirective: Change in peerDependencies @angular/http replaced by @angular/common/http

v3.1.0

31 Aug 20:14
Compare
Choose a tag to compare

3.1.0 (2017-08-31)

Features

  • update showdown options for current options (8f91b65)

v3.0.0

28 Jul 15:21
Compare
Choose a tag to compare

<a name"3.0.0">

3.0.0 (2017-07-28)

Bug Fixes

  • rename all item from 'md' to 'showdown' (38c0847f)
  • rename library from 'ng2-md' to 'ngx-showdown' (d0e9c94c)

Breaking Changes

  • rename lib from 'ng2-md' to 'ngx-showdown'

rename file from 'md.directive'

to 'showdown.directive'

  • rename enum from 'MD_COMPONENT_TYPES' to 'SHOWDOWN_DIRECTIVE_TYPES'
  • rename enum from 'MD_COMPONENT_STATUSES' to 'SHOWDOWN_DIRECTIVE_STATUSES'
  • rename class from 'MdDirective' to 'ShowdownDirective'

before

import {
 MD_COMPONENT_TYPES,
 MD_COMPONENT_STATUSES,
 MdDirective
} from 'ng2-md/lib/md.directive';

after

import {
 SHOWDOWN_DIRECTIVE_TYPES,
 SHOWDOWN_DIRECTIVE_STATUSES ,
 ShowdownDirective
} from 'ngx-showdown/lib/showdown.directive';
  • rename selector from 'md,[md]' to 'showdown,[showdown]'

before

<md [value]="text"></md>
<div [md]="text"></div>

after

<showdown [value]="text"></showdown>
<div [showdown]="text"></div>
  • rename directive property from 'md' to 'showdown'

before

MdDirective.md

after

ShowdownDirective.showdown

rename file from 'md.module' to 'showdown.module'

  • rename class from 'MdModule' to 'ShowdownModule'

before

import { MdModule } from 'ng2-md/lib/md.module';

after

import { ShowdownModule } from 'ngx-showdown/lib/showdown.module';

rename file from 'md.pipe' to 'showdown.pipe'

  • rename class from 'MdPipe' to 'ShowdownPipe'

before

import { MdPipe } from 'ng2-md/lib/md.pipe';

after

import { ShowdownPipe } from 'ngx-showdown/lib/showdown.pipe';
  • rename name from 'md' to 'showdown'

before

{{ text | md }}
{{ text | md:options }}

after

{{ text | showdown }}
{{ text | showdown:options }}

rename file from 'md-converter.provider' to 'showdown-converter.provider'

  • rename class from 'MdConverter' to 'ShowdownConverter'

before

import { MdConverter } from 'ng2-md/lib/md-converter.provider';

after

import { ShowdownConverter } from 'ngx-showdown/lib/showdown-converter.provider';

(38c0847f)

v2.2.0

14 Jun 20:22
Compare
Choose a tag to compare

<a name"2.2.0">

2.2.0 (2017-06-14)

Bug Fixes

  • aot: ng2-md now supports aot, (b32aa63b, closes #5)

Features

  • update showdown options for current options (43831fe0)

v2.1.0

31 May 19:29
Compare
Choose a tag to compare

<a name"2.1.0">

2.1.0 (2017-05-31)

Bug Fixes

  • package: move "@types/showdown" from "devDependencies" to "dependencies" (4c3806d2, closes #4)

Features

  • package: update dependencies (19e822cb)