Skip to content

Latest commit

 

History

History
902 lines (602 loc) · 39 KB

CHANGELOG.MD

File metadata and controls

902 lines (602 loc) · 39 KB

Changelog

15.0.6

  • Add link in message body even if description was not provided, closes #697 and #610.
  • Remove FontAwesome type imports from the share directive, closes #673.
  • Refactor all inputs to signal inputs.

15.0.4 and 15.0.5 are faulty releases

15.0.3

  • enhance: enhance: Use injection factory for SHARE_BUTTONS_CONFIG and SHARE_BUTTONS_PROP to avoid merging custom options with the default options for every share button.

15.0.2

  • No Changes, just fixing the minimum Angular version to v17.1.0 and add missing fields to package.json in NPM.

15.0.1

  • fix: Share directive requires icons dependencies, closes #673.
  • refactor: Import FaIconComponent instead of FontAwesomeModule.
  • refactor: Remove CommonModule imports.
  • refactor: Avoid merging default options with injected options for each share directive / component instance.

15.0.0

  • feat: Upgrade to Angular 18.
  • refactor: Mark the function withIcons() as deprecated and rename it to shareIcons(), no breaking changes.

14.0.0

  • feat: Upgrade to angular v17.1.0.
  • feat: Add a service for sharing links, closes #661.
  • feat: Add new provider functions to easily override share buttons options.
  • enhance: Update share logos colors.
  • enhance: Replace Twitter with X, closes #650 and #657.
  • feat: Ability to create a sharer links through the share service.
  • feat: Add args input to add additional custom parameters to the sharer link.
  • feat: Remove rxjs dependency.
  • fix: Cannot override windowObj due to mergeDeep, closes #572.
  • fix: config is ignored if the module is lazy loaded, closes #579.
  • fix: opened output not firing, closes #633.

Breaking changes:

  • Rename ShareButtonConfig to ShareButtonsOptions.
  • Remove closed output from share directive and components.
  • Remove autoSetMeta input from share directive and components.
  • remove url ,title, description ,image ,tags and redirectUrl from global options

13.0.0

  • Update to Angular 16 in c677561.
  • Fix types error, closes #641 in fa9d8ef.
  • Update whatsapp sharer link on desktop, closes #635 in 7e3a235.
  • Make messenger sharable on web (added appId and redirectUrl which is required for Messenger on desktop), closes #607 in 79f70a8.

Breaking Changes

  • Remove the deprecated package ngx-sharebuttons/popup from the library in 2cf187e.

12.0.0

  • Update to Angular 15.
  • The pop-up share buttons module is deprecated and will be removed in v13.0.0

11.0.0

10.0.0

  • Update to Angular 13 in ba9bea3.
  • Fix Error logs on SSR, closes #320 in 22a064b.
  • Should not display Ivy library warning, closes #571 in ba9bea3.
  • fix(popup): Remove FontAwesome imports in share pop up, closes #574 in 42d94a2.

9.0.0

Breaking changes

  • refactor(button, buttons, popup): The input [size] has been removed from all share components and global options, you can change the size of a button using the CSS variable --sb-font-size, in 843940e.
  • refactor(button, buttons, popup): light and dark themes files has been merged into a single file, example:

Example:

before:

// To import 'material-light-theme', the light theme from the following path:
@import "~ngx-sharebuttons/themes/material/material-light-theme";
// To import 'material-dark-theme', the dark theme from the following path:
@import "~ngx-sharebuttons/themes/material/material-dark-theme";

after:

// Light or dark theme is imported from the same file
@import "~ngx-sharebuttons/themes/material";
  • feat(button, buttons, popup): Add CSS variables, closes #549 in 5c575d3.
  • fix(popup): Fix text styles in pop up button component, closes #516 in c6bbf53.

8.1.0

  • Upgrade to Angular 12
  • feat(buttons): Add aria-label to the expand button, closes #546 in 73c5aef.
  • fix(build): Fix package to work with ivy, closes #523 in 096d62a.

