express-sweet 1.0.37 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,81 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.0.39] - 2023/7/24
5
+ ### Changed
6
+ - Changed exception class name.
7
+ <table>
8
+ <thead>
9
+ <tr>
10
+ <th>Before Class Name</th>
11
+ <th>After class name</th>
12
+ <th>Instance member</th>
13
+ <th>Description</th>
14
+ </tr>
15
+ </thead>
16
+ <tbody>
17
+ <tr>
18
+ <td>CollectionCreationError</td>
19
+ <td>FaceCollectionCreateFailed</td>
20
+ <td>
21
+ <ul>
22
+ <li>name: Error Name.</li>
23
+ <li>collectionId: Collection ID.</li>
24
+ <li>httpStatusCode: HTTP status code.</li>
25
+ </ul>
26
+ </td>
27
+ <td>Thrown when face collection creation (<code>AWSRekognitionClient.createCollection()</code>) fails.</td>
28
+ </tr>
29
+ <tr>
30
+ <td>CollectionDeletionError</td>
31
+ <td>FaceCollectionDeleteFailed</td>
32
+ <td>
33
+ <ul>
34
+ <li>name: Error Name.</li>
35
+ <li>collectionId: Collection ID.</li>
36
+ <li>httpStatusCode: HTTP status code.</li>
37
+ </ul>
38
+ </td>
39
+ <td>Thrown when deleting a face collection (<code>AWSRekognitionClient.deleteCollection()</code>) fails.</td>
40
+ </tr>
41
+ <tr>
42
+ <td>FaceIndexError</td>
43
+ <td>FaceIndexFailed</td>
44
+ <td>
45
+ <ul>
46
+ <li>name: Error Name.</li>
47
+ <li>collectionId: Collection ID.</li>
48
+ </ul>
49
+ </td>
50
+ <td>Thrown when face indexing (<code>AWSRekognitionClient.indexFace()</code>) fails.</td>
51
+ </tr>
52
+ <tr>
53
+ <td>MissingFaceInImageError</td>
54
+ <td>FaceMissingInPhoto</td>
55
+ <td>
56
+ <ul>
57
+ <li>name: Error Name.</li>
58
+ </ul>
59
+ </td>
60
+ <td>Thrown if the face to index (<code>AWSRekognitionClient.indexFace()</code>) is not in the photo.</td>
61
+ </tr>
62
+ <tr>
63
+ <td>MultipleFacesInImageError</td>
64
+ <td>FacesMultipleInPhoto</td>
65
+ <td>
66
+ <ul>
67
+ <li>name: Error Name.</li>
68
+ </ul>
69
+ </td>
70
+ <td>Thrown when there are multiple faces to index (<code>AWSRekognitionClient.indexFace()</code>) in a photo.</td>
71
+ </tr>
72
+ </tbody>
73
+ </table>
74
+
75
+ ## [1.0.38] - 2023/7/17
76
+ ### Fixed
77
+ - Fixed a bug that login user data (req.user) could not be referenced in the function called just before view rendering (config/view.js#beforeRender).
78
+
4
79
  ## [1.0.37] - 2023/7/17
5
80
  ### Changed
6
81
  - The beforeRender option in the view configuration (config/view.js) can now specify asynchronous functions.
@@ -691,4 +766,6 @@ All notable changes to this project will be documented in this file.
691
766
  [1.0.34]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.33...v1.0.34
692
767
  [1.0.35]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.34...v1.0.35
693
768
  [1.0.36]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.35...v1.0.36
694
- [1.0.37]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.36...v1.0.37
769
+ [1.0.37]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.36...v1.0.37
770
+ [1.0.38]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.37...v1.0.38
771
+ [1.0.39]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.38...v1.0.39