-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRELEASE-NOTES.txt
448 lines (298 loc) · 14.4 KB
/
RELEASE-NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
HDIV CHANGELOG
==============
http://www.hdiv.org
Release 2.1.2
==================================
* Confidential values are visible in the log.
* Expose form state id to request. Simpler Ajax support.
* Fixed (https://github.com/hdiv/hdiv/issues/3) error parsing parameters without value
* Fixed (https://github.com/hdiv/hdiv/issues/4) bug with nested tags
Release 2.1.1
==================================
* New 'debugMode' configuration mode to log the attacks but don`t stop it.
* Register and use a group of editable validations by default (Sql injection, exec command and XSS attacks).
* Add "registerDefaults" attribute to <hdiv:editableValidations> element to enable/disable default editable validations.
* Add "enableDefaults" attribute to <hdiv:validationRule> element to enable/disable default editable validations per rule.
* Make possible to update a existing state. Designed for ajax requests that update part of the page.
* New 'maxPagesPerSession' configuration attribute to control the number of states in session.
Release 2.1.0
==================================
* JavaDoc and License correction.
Release 2.1.0.RC3
==================================
* Final Spring Framework 3.1.0 version support.
* Configurable IUserData instance in the scheme.
* Better support for anchored urls.
* Refactor of the url splitting and processing classes.
Release 2.1.0.RC2
==================================
* Hdiv schema for simpler configuration.
Release 2.1.0.RC1
==================================
------- New Features -------
* Support for JSF 1.2
* Support for JSF 2.0
------- Improvements --------
* WebFlow deletes session pages when conversation ends.
Consecuently, parameter (flowExecutionKey/execution) is no longer added automatically.
* URLs with anchor (#) are now correctly managed.
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-jsf module
* added hdiv-jsf-2 module
* added hdiv-web-jsf-bookstore module
Changed paths:
M /hdiv-core/trunk/src/main/java/org/hdiv/util/Constants.java
M /hdiv-core/trunk/src/main/java/org/hdiv/util/HDIVRequestUtils.java
M /hdiv-jstl-taglibs-1.2/trunk/src/main/java/org/hdiv/taglibs/standard/tag/common/core/RedirectSupportHDIV.java
M /hdiv-jstl-taglibs-1.2/trunk/src/main/java/org/hdiv/taglibs/standard/tag/common/core/UrlSupportHDIV.java
M /hdiv-core/trunk/src/main/java/org/hdiv/util/HDIVRequestUtils.java
M /hdiv-core/trunk/src/main/java/org/hdiv/session/SessionHDIV.java
Release 2.1.0.M2
==================================
------- New Features -------
* Support for Spring MVC 3.0.4
* Support for Spring Webflow 2.1.1
------- Improvements --------
* Better error handling support.
* The bean 'multipartConfig' is not required, interesting for applications without multipart requests.
* The 'paramWithoutValidation' and 'excludedURLExtensions' properties are not required in HdivConfig.
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-spring-mvc-3.0.4 module
* added hdiv-web-spring-mvc-3.0.4 module
* added hdiv-webflow-2.1.1 module
* added hdiv-web-webflow-2.1.1 module
Changed paths:
M /hdiv-core/trunk/src/main/java/org/hdiv/config/HDIVConfig.java
M /hdiv-core/trunk/src/main/java/org/hdiv/filter/ValidatorFilter.java
Release 2.1.0.M1
==================================
------- New Features -------
* Support for Spring MVC 3.0.2
* Support for JSTL 1.2
------- Improvements --------
* It has done a great job in order to improve performance related to CPU, memory and session usage.
* A new option has been added to avoid creating a state for links wihtout any parameter.
* A new option called excludedURLExtensions allows excluding links depending on their extension.
------- NEW CLASSES AND MODIFICATIONS -------
* New interface PageIdGenerator allows changing page id generation strategy.
* Package org.hdiv.idGenerator has been created for uidGenerator and PageIdGenerator interfaces and their implementations.
* New DataComposerFactory and DataValidatorFactory factories improve performance on generating IDataComposer and IDataValidator objects.
Release 2.0.4
==================================
------- New Features -------
* Support for Struts 2.0.11
* improvement to prevent Cross-site Request Forgery (CSRF) attacks: a random token is included in all requests.
------- BUGS FIXED -------
* #007 protectedExtensions for Struts 1.x: definition of this property is obligatory for Struts 1.x applications
* #008 "rewrite" tag: this tag is included in HDIV to add HDIV state in url (Struts 1.x)
* #009 logout in Spring MVC: RedirectViewHDIV don't add HDIV state if session doesn't exist
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-struts-2.0.11 module
* added hdiv-web-struts-2.0.11 module
* Package org.hdiv.taglib.util
- modified "getURLWithoutRelativePaths" method
- added method "hasActionOrServletExtension" to RequestUtilsHDIV class
* Package org.hdiv.taglib.html
- added rewrite tag implementation
* Package org.hdiv.web.servlet.view
- modified method "sendRedirect"
------- Configuration Files -------
* modified hdiv-html.tld file with "rewrite" tag
* modified hdiv-html-el.tld file with "rewrite" tag
Release 2.0.3
==================================
------- New Features -------
* Spring MVC & Webflow (SWF)
* Support for Spring 2.5
------- BUGS FIXED -------
* #006 JSTL url tag: it was mandatory to define absolute urls. This has been fixed and now it is possible to define relative urls.
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-spring-mvc-2.5 module
* added hdiv-web-spring-mvc-2.5 module
* added hdiv-webflow-1.0.5 module
* added hdiv-web-webflow-1.0.5 module
* renamed hdiv-spring-mvc module to hdiv-spring-mvc-2.0
* Package org.hdiv.datacomposer
- added method "addFlowId" to IDataComposerMemory class
- added method "addFlowId" to DataComposerMemory class
* Package org.hdiv.util
- added method "getDataComposer" to HDIVUtil class
- modified "addHDIVParameterIfNecessary" (StandardRequestUtilsHDIV)
- modified "getContextRelativePath" (StandardRequestUtilsHDIV)
- added method "addExtraParameters" (StandardRequestUtilsHDIV)
- added method "addFlowExecutionParameter" (StandardRequestUtilsHDIV)
* Package org.hdiv.session
- added method "removeEndedPages" to ISession class
- added method "removeEndedPages" to SessionHDIV class
* Package org.hdiv.state
- added property "flowId" to Page class
- added getter and setter methods for "flowId" property (IPage and Page)
* Package org.hdiv.config.multipart
- modified "handleMultipartRequest" method (SpringMVCMultipartConfig)
- modified "addTextParameter" method (SpringMVCMultipartConfig)
* Package org.hdiv.config
- renamed "getProtectedExtensions" method to "getProtectedUTLPatterns" (HDIVConfig)
- modified "setProtectedExtensions" method (HDIVConfig)
* Package org.hdiv.taglibs.standard.tag.common.core
- modified "doEndTag" method (RedirectSupportHDIV)
- modified "doEndTag" method (URLSupportHDIV)
* Package org.hdiv.web.util
- added "TagUtils" class
* Package org.hdiv.web.servlet.tags.form
- modified method "writeTagContent" (OptionsTagHDIV)
- modified method "renderOption" (OptionTagHDIV)
Release 2.0.1
==================================
------- New Features -------
* Spring MVC "redirect:" prefix support
------- BUGS FIXED -------
* #005 File upload error messages integration
------- NEW CLASSES AND MODIFICATIONS -------
* Package org.hdiv.config
- added property "FILEUPLOAD_EXCEPTION" to IMultipartConfig class
- modified handleMultipartRequest method declaration (IMultipartConfig,
StrutsMultipartConfig, Struts2Multipartconfig and SpringMVCMultipartConfig)
* Package org.hdiv.filter
- modified doFilterInternal method to check upload errors
* Package org.hdiv.util
- added "SpringRequestUtilsHDIV" class
* Package org.hdiv.web.multipart
- modified resolveMultipart method (HDIVMultipartResolver)
* Package org.hdiv.web.servlet.view
- added "InternalResourceViewResolverHDIV" class to support
Spring MVC "redirect:" prefix
- added "RedirectViewHDIV" class to support Spring MVC
"redirect:" prefix
* Package org.hdiv.action
- added method "processForwardConfig" to "HDIVRequestProcessor" class
* Package org.hdiv.taglib.util
- added method "addHDIVParameterIfNecessary" to RequestUtilsHDIV
* Package org.hdiv.upload
- modified method "handleRequest" (HDIVMultipartRequestHandler)
* Package org.hdiv.dispatcher.multipart
- modified method "parse" (HDIVJakartaMultiPartRequest)
Release 2.0
==================================
------- New Features -------
* Added support for Spring MVC
* Added support for Jakarta Taglibs 1.1.0
* Added support for Jakarta Taglibs 1.1.2
* Added support for Struts 2.0.9
* Added support for Struts 1.3.8
------- BUGS FIXED -------
* #004 Logout does not work in Struts 2.0.6: resolved
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-spring-mvc module
* added hdiv-web-spring-mvc module
* added hdiv-jstl-taglibs-1.1.0 module
* added hdiv-web-jstl-taglibs-1.1.0 module
* added hdiv-jstl-taglibs-1.1.2 module
* added hdiv-web-jstl-taglibs-1.1.2 module
* added hdiv-struts-2.0.9 module
* added hdiv-web-struts-2.0.9 module
* added hdiv-struts-1.3.8 module
* added hdiv-web-struts-1.3.8 module
* Package org.hdiv.filter
- added AbstractValidatorHelper class
------- Configuration Files -------
* applicationContext.xml
- removed property "logger" from "stateUtil" bean
- renamed "helper" bean property
Release 1.3
==================================
------- New Features -------
* Added support for Struts 2.0.6
------- BUGS FIXED -------
* #003 RequestWrapper: modified getParameterMap() method
------- NEW CLASSES AND MODIFICATIONS -------
* added hdiv-struts-2.0.6 module
* added hdiv-web-struts-2.0.6 module
* Package org.hdiv.filter
- modified ValidatorHelper class to extend from OncePerRequestFilter
* Package org.hdiv.state
- property logger and all references have been removed
* Package org.hdiv.config
- modified "checkValue()" method
* Package org.hdiv.validator
- modified acceptedPattern property
- modified rejectedPattern property
* Package org.hdiv.util
- modified HDIVUtil's getActionMappingName method
------- Configuration Files -------
* applicationContext.xml
- removed property "logger" from "stateUtil" bean
- renamed "session" bean to "sessionHDIV"
- modified "multipartConfig"'s bean class
Release 1.1.2
==================================
------- New Features -------
* Added support for Struts-EL subproject.
* Added support for Tiles.
* New configuration for start pages and error page (we must define them without context path in hdiv-config.xml file)
------- BUGS FIXED -------
* #002 support for Weblogic web server
------- NEW CLASSES AND MODIFICATIONS -------
* Package org.hdiv.strutsel
* Package org.hdiv.tiles
* Package org.hdiv.filter
- added "validateStartPageParameters()" method to ValidatorHelper
- modified "doFilter" method to support weblogic
------- Configuration Files -------
* Added hdiv-html-el.tld file to Struts-el
* Added hdiv-logic-el.tld file to Struts-el
Release 1.1.1
==================================
------- NEW CLASSES AND MODIFICATIONS -------
* Added org.hdiv.validation.IValidation class to editable data validations.
* Added org.hdiv.util.Constants class.
* Package org.hdiv.config
- added "matchedPages" property to HDIVConfig
- added "matchedParameters" property to HDIVConfig
- added "checkValue()" method to HDIVConfig, to check if value is an init action or parameter
* Package org.hdiv.filter
- added "getHeader" method to RequestWrapper
- added "getHeaders" method to RequestWrapper
- added "replaceCookieString" method to RequestWrapper
- added "SavedCookie" class
------- Configuration Files -------
* hdiv-config.xml:
- added new beans: avoidCookiesIntegrity, avoidCookiesConfidentiality
- added "avoidCookiesIntegrity" and "avoidCookiesConfidentiality" beans to "config" bean
- modified "randomName" bean type
Release 1.1
==================================
------- New Features -------
* Added support for editable data validations.
* Added integrity of cookies.
------- BUGS FIXED -------
* #001 support for HTML Tag Library inside logic:iterate tag
------- NEW CLASSES AND MODIFICATIONS -------
* Added org.hdiv.validation package.
* Added org.hdiv.config.HDIVValidations class to editable data validations.
* Added org.hdiv.filter.IResponseWrapper class to cookie's validation.
* Added org.hdiv.filter.ResponseWrapper class to cookie's validation.
* Added org.hdiv.action.HDIVRequestProcessor to visualize the errors
produced in the editable fields detected by HDIV.
* Added org.hdiv.taglib.util.ResponseUtilsHDIV class that contains general purpose
utility methods related to generating a servlet response in the Struts controller
framework.
* Package org.hdiv.config
- added "setValidations()" method to HDIVConfig
- added "existValidations()" method to HDIVConfig, to check if there are validations defined for
editable fields
- added "areEditableParameterValuesValid()" method to HDIVConfig, to check if the values are valid
for the editable parameter
* Package org.hdiv.dataComposer
- redefined compose methods to accept editableName parameters
* Package org.hdiv.filter
- added "validateEditableParameter()" method to validate editable parameters
* Package org.hdiv.listener
- modified "sessionCreated()" method to store suffix in session in the memory version in order to add to HDIV parameter
* Package org.hdiv.session
- added "generateInitialPageId()" method to SessionHDIV
* Package org.hdiv.util
- added two new error codes to HDIVErrorCodes
------- Configuration Files -------
* Added hdiv-validations.xml file to editable data validations.
* Renamed hdivConfig.xml to hdiv-config-xml and added property "validations" to bean "config"
* applicationContext.xml: bean "page" and all references have been removed