8.0.5

  • Upgrade to Angular 11
  • feat(core): Add unit tests

8.0.4

  • feat(core): Add Viber share button, closes #380 in 77a3904.

8.0.3

  • feat(core): Use Angular CDK Clipboard module for the copy link button, in 431cf9a.

8.0.2

  • fix(core): Update Xing share URL, closes #498 in 4b0c745.

8.0.1

  • fix(theme): button shadow cut off in Safari, closes #399 in b19c831.
  • fix(share-button): Skip empty params in shareUrl serialization, closes #478 in 7848d29.
  • fix(Pinterest): Remove country specific default for pinterest domain, closes #475 in c3f418f.

Possible breaking changes:

Share pop-up component:

  • refactor(share-popup): The CDK Overlay styles have been removed from the package, if you are using non-material project, you will need to import it manually in your global styles
@import '~@angular/cdk/overlay-prebuilt.css';

8.0.0

Features:

  • feat(icons): Add ShareIconsModule to simplify importing the share icons.
  • feat(popup): Add share buttons pop up module (BETA).
  • feat(core): Ability to define sharer method and target per button, closes #449.
  • feat(core): Ability to override share buttons params from the share config.
  • feat(core): Ability to add custom share button.
  • feat(core): Ability to define custom share template for each button.
  • feat(core): Add IVY Support, closes #352.
  • feat(button, buttons): Allow disabling the share buttons.
  • feat(core): Simplify access the text, icon and color of the share buttons.
  • feat(button): Use SMS icon for the SMS button.

Bugs:

  • fix(icons): Fix SSR errors in express console, closes #453 in b2e8e4c.
  • fix(core): Fix build error in Angular 9, closes #429.
  • fix(core): Remove G+ button, closes #427.
  • fix(buttons): Check if [include] and [exclude] inputs are null.
  • fix(buttons): fix the expand button layout and styles.
  • fix(buttons): clean up remove [showCount] input.
  • fix(button, buttons): Fix buttons colors in print preview (for print button).
  • fix(button): Add type="button", so it doesn't submit forms, closes #379.
  • fix(themes): Make the main share button styles global, this is useful for the external buttons / components can use the share buttons styles.
  • fix(theme): Add box-shadow transition on click in circle-dark theme, in 74a7f1e.
  • cleanup: Remove share count, closes #407.

Breaking changes

Before:

  • Packages were publish into 3 different sub-packages @ngx-share/core, @ngx-share/button and @ngx-share/buttons.
  • Themes were distributed as SCSS and CSS files.

After:

  • Packages are combined into 1 package ngx-sharebuttons, ngx-sharebuttons/button and ngx-sharebuttons/buttons
  • Themes are distributed as SCSS files only.
  • Themes are imported from ngx-sharebuttons/themes/{{themeName}}

7.1.4

  • fix(core): Fix Whatsapp for iOS Issue, closes #386 in 4c3858f.

7.1.3

  • fix(core): Removes the india localization for the Pinterest button, closes #396 in 8097fac.

7.1.2

  • fix(core): fix Closed and Opened Outputs, closes #367 in fb9bbbb.
  • fix(core): fix WhatsApp not opening in Chrome on IOS 12, closes #366 7c77f0a.

7.1.1

  • feat(core): Add debug option to ShareButtonsConfig to log sharer URL, in 7e47bef.
  • fix(core): undefined URL in Email, SMS, WhatsApp buttons, closes #361 in debed2b.
  • fix(core): Rename_metaTags to _supportedMetaTags in WhatsApp button, in 52dc70d.
  • fix(core): Copy button, closes #360 in 4010a82.
  • enhance(core): Warn when Pinterest image parameter is undefined, in 8116614.
  • enhance(core): Update WhatsApp sharer URL, in 6dc7414.
  • regression: Remove URL from Telegram message since its already supported, in f10189a.

7.1.0

