@@ -6,6 +6,40 @@ All notable changes to this project will be documented in this file.
6
6
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
7
7
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
8
8
9
+ ## [ 2.0.0] - 2021-08-12
10
+
11
+ ### 2.0.0 Added
12
+
13
+ - [ ` 069d111 ` ] [ 069d111 ]
14
+ Added static private property ` #template ` of a ` string ` type.
15
+ Added private instance ` #callback ` property of ` Callback ` instance.
16
+ Added private instance ` #fix ` , ` #problem ` , ` #tpl ` property.
17
+ Added pubic methods ` setFix() ` , ` setMessage() ` , ` setProblem() ` , ` setTemplate() ` , ` throw() ` , ` updateMessage() ` of an instance.
18
+ Added static private methods ` #guardMessage() ` , ` #guardTemplate() ` .
19
+ - [ ` 4040750 ` ] [ 4040750 ]
20
+ Added an optional property ` template ` to the ` ErrorMessage ` interface.
21
+ - [ ` 0d5cc92 ` ] [ 0d5cc92 ]
22
+ Added ` VEAllowedCallback ` type of allowed names for internal instance of ` Callback ` .
23
+
24
+ [ 069d111 ] : https://github.com/angular-package/error/commit/069d111220b63c2d2cdbffa499f3588121f14e16
25
+ [ 4040750 ] : https://github.com/angular-package/error/commit/40407503893484874e588b8b5b42c6e40a5fc3ab
26
+ [ 0d5cc92 ] : https://github.com/angular-package/error/commit/0d5cc920b7e5c750f77099580ec2f53070d3cac7
27
+
28
+ ### 2.0.0 Changed
29
+
30
+ - [ ` 069d111 ` ] [ 069d111 ]
31
+ Changed static public ` template ` property to use static private ` #template ` property that is guarded by the private static ` #guardTemplate() ` method.
32
+ Changed instance ` fix ` property to use private ` #fix ` .
33
+ Changed instance ` problem ` property to use private ` #problem ` .
34
+ Changed public static ` defineMessage() ` method to use private static ` #guardMessage() ` to guards the provided ` message ` .
35
+ Changed constructor to use public ` setMessage() ` method and add new ` callback ` parameter to handle private instance of ` Callback ` .
36
+ - [ ` 0708846 ` ] [ 0708846 ] [ ` bcc6521 ` ] [ bcc6521 ] [ ` 0bbd886 ` ] [ 0bbd886 ]
37
+ Updated ` README.md ` .
38
+
39
+ [ 0bbd886 ] : https://github.com/angular-package/error/commit/0bbd88630e0a695ab4865903c83bda7b2e56dfef
40
+ [ bcc6521 ] : https://github.com/angular-package/error/commit/bcc652139613a7f8ef721cd12bc076fde3edadb8
41
+ [ 0708846 ] : https://github.com/angular-package/error/commit/0708846f6bc3de0fa080e5f58fa4a36adfcb7dcd
42
+
9
43
## [ 1.0.3] - 2021-08-06
10
44
11
45
### 1.0.3 Added
0 commit comments