Skip to content

Latest commit

 

History

History
345 lines (272 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

345 lines (272 loc) · 10.2 KB

17.0.1

Performance

  • improve rendering performance (#82), closes #81

17.0.0

BREAKING CHANGES

  • dropped support for Angular < 17.x.x. You need to have a peer dependency of Angular 17.0.0 or greater.

16.0.0

BREAKING CHANGES

  • dropped support for Angular < 16.x.x. You need to have a peer dependency of Angular 16.0.0 or greater.

15.0.0

BREAKING CHANGES

  • dropped support for Angular < 15.x.x. You need to have a peer dependency of Angular 15.0.0 or greater.

14.0.0

Refactoring

  • mark TagCloudComponent as standalone: true
  • Remove TagCloudModule

BREAKING CHANGES

  • dropped support for Angular < 14.x.x. You need to have a peer dependency of Angular 14.0.0 or greater.
  • TagCloudModule is no longer exported. Please use the standalone component TagCloudComponent instead.

OLD:

import { TagCloudModule } from 'angular-tag-cloud-module';
// ...

@NgModule({
  // ...
  imports: [TagCloudModule],
})

NEW:

import { TagCloudComponent } from 'angular-tag-cloud-module';
// ...

@NgModule({
  // ...
  imports: [TagCloudComponent],
})

13.0.0

Features

  • add support for Angular 13, drop support for older Angular versions
  • align version with angular version

BREAKING CHANGES

  • dropped support for Angular 11.x.x
  • you need to have a peer dependency of Angular 12.0.0 or greater

6.0.1

Refactoring

  • update workspace to Angular12 defaults
  • use strict mode everywhere

Fixes

  • remove optional event emitter typing [ #66 ]

6.0.0

Features

  • add support for Angular 12, drop support for older Angular versions

BREAKING CHANGES

  • support for Angular 10.x.x has been dropped for future versions
  • you need to have a peer dependency of Angular 11.0.0 or greater

5.3.0

Features

  • allow to access cloudDataHtmlElements component property for manual element placements #64

5.2.2

Fixes

  • Don't run into an infinite loop when the word cloud has a width or height of 0px #45

5.2.1

Fixes

  • Don't run into an infinite loop when the word cloud has a width or height of 0px #45

5.2.0

Features

  • Add support for Angular 11

5.1.0

Features

  • add configuration option delay: Delay the appearance for each cloud element by defining a value in milliseconds #8

5.0.1

Fixes

  • tooltips were displayed behind other words #51 , Thanks to @gaeljaffre

5.0.0

Features

  • add support for Angular 10, drop support for older Angular versions

BREAKING CHANGES

  • support for Angular 9.x.x has been dropped for future versions
  • you need to have a peer dependency of Angular 10.0.0 and tslib 2.0.0 or greater

4.2.0

Features

  • allow responsive height [ #44 ]

4.1.0

Features

  • allow to specify a fixed position for a word [ #49 ]

4.0.0

BREAKING CHANGES

  • add Angular 9 version as peerDependency.
  • to use Angular 8 or lower, install the module by running:
    npm install --save angular-tag-cloud-module@3

3.8.2

Fixes

  • remove colorStyle only when zoomOnHover.color is set #43 , Thanks to @andreasIBM

3.8.1

Fixes

  • Input property log caused an error (9b374ea)

3.8.0

Features

  • Adds the property background for setting a CSS background color / picture (de7cd4c)
  • Adds the property font for setting a CSS font style (de7cd4c)

3.7.0

Features

  • Do not place the first word always right in the middle (ad4d5a4)
  • Adds input for logging ([log]="'warn'"). Possible values: warn, debug, false (874cda3)

3.6.0

Features

  • Adds an id attribute to each word (a4ce14c)
  • Ability to pass an object width CloudOptions as input (96cb5f7)
  • Allow peer dependencies of Angular 9 preview versions

3.5.1

Fixes

  • Adds missing option strict to exported interface CloudOptions (b96f2bf)

3.5.0

Features

  • Allow a peer dependency of Angular 8

3.4.2

Fixes

  • Set minimal angular version to 6.0.0

3.4.1

Fixes

  • Fixes some descriptions
  • Includes LICENSE file int NPM package

3.4.0

Features

  • restructured project - This will provide the module as an Angular CLI's library. A lots of duplicate code is killed :)

3.3.0

Features

  • Adds support for color change within ZoomOnHoverOptions (related to [ #32 ])

3.2.0

Features

  • Adds support for Angular 7 (related to [ #38 ])

3.1.0

Features

  • Tooltips can be added now. (related to [ #23 ])
  • Support for non radomization of angles when undefined in cloud data entries and added an alphabetical sort of data before sorting by weight to allow for uniform placement of words in the cloud. This can ensure that if a word cloud is updated with the same data the placement of words will not change. Previously, because only sorting by weight, there was some randomness to the word ordering when rendering. (related to [ #31 ]). Thanks @afm497!

Fixes

  • Removed check for empty data array that would exit out of drawing tag cloud. (related to [ #36 ]). Thanks @afm497!

3.0.0

Features

  • TagCloudModule is now ready for usage with Angular6 🎉

2.6.0

Features

  • auto realign words on resize (realignOnResize property) (related to [ #26 ])

2.5.0

Features

  • Adds the option to zoom with a delay
  • New Method reDraw (related to [ #26 ])

Fixes

  • The browser lags after several data updates (related to [ #28 ])

2.4.0

Features

  • Adds the option to zoom with a delay
  • New Event dataChanges

Fixes

  • keep word rotation if set and zoom is activated

2.3.1

Fixes

  • rotate words not just on hover

2.3.0

Features

  • Adds a feature for zoom CloudData elements on hover [ #10 ]

2.2.0

Features

  • Add attribute for rotating CloudData elements [ #11 ]

2.1.6

Fixes

  • fixes bug within default values (a5aac48)

2.1.5-prod-fix.1

  • updates ng-packagr (related to [ #21 ])

Fixes

  • fixes deployed version [ #20 ]

2.1.2

Fixes

  • updates peerDependencies
  • removes unnecessary dependencies

2.1.1

Fixes

  • fixes Package

2.1.0

Features

  • Adds strict mode for setting static weights (0938798), fixes [ #18 ]

2.0.2

Fixes

  • fixes README.md

2.0.1

Fixes

  • fixes README.md

2.0.0

Features

  • Upgrade to Angular 5, fixes [ #18 ]
  • Package application using ng-packagr

1.4.0

Fixes

  • Simplify the Sorting Algorithm (d788ab0), fixes [ #15 ]

Features

  • Adding changes to update the DOM (436ce82), fixes [ #16 ]

1.3.2

Fixes

  • Null pointer error when options change but data does not, (63066f7), fixes [ #13 ]

1.3.1

Fixes

  • Adds events afterInit and afterChecked, fixes [ #7 ]
  • Adds a link to a wiki page which explains how to change the stlyesheet, fixes [ #6 ]
  • Supports now a relative width to the parents element, fixes [#1]:

Fixed width (in px):

The width of the cloud in this example will be 1000px.

@Component({
  selector: 'my-component',
  template: `
    <angular-tag-cloud
      [data]="data"
      [width]="1000px">
    </angular-tag-cloud>
  `
})
// ...

Example usage of relative width:

If the parent container is e.g. 1000px wide, the width of the cloud in this example will be 1000px * 0.8 = 800px.

@Component({
  selector: 'my-component',
  template: `
    <div>
      <angular-tag-cloud
        [data]="data"
        [width]="0.8">
      </angular-tag-cloud>
    </div>
  `
})
// ...

1.2.0

Fixes

  • Setting a color without providing a link

Features

  • adds an event which returns the clicked tag-cloud-item, related to [ #5 ]

1.1.1

Fixes

  • updates version, fixes package.json

1.1.0

Features

  • Uses ngOnChanges-Lifecycle Hook to refresh data when new CloudData[] is passed into component, closes [ #4 ]

1.0.0

Features

  • Exports CloudOptions and CloudData interfaces

Fixes

  • fixes some typos
  • be sure that default values are set if passing wrong data through inputs

Breaking changes

  • cahnged input removeOverflow to overflow. Before:
<angular-tag-cloud
    [data]="data"
    [removeOverflow]="true">
</angular-tag-cloud>

After:

<angular-tag-cloud
    [data]="data"
    [overflow]="false">
</angular-tag-cloud>

0.0.1 - 0.0.4

  • initial versions