7.1.0-beta.1

  • Refactor share function to run sync to fix the issue on IOS 12, closes #351 in 05abd1c.
  • Remove StumbUpOn button and replace it with Mix button.
  • Remove forRoot usage, use withConfig() for custom config.

Breaking changes

  • The function forRoot() has been removed from all share modules.
  • ShareButtonConfig has been flattened.
  • StumbUpOn share button has been removed.

7.0.0

7.0.0-beta.1

  • regret(PrintOperator): use map instead of tap operator in the print operator, this fix opening share pop up when the print button is clicked, in 74c2396.

7.0.0-beta.0

  • enhance(ShareDirective): Use rxjs interval to poll for window closed event, in 46f897c.
  • enhance(ShareDirective): Use Meta service instead of document to get the meta tags content, in 9342b63.
  • enhance(ShareDirective): Use the CDK Platform service to get the platform type, in 55b9495.
  • enhance(ShareDirective): Query meta tags using property or name, in 55b9495.
  • enhance(ShareDirective): Add kebab-case selector, in 55b9495.
  • enhance(ShareButton, ShareButtons): Load base styles internally.
  • refactor(ShareDirective): Do not auto-set [via] input from twitter-site meta tag, in 4bcd5e0.
  • fix(ShareProps): Fix iOS SMS Share Link, closes #283 in 143aaa7.
  • refactor(ShareModule): Provide ShareButtons service using providedIn: 'root', in b2c698f.
  • refactor(ShareProps): Remove Reddit share count, in dcef59b.
  • Fix and update peerDependencies for Angular >= 6, in 8fd68e1.

Breaking changes:

  • If you use any of the following classes, they have been renamed:

    • ShareButtons service => ShareService
    • ShareDirective directive => ShareDirective
    • ShareButtonComponent component => ShareButton
    • ShareButtonsComponent component => ShareButtons
  • Reddit share count API seems to be deprecated from their side, therefore share count has been removed from Reddit share button.

  • For <share-buttons> and <share-button> components, no need to import the default styles anymore.

  • Also note that the path to themes directory has been flattened (/styles/ directory has been removed)

Before

@import '~@ngx-share/button/styles/share-buttons'; /** this line is no longer needed */
@import '~@ngx-share/button/styles/themes/modern/modern-dark-theme';

After

@import '~@ngx-share/button/themes/modern/modern-dark-theme';

6.0.1

  • fix(ShareButtonsModule): Remove HttpClientModule from ShareButtonsModule, closes #297 in a503936.

6.0.0

  • Angular 6 support, closes #274.
  • fix(core): Use icon alias name in the share props instead of the icon object itself, closes #280.
  • feat(ShareDirective): Add aria-label attribute to share buttons, closes #277.
  • feat(ShareButtons): Enable custom icons for the expand button, remove the hard-coded icons, closes #289.
  • refactor(ShareButtons): Call stateWorker$.complete() on component destroy.
  • refactor(ShareButtons): Use private on variables and functions when they should be.
  • Add CONTRIBUTION.md for plugin development.
  • refactor(core): Remove all FontAwesome peer packages dependencies from "@ngx-share/core.
  • refactor(button): Use only @fortawesome/angular-fontawesome as a peer dependency for "@ngx-share/button.
  • refactor(buttons): Use only @fortawesome/angular-fontawesome as a peer dependency for "@ngx-share/buttons.
  • refactor(util): Use Observable instead of Promise for copyToClipboard().

Breaking changes:

  • The plugin now uses Angular-FontAwesome library method instead of the "Explicit reference" method to import the icons.

Before:

The plugin used to load the default icons from FontAwesome.

After:

The plugin does not load FontAwesome icons out of the box. The user will have to import them manually

Example:

import { ShareButtonsModule } from '@ngx-share/buttons';

import { library } from '@fortawesome/fontawesome-svg-core';
import { faFacebook } from '@fortawesome/free-brand-svg-icons/faFacebook';
import { faTwitter } from '@fortawesome/free-brand-svg-icons/faTwitter';
import { faLinkedinIn } from '@fortawesome/free-brand-svg-icons/faLinkedinIn';

