10.0.0
- Added a module for each pipe #97
9.0.1
9.0.0
- For use with Angular 7
8.0.0
- Use this version for Angular 6
- To use this package with Angular 5, use version 7.x.x
7.2.0
New pipes
- New AbsPipe inside MathModule
7.1.0
- Fixed issues with
ng-packagr. All individual pipes can now be exported directly fromangular-pipesinstead of full path. The full path is not available anymore.
7.0.0
- No code changes, distribution is now done via
ng-packagrto follow theAngular Package Format.%
6.5.0
New feature
- Byte pipes 2.0
bytes- The maximum unit is now the terabyte
- You can now specify a base unit for the conversion (B, KB, MB, GB, TB)
6.4.0
New pipes
Other
- The library should work with
strictNullChecks
6.3.0
New pipes
6.2.0
New pipes
6.1.0
New pipes
6.0.0
New pipes
Breaking changes
- All the
typespipes have been renamed with aisprefix. #40 The complete list is:
nullhas been renamed toisNullundefinedhas been renamed toisUndefinednilhas been renamed toisNilnumberhas been renamed toisNumberstringhas been renamed toisStringfunctionhas been renamed toisFunctionarrayhas been renamed toisArrayobjecthas been renamed toisObjectdefinedhas been renamed toisDefined
Reason: the
numberpipe was in conflict with theAngularbuilt-innumberpipe so it had to be renamed. To keep consistency between pipes, all type pipes have been renamed with the same prefix.
5.8.0
Bundle distribution
angular-pipesnow distributes UMD bundles. Click here for more information.angular-pipesnow distributes ESM files. Click here for more information.
If you encounter any issues related to these bundles / ESM files, please comment on the issue #37 created for this.
5.7.0
New pipes
5.6.0
- Removed ngfactory files. Only ngsummaries are needed for AoT.
- Switch to
karma-typscriptfor testing. - Moved all spec files next to their source.
5.5.0
- Add noUnusedLocals to tsconfig to improve type checks (#33)
- Update Angular to
2.3.1.
5.4.0
- Update Angular to
2.3.0.ngcuses a new feature calledngsummary.
5.3.0
New pipes
5.2.0
New pipes
5.1.0
New pipes
5.0.0
AoT
- The project is now compiled with
ngcand should work withAoT. Create an issue if you're still having trouble.
Fixes
- Fix CountPipe
- Fix EveryPipe test
- Add IsNilPipe to boolean module
BREAKING CHANGES
- Rename modules (Remove the
2fromNg2...)- Angular "2" will now be angular 3 soon with semver, keeping the
2does not make sense anymore
- Angular "2" will now be angular 3 soon with semver, keeping the
- Change directory structure
- The dist folder has been removed. The compiled files are located next to their source.
- Aggregate pipes are now in their own folder instead of being in the math folder (import change, see docs).
Tests
- Removed JSPM to keep things simple. It should be easier to contribute.
- It now use Karma with a simple webpack preprocessor.
4.0.0
Support for Angular Final
3.0.0
- Update Angular to RC.6
- Remove deprecated tokens.
NG2_PIPES,NG2_BOOLEAN_PIPES, etc.
2.2.0
- Update Angular to RC.5
Add support for
NgModule- Ng2ArrayPipesModule
- Ng2MathPipesModule
- Ng2BooleanPipesModule
- Ng2StringPipesModule
- Ng2ObjectPipesModule
- Ng2AggregatePipesModule
- Ng2PipesModule (imports all the module above)
The old token
NG2_PIPESand the tokens for the categories will be removed forrc.6to allow people to migrate easily.- The library will keep exporting invidual pipes as we may not need the all category in our application.
2.0.0
2.0.0 is mainly an update to angular release candidate with some breaking changes.
Travis CI
- The project now has a Travis CI. It's now easier to contribute with build made for every PR.
Breaking changes
- Updated to angular 2 RC.
- Moved categories files to src folder, this means:
- To import a category you now have to do:
import { NG2_STRING_PIPES } from 'angular-pipes/pipes/src/string'instead ofimport { NG2_STRING_PIPES } from 'angular-pipes/pipes/string'
- To import a category you now have to do:
- All the pipes are now PURE. This means you have to use
immutabilityto update the pipe value. This is a design choice that may be discussed in the future.
1.6.0
New pipes
takedropdeep
The deep pipe has to be used with other pipes that can work with deep comparaisons. The pipes working with deep comparaisons (for now) are:
uniqwithout
If you need to use deep equal, you can use it like this:
{{ collection | deep | uniq }}
1.5.0
Breaking change
- Updated to angular2-beta.16. New versions will not work under a lower version than beta.16.
New pipes
powsqrt
Other
1.4.0
New pipes
capitalizeupperfirsttemplateencodeURIencodeURIComponentrepeattruncateshufflerandom
1.3.0
New pipes
CountPipeKeysPipeEveryPipeSomePipeToArrayPipeNewlinesPipeDegreesPipeRadiansPipe
Fixes
Fix immutability for pipes that were updating the original input.
Other
- Added all the documentation in a separate
docsfolder to keep theREADME.mdas clean as possible.
1.2.0
New pipes
OrderByPipeReversePipe
Breaking changes
- When the type of the input is not valid, the input is now returned unchanged.
1.1.0
New pipes
WherePipeNilPipePluckPipeMapPipeRangePipe
New features on existing pipes
TypeErrorarray messages are now more consistent.
Breaking changes
None.
Other
- Added documentation
- Added tests for
replacematchtest