Releases: patternfly/angular-patternfly
v3.3.1
v3.3.0
v3.2.0
Release Notes
- Updated devDependency for patternfly to 3.2.0
- Update AngularJS version to 1.5
- If upgrading from angular-patternfly version 2.x to 3.x, please see 3.0 Migration Guide
Enhancements
- Toolbar: Added Cards View example to the toolbar directive docs.
Bug Fixes
- List View: Show actions when menu and/or button actions are supplied.
- Toolbar: added bottom margin to the toolbar when no filter results
v3.1.0
Release Notes
- Updated devDependency for patternfly to 3.1.0
- If upgrading from angular-patternfly version 2.x to 3.x, please see 3.0 Migration Guide
Enhancements
- Updated License to Apache-2.0
Bug Fixes
- Fix pfSelect options and ng-model watches. The directive was watching the wrong scope for changes.
v3.0.0
This release is not backwards compatible!
Release Notes
- Updated devDependency for patternfly to 3.0.0
Enhancements
These changes are not backwards compatible!
- Several directive name changes have been made to be more inline with base PatternFly terminology.
- CSS selectors have also been changed from pf- to -pf to be more inline with PatternFly conventions.
Angular-PatternFly 3.0 Migration Guide
This guide details how to upgrade from Angular-PatternFly 2.x to Angular-PatternFly 3.0.
Angular-PatternFly v3.0 is (almost) backwards compatible with v2.0
There are two major changes that you should know about:
- The Patternfly dependencies (bower_components/patternfly/components) are no longer committed to the PatternFly repo. That means you must update any angular-patternfly
<script>
tags to refer to the new locations. For complete documentation please refer to PatternFly 3.0 Migration Guide - Several angular-patternfly directives have been renamed to be more in-sync with base PatternFly terminology.
Get Angular-PatternFly 3.0
The first step is to upgrade the Angular-PatternFly codebase. This process will be different depending on how your project manages its dependencies.
Upgrade using Bower:
$ bower install angular-patternfly --save
Accessing PatternFly Dependencies
Prior to v3.0 PatternFly dependencies were checked into the patternfly repo under ‘/components’ and applications would access them via:
<script src="bower_components/patternfly/components/c3/c3.min.js"></script>
As of v3.0 the ‘patternfly/components’ directory is no longer committed to the repo. That means you must update any angular-patternfly <script>
tags to point the the new location.
For example, after executing:
$ bower install angular-patternfly --save
The dependencies for Angular-PatternFly and PatternFly are installed directly into the “bower_components”. This simply means that the PatternFly c3 dependency will no longer be available under ‘bower_components/patternfly/components/c3’, but rather it will be directly accessible under ‘bower_components/c3’.
The updated script tag would be:
<script src="bower_components/c3/c3.min.js"></script>
For complete documentation please refer to PatternFly 3.0 Migration Guide
Renamed Angular-Patternfly Directives
The following angular-patternfly directives have been renamed to be more in-sync with base PatternFly terminology. You must change these directive names in your HTML files:
Old Name | New Name |
---|---|
pf-utilization-chart | pf-utilization-trend-chart |
pf-simple-filter | pf-filter |
pf-simple-filter-results | pf-filter-results |
pf-notification | pf-inline-notification |
pf-simple-sort | pf-sort |
pf-data-list | pf-list-view |
pf-data-tiles | pf-card-view |
- CSS selectors have also been changed from ‘pf-’ to ‘-pf’ to be more inline with PatternFly conventions.
v2.10.0
Release Notes
- Updated devDependency for patternfly to 2.10.0
Enhancements
- DataList - Updated to use latest Patternfly styling and added support for Action Buttons
- HeatMaps - Made HeaMap Height parameter optional and updated ngdoc
- Bower - Moved dependencies that are required by consumers from devDependencies to dependencies in bower.json
Bug Fixes
- TrendChart - Fixed showing trend charts details for inline layout
v2.9.0
Release Notes
- Updated devDependency for patternfly to 2.9.0
Enhancements
- HeatMaps - Allow setting block padding and max block size for heat maps.
- Charts - Allow use of C3 config.data settings in Charts
v2.8.1
Release Notes
- Bumped version to v2.8.1
Bug Fixes
- Charts - Fixes to handle no chart data for data unavailable charts
v2.8.0
Release Notes
- Updated devDependency for patternfly to 2.8.0
New Features
- New Directives
- pfRemainingCharsCount: counts remaining characters in textareas. Can set remaining warning and maximum threshold, block input at max. threshold, works with right-click 'paste'
- pfEmptyChart: used in Heatmap, Trends, and Utilization charts when there is no data available
Enhancements
- c3Charts: Updated to use the c3ChartsDefaults from Patternfly base ref. impl.
v2.7.0
Release Notes
- Bumped version to v2.7.0
Bug Fixes
- Data Toolbar - Simple Filter Jumps when user changes category from text field to select
- Data Toolbar - Simple Filter needs to be clicked twice to open
- Heat Map - Style changes for legend alignment
##Enhancements
- distributed ngdocs