const icons = [faFacebook, faTwitter, faLinkedinIn];

// Add the icons you want to use
library.add(...icons);

@NgModule({
  imports: [
    HttpClientModule,
    ShareButtonsModule.forRoot()
  ]
})

NOTE: Use the deep link to import the icon to keep the package size to the minimum, see @robbaman comment in @angular-fontawesome/34.

5.3.1

  • fix(ShareButtons): Hide expand button, closes #255 in #256.
  • fix(Build Error in 5.3.0): Set css variable on expand button through the component instead of the style, closes #254 in #527.
  • clean up styles
  • refactor css variable: change $sb-more variable name to $sb-expand
  • update FontAwesome peerDependencies

5.3.0 (has a build issue)

  • refactor(ShareButtons): Wrap expand button in its own component.
  • fix(ShareDirective): Set custom button color with css variable.
  • fix(Universal:ShareDirective): Check for browser platform before creating a share button, closes #251.
  • fix(Universal:ShareButton): Check if button.ref is defined in component template, closes #251.
  • fix(ShareButton): Share counts are requested even when showCount is false, fixes #253.
  • enhancement(Themes): Improve styles.
  • enhancement(Share Icons): Icons are now rendered as SVG elements.

Features:

  • feat(Prop): Add SMS button.
  • feat(ShareButton): Add [icon] input.
  • feat(Share Icons): Add only the share buttons icons from FontAwesome instead of all icons, closes #252.
  • feat(ShareDirective): Add [autoSetMeta] input to all components and global config.

When autoSetMeta is true, the meta tags inputs url, title, description and image will be initialized from the SEO meta tags.

set autoSetMeta to false, if the share buttons url does not point to the current url, e.g. displaying a list of articles each one with share buttons.

Breaking changes

  • refactor(ShareButtonsModule): angular-fontawesome has become a peer dependency.
  • refactor(Props): Button icon is type of IconProp which is imported from the @fortawesome icons package.

Before:

style.scss

@import "~@fortawesome/fontawesome-free-webfonts/css/fa-brands.css";
@import "~@fortawesome/fontawesome-free-webfonts/css/fa-solid.css";
@import "~@fortawesome/fontawesome-free-webfonts/css/fontawesome.css";
@import '~@ngx-share/button/styles/share-buttons';
@import '~@ngx-share/button/styles/themes/default/default-theme';

Override share button icon

