Releases: fredguile/ng2-md-datatable
Releases · fredguile/ng2-md-datatable
all-state-mint
News:
- This shall be a bug fixes release.
- There were too many glitches due to poor state management. To fix them I decided to refactor the whole library to use a @ngrx/store and unidirectional data flow, and limit @output properties of children components.
- As requested, there's now a
demo-app
made with Angular CLI. - I'd be thankful to have your feedback on this release.
Breaking Changes:
- I removed MdDataTableCellDirective as it was suboptimal solution for tagging content and it was kicking Angular's change detection way too often. If you want to to set up numeric columns and cells, better is to do it in your template directly. Please check
demo-app
for an example on how to tag numeric columns.
Known issues:
- There's a problem currently when building with AOT, I'm working on a hotfix that should be released soon
- I found out that @ngrx/store in its current version isn't completely suitable for embedding a sub store into a lib. I had to hack this using an OpaqueToken. Hopefully I'll get more directions when @ngrx/store 4.0 is released.
- Still not compatible with Angular 4.x, but...
- ...I just realised that Material Design beta.3 was released, I shall plan an upgrade in a short while
aot-fix
apple-a-day
Breaking Changes:
As we're following @angular/[email protected] new guidelines, we've changed the way you must import this component's theme. In your app's SCSS theme file:
- you need to import
~ng2-md-datatable/datatable-theme
instead of~ng2-md-datatable/md-datatable-theme
- next to that you will include
mat-datatable-theme($theme)
instead ofmd-datatable-theme($theme)
Let's hope we don't get more renaming in the next Material 2 versions ;)
News:
- @TitanNano enhanced pagination's design and made it closer to Material specs
Known issues:
- missing demo-app (will follow)
- possibly some duplicated events fired after the first page load. I need to investigate if this is a bug coming from the component itself or from my client app (I may create an issue with clarification for this)
prior-zwo
Updated dependencies to @angular/[email protected] and Angular 2.4.x.
cosmetic-cookie
Updated dependencies to @angular/[email protected] and Angular 2.4.1. Fixed arrow sign not showing up when sorting datable columns.
aot-breeze
Fixed build tools to avoid putting .ts files in the NPM module, as it would break AOT compilation (sorry for that).
pagination-all-clear
Added "itemsPerPageChoices" (array of numbers) and "itemsPerPageFirstChoice" (number) as @inputs on the pagination component
datatable-on-the-rocks
1.0.7 Updated to 1.0.7 (however with no changes) to update npmjs.com