UNPKG

6.05 kBMarkdownView Raw
1## 5.1.2 (2020-01-31)
2
3- Fix typings to support multiple query predicates for arrays of primitives and union types.
4
5## 5.1.1 (2019-12-17)
6
7- Audit fix one moderate security issue related to "serialize-javascript". Internal minor dependency updates.
8
9## 5.1.0 (2019-12-16)
10
11- Allow multiple predicates per field when querying search service
12
13## 5.0.1 (2-19-12-10)
14
15 - Update some internal dependencies to get vulnerabilities down to one moderate from 12,763
16
17## 5.0.0 (2-19-12-10)
18
19 - Allow users with existing (enabled) User entity to login with external auth. Previous code assumed that if we don't have a LoginCredential stored then we always need to create a user.
20 This caused errors when we had a user record already but that user had not logged in (in most cases resulting in an endless redirect loop). Updated solution allows existing user to login.
21
22### Breaking changes:
23
24 - `UserService` interface has an additional method to `createOrUpdate`. Most implementations that extend `AbstractUserService` should remain unaffected.
25
26
27## 4.0.0 (2019-12-06)
28
29- Pass Context to repository beforePersist hook
30- Allow custom props in Context
31
32### Breaking changes:
33
34- Any existing beforePersist hooks need to update to use the new signature:
35
36```
37protected beforePersist(context: Context, entities: OneOrMany<T>): OneOrMany<T>;
38```
39
40## 3.2.0 (2019-11-29)
41
42- Log graphql errors as warning severity
43- Log non-fatal errors as warning severity in transactions
44
45## 3.1.0 (2019-11-27)
46
47- Automatically filter undefined entries from search results
48- Delete search indexes when entities deleted
49- Add changelog
50
51## 3.0.0 (2019-10-18)
52
53- Update all gcloud dependencies
54- Allow fake login in deployed environments. A secret is required for deployed environments it logs a warn level message that fake login is enabled.
55- Add email whitelist option to mail devhooks
56- Email prefix can be added without enabling diversion
57- [Bug] Respect local login enabled flag
58
59### Breaking changes:
60
611. Update jest config for server code with "testEnvironment": "node" or run with jest --env node
622. Fake login config has changed to use following form:
63```
64auth: {
65 fake?: {
66 enabled?: boolean;
67 secret?: string;
68 }
69}
70```
71
72## 2.4.0 (2019-10-14)
73
74- Update passport auth service to raise authentication errors on failed logins
75- Update dev dependencies
76- Use uuid instead of node-uuid lib
77- Add prettier as dependency and fixup lint/format conflicts
78
79No breaking changes.
80
81## 2.3.1 (2019-10-03)
82
83- Reject login attempts if local backed user has been explicitly disabled.
84
85## 2.3.0 (2019-10-02)
86
87- Update local signout to be a GET request instead of a POST. Existing method still there but logs a deprecation warning.
88
89## 2.2.0 (2019-09-18)
90- Static assets can be configured before session handling by passing configuration to configureExpress function.
91By default will also not serve index.html if you request the site root (required for next change to work correctly).
92So instead of:
93 ```
94 app.useStaticAssets('public');
95 ```
96Do this:
97 ```
98 configureExpress(expressApp, {
99 session: {...},
100 staticAssets: {
101 root: 'public',
102 },
103 });
104```
105
106- Session will be saved before index.html is returned to browser. Depends on previous change so that the index.html won’t be served by the static middleware. Instead will always be served by the Nest catch all exception handler in filter.ts (i.e. the catch all route to enable client side routing).
107
108## 2.1.1 (2019-09-26)
109
110- Update @google-cloud/storage to 2.5.0
111
112## 2.1.0 (2019-09-18)
113
114- Enable configuration of federated auth failureRedirect url. No changes required as defaults to / to match existing behaviour.
115
116## 2.0.0 (2019-09-16)
117
118- Ensure all LoginCredentials entities are always saved with lowercase id and retrieved with lowercase id in auth service. This could be breaking if you have existing LoginCredentials entities stored with mixed case.
119- Add `beforePersist()` hook on Repository so that you can intercept and optionally transform entities before one of the many "save" methods: save update insert upsert.
120
121## 1.6.0 (2019-09-11)
122
123- Add fake login option for local development environment only
124
125## 1.15.1 (2019-09-10)
126
127- Add ability to sign-in with okta using oidc (Open ID Connect) protocol.
128- Add option `overwriteExisting` so that if someone previously registered/logged in with username/password it will overwrite their existing credentials to be oidc and re-use the user with pre-existing roles.
129
130## 1.14.3 (2019-08-29)
131
132- Default session timeout can be overridde
133
134## 1.14.2 (2019-06-21)
135
136- [Bug] Auth Controller activateAccount service hanging
137
138## 1.14.1 (2019-06-14)
139
140- Add query for checking activation code
141
142## 1.14.0 (2019-06-14)
143
144- [Bug] Fix csrf maxage
145
146## 1.13.0 (2019-06-14)
147
148- [Bug] Set a (very long) max age on the csrf token cookie, to fix bug where session cookie can still be valid (now that we are setting a maxage on them) but the csrf token is gone
149
150## 1.12.3 (2019-06-13)
151
152- [Bug] reinstate activate endpoint (oops)
153
154## 1.12.2 (2019-06-13)
155
156- Disallow adding super role when editing users so its consistent with inviting
157
158## 1.12.1 (2019-06-12)
159
160- Support paged queries with the search service
161
162## 1.12.0 (2019-06-12)
163
164- Improve expired activation code message copy and move activationExpiryInMinutes configuration to a more meaningful place
165
166## 1.11.2 (2019-06-12)
167
168- Add configurable copy to activation email to indicate when link will expire
169- Remove auto-login after activate because it hasnt been done properly
170
171## 1.11.1 (2019-06-07)
172
173- Add img-src directive for gravatar as it's widely used
174
175## 1.11.0 (2019-06-07)
176
177- Add an auth listener so library consumers can listen for login events (breaking change)
178
179## 1.10.0 (2019-06-06)
180
181- Default session timeout to 2 hours, and enable rolling sessions (so maxAge gets reset when there is activity)
182
183## 1.9.10 (2019-06-05)
184
185- Add endpoint to redirect to auth0 logout page
186
187## 1.9.9 (2019-05-27)
188
189- Include profile scope for auth0 integration and set name on user
190
191## 1.9.8 (2019-05-27)
192
193- fix manifest-src error
194
195