ShareButtonsModule.forRoot({
  prop: {
    facebook: {
      icon: 'fa fab-facebook-f'
    }
  }
}

After:

style.scss

@import '~@ngx-share/button/styles/share-buttons';
@import '~@ngx-share/button/styles/themes/default/default-theme';

Override share button icon

import { faFacebookF } from '@fortawesome/free-brands-svg-icons';

ShareButtonsModule.forRoot({
  prop: {
    facebook: {
      icon: faFacebookF
    }
  }
}
  • refactor(ShareDirective): Remove the prefix sb from the share directive inputs, closes #250.
[sbUrl] => [url]
[sbTitle] => [title]
[sbDescription] => [description]
[sbImage] => [image]
[sbTags] => [tags]
(sbCount) => (count)
(sbOpened) => (opened)
(sbClosed) => (closed)

5.2.0 (has universal issue)

  • refactor(ShareButtonsService): Initialize meta tags from document head 'og' meta tags.
  • refactor(ShareButtonsService): Add url as a meta tag property to the global config.
  • refactor(ShareDirective): Initialize meta tags inputs from the global config.
  • refactor(Props): Add url as meta tag property.
  • refactor(Operators): Removes Pinterest operator since description and image meta tags are being set from the service.
  • refactor(Operators): Removes None operator since url became part of the meta tags.
  • refactor(Operators): Changes EmailOperator to urlInMessageOperator
  • refactor(Utils): Move getOS() and getValidUrl to utils file and remove encodeUriComponent.
  • refactor(Utils): Do not encode the url in getValidUrl function since the url becomes a meta tag.
  • fix(WhatsApp): Adds share URL to message body, closes #239

Note:

Now the meta tags are initialized from document head meta tags (og:title, og:description, og:image, og:url) if they exist, This means that if you use SSR you don't need to set them manually.

No breaking changes

5.1.0

  • feat(ShareButtons): Adds Messenger button (Mobile only), closes #233.
  • feat(ShareButtons): Adds Xing button, closes #232.
  • feat(ShareButtons): Use FontAwesome 5 icons by default, closes#219.
  • fix(operators): Copy button is not working in ios devices, closes #223.
  • fix(operators): Copy button tap is causing keypad to open on ios devices.
  • fix(ShareButtonsService): Allow adding custom share buttons, closes#222.
  • refactor(ShareDirective): Make sure buttons has the sharer link before opening share dialog.
  • enhancements(ShareButton, ShareButtons): Remove white spaces from components templates.
  • enhancements(ShareButton, ShareButtons): Button color can be customized from prop, no need to override css variables manually.
  • enhancements(ShareButton, ShareButtons): Improve themes styles.

Breaking changes:

  • refactor(ShareButtonService): rename the function registerButton() to addButton().
  • Flat and Classic themes are removed.

Notes:

  • Fb Messenger is only made for Mobile web and will not work on Desktop.
  • LinkedIn has deprecated the share counts from their API.

5.0.1

  • fix: whatsapp sharing fails on mobile, closes #208.
  • fix: Encode special characters in meta tags, closes #213.
  • refactor: import rxjs operators separately.
  • chore: Exports share buttons prop and operators.

5.0.0

  • Refactor and clean up ShareButton and ShareButtons components.
  • Fix count output in ShareButtons Component.

5.0.0-beta.3

Features:

  • Ability to include only the module you use.
  • Ability to create a new share button on the fly, closes #187.

Improvements:

  • Improve themes styles.
  • Decrease bundle size.
  • Remove buttons classes and uses dynamic data to create button properties.
  • Disable text selection on share buttons.

Bugs Fixes:

  • Fix double click issue on the copy button.

Breaking Changes:

Main

  • The package is now divided into 3 new subpackages from the scope @ngx-share

    • Share directive @ngx-share/core
    • Single share button @ngx-share/button, depends on the @ngx-share/core
    • Share buttons @ngx-share/buttons, depends on the @ngx-share/core and @ngx-share/button
  • Global options and button properties are now passed as one object

    • Before ShareButtonsModule.forRoot(options, prop)
    • After: ShareButtonsModule.forRoot({ options, prop })

ShareButton <share-button>:

  • [showName] input is renamed to [showText] in <share-button> and <share-buttons>
  • Custom template is deprecated in <share-button>, you can now set custom text using the input [text]

Styles & Themes:

  • Styles and themes are now imported from @ngx-share/button/styles/ package.
  • Remove outline and special themes.

4.1.4

  • refactor(buttons style): improve icon styles

4.1.3

  • refactor(themes): fix themes issues and styles warnings, closes #182.
  • recompile package with ng 5, closes , closes #181.

4.1.2

  • refactor(GoogleButton) remove count code for Google+ after the their removal of the counts

4.1.1

  • fix(Themes) fix themes tasks, Include compiled css files in the package

4.1.0

  • feat(New themes) Include more themes with the package.
  • refactor(ShareButtons) remove text from more & less buttons.

Breaking Change:

  • fix(prevent overwritting interceptors) closes #174.

Now HttpClientModule and HttpClientModule should imported manually

import { ShareButtonsModule } from 'ngx-sharebuttons';

@NgModule({
  imports: [
    HttpClientModule,
    HttpClientJsonpModule,
    ShareButtonsModule.forRoot()
  ]
})

4.0.4

  • fix(using global options in AOT)
  • Add scss and css styles into dist package

4.0.2

  • fix(switching button type) remove old button class

4.0.1

  • fix wrong rollup config for HttpClientModule
  • add default styles in the dist package
  • fix(Universal support) Add UniversalSupportService to be used internally
  • refactor(ShareDirective)
  • add gaTracking option to global options
  • update online docs

4.0.0@beta

Version 4 has been rewritten from scratch

  • Major improvements: The list is long, just check the demo
  • Provide 3 different modules, import only what you use
  • Use HttpClient for fetching share counts instead of Http, (requires Angular +4.3)
  • Add new buttons for Telegram, Email, Print, Copy link
  • Improve documentations
  • License is now GPL-3.0

Version 3 is no longer supported

3.0.0

  • Rename npm package to ngx-sharebuttons.
  • Update peerDependencies.
  • fix(popup window) removes the error for users who have block popup extension, closes #116.

2.1.2

  • (fix) sharing on mobile browser [#97]
  • (enhacement) refactor default style

2.1.0

  • (feat) Sharebutton will open the corresponding app on mobile #79
  • (fix) Whatsapp button will open web.whatsapp on Desktop closes #67
  • (fix) replaces :root with :host in style fixes #81

2.0.1

  • (feat) Whatsapp button
  • (feat) Sharebutton Directive
  • (refactor) New button style for Sharebuttons Component
  • (fix) update count when URL changes
  • (fix) update all inputs on changes
  • (feat) support systemJS
  • Breaking Changes :
    • Sharebutton component is for internal use only, use Sharebutton directive instead.
    • [shareTitle], [totalCount], deprecated.

1.1.5

- merge [#26](https://github.com/MurhafSousli/ngx-sharebuttons/pull/26)

1.1.4

  • Fixes Bug:
    • fix aot compilation issues in #25, closes #23

1.1.3

  • Fixes Bug:
    • Publish ./dist instead of root dir, closes #22

1.1.2

  • New Feature:

  • Fixes Bug:

    • Remove unnecessary dependencies, closes #13
    • Fixes sharing hashlocationstrategy URL, closes #16

1.1.1

  • Update dependencies and remove hard version in package.json

1.1.0

  • New Feature:

    • Add popUpClosed function <share-buttons (popUpClosed)="someCallbackFunction">, closes #12
  • Improvements:

    • Import Observable, empty, catch, map operators individually instead of importing the whole library
    • Wrap window object in WindowService

1.0.7

  • Fixes Bug:

    • Fix compiling on universal, closes #6
    • Fix multiple classes on a share button, closes #11
  • Breaking Changes:

    • twitter tags are now seperated by comma as a string instead of string[]:
      • before:
      <share-buttons [tags]="['hello','world']">
      
      • after:
      <share-buttons [tags]="'hello, world'">
      

1.0.6

  • New Feature:

    • Now you can set [title], [description] and [image] if you don't want to use the meta tags, check full list of inputs in the docs, closes #7.
  • Fixes Bug:

    • Count: handle facebook share count error, closes #8.
    • Share: Check if the input [url] is valid.
  • Breaking Changes:

    • The following inputs has new names now:
      • before: [text], After: [description].
      • before: [hashtags], After: [tags].

1.0.5

  • Improve Performance : Now ShareButton uses ChangeDetectionStrategy.OnPush.

1.0.1

  • New Feature: Set global twitter account to add "Via @twitterAccount" to user tweet.

  • New Feature: New optional inputs [text], [image] and [hastags] for twitter and pinterest.

  • Fixes Bug: Pinterest share link.


1.0.0

Stable release

Changelog

4.1.2

  • refactor(GoogleButton) the share count for Google+ is no longer available

4.1.1

  • fix(Themes) fix themes tasks, Include compiled css files in the package

4.1.0

  • feat(New themes) Include more themes with the package.
  • refactor(ShareButtons) remove text from more & less buttons.

Breaking Change:

  • fix(prevent overwritting interceptors) closes #174.

Now HttpClientModule and HttpClientModule should imported manually

import { ShareButtonsModule } from 'ngx-sharebuttons';

@NgModule({
  imports: [
    HttpClientModule,
    HttpClientJsonpModule,
    ShareButtonsModule.forRoot()
  ]
})

4.0.4

  • fix(using global options in AOT)
  • Add scss and css styles into dist package

4.0.2

  • fix(switching button type) remove old button class

4.0.1

  • fix wrong rollup config for HttpClientModule
  • add default styles in the dist package
  • fix(Universal support) Add UniversalSupportService to be used internally
  • refactor(ShareDirective)
  • add gaTracking option to global options
  • update online docs

4.0.0@beta

Version 4 has been rewritten from scratch

  • Major improvements: The list is long, just check the demo
  • Provide 3 different modules, import only what you use
  • Use HttpClient for fetching share counts instead of Http, (requires Angular +4.3)
  • Add new buttons for Telegram, Email, Print, Copy link
  • Improve documentations
  • License is now GPL-3.0

Version 3 is no longer supported

3.0.0

  • Rename npm package to ngx-sharebuttons.
  • Update peerDependencies.
  • fix(popup window) removes the error for users who have block popup extension, closes #116.

2.1.2

  • (fix) sharing on mobile browser [#97]
  • (enhacement) refactor default style

2.1.0

  • (feat) Sharebutton will open the corresponding app on mobile #79
  • (fix) Whatsapp button will open web.whatsapp on Desktop closes #67
  • (fix) replaces :root with :host in style fixes #81

2.0.1

  • (feat) Whatsapp button
  • (feat) Sharebutton Directive
  • (refactor) New button style for Sharebuttons Component
  • (fix) update count when URL changes
  • (fix) update all inputs on changes
  • (feat) support systemJS
  • Breaking Changes :
    • Sharebutton component is for internal use only, use Sharebutton directive instead.
    • [shareTitle], [totalCount], deprecated.

1.1.5

- merge [#26](https://github.com/MurhafSousli/ngx-sharebuttons/pull/26)

1.1.4

  • Fixes Bug:
    • fix aot compilation issues in #25, closes #23

1.1.3

  • Fixes Bug:
    • Publish ./dist instead of root dir, closes #22

1.1.2

  • New Feature:

  • Fixes Bug:

    • Remove unnecessary dependencies, closes #13
    • Fixes sharing hashlocationstrategy URL, closes #16

1.1.1

  • Update dependencies and remove hard version in package.json

1.1.0

  • New Feature:

    • Add popUpClosed function <share-buttons (popUpClosed)="someCallbackFunction">, closes #12
  • Improvements:

    • Import Observable, empty, catch, map operators individually instead of importing the whole library
    • Wrap window object in WindowService

1.0.7

  • Fixes Bug:

    • Fix compiling on universal, closes #6
    • Fix multiple classes on a share button, closes #11
  • Breaking Changes:

    • twitter tags are now seperated by comma as a string instead of string[]:
      • before:
      <share-buttons [tags]="['hello','world']">
      
      • after:
      <share-buttons [tags]="'hello, world'">
      

1.0.6

  • New Feature:

    • Now you can set [title], [description] and [image] if you don't want to use the meta tags, check full list of inputs in the docs, closes #7.
  • Fixes Bug:

    • Count: handle facebook share count error, closes #8.
    • Share: Check if the input [url] is valid.
  • Breaking Changes:

    • The following inputs has new names now:
      • before: [text], After: [description].
      • before: [hashtags], After: [tags].

1.0.5

  • Improve Performance : Now ShareButton uses ChangeDetectionStrategy.OnPush.

1.0.1

  • New Feature: Set global twitter account to add "Via @twitterAccount" to user tweet.

  • New Feature: New optional inputs [text], [image] and [hastags] for twitter and pinterest.

  • Fixes Bug: Pinterest share link.


1.0.0

Stable release