Skip to content

Commit 7d72b59

Browse files
committed
Bump version number to 1.1.0
Update version in build.gradle and replace the version in since and deprecated JavaDoc tags.
1 parent 9ddf1cb commit 7d72b59

27 files changed

+233
-233
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ allprojects {
1010
apply plugin: 'java'
1111
group = 'org.zaproxy'
1212

13-
version '1.1.0-SNAPSHOT'
13+
version '1.1.0'
1414
ext.versionBC = '1.0.0'
1515

1616
repositories {

subprojects/zap-clientapi-ant/src/main/java/org/zaproxy/clientapi/ant/AlertTask.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class AlertTask extends Task {
3939
* Gets the name of the alert.
4040
*
4141
* @return the name of the alert
42-
* @since TODO add version
42+
* @since 1.1.0
4343
*/
4444
public String getName() {
4545
return name;
@@ -49,7 +49,7 @@ public String getName() {
4949
* Sets the name of the alert.
5050
*
5151
* @param name the name of the alert
52-
* @since TODO add version
52+
* @since 1.1.0
5353
*/
5454
public void setName(String name) {
5555
this.name = name;
@@ -59,7 +59,7 @@ public void setName(String name) {
5959
* Gets the name of the alert.
6060
*
6161
* @return the name of the alert
62-
* @deprecated (TODO add version) Use {@link #getName()} instead.
62+
* @deprecated (1.1.0) Use {@link #getName()} instead.
6363
*/
6464
@Deprecated
6565
public String getAlert() {
@@ -70,7 +70,7 @@ public String getAlert() {
7070
* Sets the name of the alert.
7171
*
7272
* @param name the name of the alert
73-
* @deprecated (TODO add version) Use {@link #setName(String)} instead.
73+
* @deprecated (1.1.0) Use {@link #setName(String)} instead.
7474
*/
7575
@Deprecated
7676
public void setAlert(String name) {

subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/core/Alert.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public enum Confidence {FalsePositive, Low, Medium, High, Confirmed};
5858
* Constructs an {@code Alert} from the given {@code ApiResponseSet}.
5959
*
6060
* @param apiResponseSet the {@code ApiResponseSet} returned from an alert related ZAP API call.
61-
* @since TODO add version
61+
* @since 1.1.0
6262
*/
6363
public Alert(ApiResponseSet apiResponseSet) {
6464
super();
@@ -195,7 +195,7 @@ private static Confidence stringToConfidence(String string) {
195195
* Gets the ID of the alert.
196196
*
197197
* @return the ID of the alert.
198-
* @since TODO add version
198+
* @since 1.1.0
199199
*/
200200
public String getId() {
201201
return id;
@@ -205,7 +205,7 @@ public String getId() {
205205
* Gets the ID of the plugin/scanner that raised the alert.
206206
*
207207
* @return the ID of the plugin/scanner that raised the alert.
208-
* @since TODO add version
208+
* @since 1.1.0
209209
*/
210210
public String getPluginId() {
211211
return pluginId;
@@ -215,7 +215,7 @@ public String getPluginId() {
215215
* Gets the ID of the HTTP message of the alert.
216216
*
217217
* @return the ID of the HTTP message.
218-
* @since TODO add version
218+
* @since 1.1.0
219219
*/
220220
public String getMessageId() {
221221
return messageId;
@@ -225,7 +225,7 @@ public String getMessageId() {
225225
* Gets the name of the alert.
226226
*
227227
* @return the name of the alert
228-
* @since TODO add version
228+
* @since 1.1.0
229229
*/
230230
public String getName() {
231231
return name;
@@ -235,7 +235,7 @@ public String getName() {
235235
* Sets the name of the alert.
236236
*
237237
* @param name the name of the alert
238-
* @since TODO add version
238+
* @since 1.1.0
239239
*/
240240
public void setName(String name) {
241241
this.name = name;
@@ -245,7 +245,7 @@ public void setName(String name) {
245245
* Gets the name of the alert.
246246
*
247247
* @return the name of the alert
248-
* @deprecated (TODO add version) Use {@link #getName()} instead.
248+
* @deprecated (1.1.0) Use {@link #getName()} instead.
249249
*/
250250
@Deprecated
251251
public String getAlert() {
@@ -255,7 +255,7 @@ public String getAlert() {
255255
* Sets the name of the alert.
256256
*
257257
* @param name the name of the alert
258-
* @deprecated (TODO add version) Use {@link #setName(String)} instead.
258+
* @deprecated (1.1.0) Use {@link #setName(String)} instead.
259259
*/
260260
@Deprecated
261261
public void setAlert(String name) {

subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/core/ApiResponseSet.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ApiResponseSet extends ApiResponse {
3636
*
3737
* @param name the name of the API response
3838
* @param attributes the attributes
39-
* @deprecated (TODO add version) Unused, there's no replacement.
39+
* @deprecated (1.1.0) Unused, there's no replacement.
4040
*/
4141
@Deprecated
4242
public ApiResponseSet(String name, String[] attributes) {
@@ -66,7 +66,7 @@ public ApiResponseSet(Node node) throws ClientApiException {
6666
* Gets the attributes.
6767
*
6868
* @return the attributes, might be {@code null}.
69-
* @deprecated (TODO add version) Unused, there's no replacement.
69+
* @deprecated (1.1.0) Unused, there's no replacement.
7070
* @see #getValues()
7171
*/
7272
@Deprecated
@@ -79,7 +79,7 @@ public String[] getAttributes() {
7979
*
8080
* @param key the key of the value
8181
* @return the value, or {@code null} if no value exists for the given {@code key}.
82-
* @deprecated (TODO add version) Use {@link #getStringValue(String)} or {@link #getValue(String)} instead.
82+
* @deprecated (1.1.0) Use {@link #getStringValue(String)} or {@link #getValue(String)} instead.
8383
*/
8484
@Deprecated
8585
public String getAttribute(String key) {
@@ -91,7 +91,7 @@ public String getAttribute(String key) {
9191
*
9292
* @param key the key of the value
9393
* @return the value, or {@code null} if no value exists for the given {@code key}.
94-
* @since TODO add version
94+
* @since 1.1.0
9595
* @see #getKeys()
9696
* @see #getStringValue(String)
9797
*/
@@ -107,7 +107,7 @@ public ApiResponse getValue(String key) {
107107
*
108108
* @param key the key of the value
109109
* @return the value, or {@code null} if no value exists for the given {@code key}.
110-
* @since TODO add version
110+
* @since 1.1.0
111111
* @see #getKeys()
112112
* @see #getValue(String)
113113
*/
@@ -126,7 +126,7 @@ public String getStringValue(String key) {
126126
* {@code UnsupportedOperationException}.
127127
*
128128
* @return the map with the keys/values, never {@code null}.
129-
* @since TODO add version
129+
* @since 1.1.0
130130
*/
131131
public Map<String, ApiResponse> getValuesMap() {
132132
return valuesMap;
@@ -139,7 +139,7 @@ public Map<String, ApiResponse> getValuesMap() {
139139
* {@code UnsupportedOperationException}.
140140
*
141141
* @return the keys, never {@code null}.
142-
* @since TODO add version
142+
* @since 1.1.0
143143
* @see #getValue(String)
144144
* @see #getStringValue(String)
145145
* @see #getValues()
@@ -156,7 +156,7 @@ public Set<String> getKeys() {
156156
* {@code UnsupportedOperationException}.
157157
*
158158
* @return the values, never {@code null}.
159-
* @since TODO add version
159+
* @since 1.1.0
160160
* @see #getValue(String)
161161
* @see #getStringValue(String)
162162
*/

subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/core/ClientApi.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public ClientApi (String zapAddress, int zapPort) {
125125
* @param zapAddress ZAP's address
126126
* @param zapPort ZAP's listening port
127127
* @param apiKey the ZAP API key, might be {@code null} or empty in which case is not used/sent.
128-
* @since TODO add version
128+
* @since 1.1.0
129129
*/
130130
public ClientApi(String zapAddress, int zapPort, String apiKey) {
131131
this(zapAddress, zapPort, apiKey, false);
@@ -144,7 +144,7 @@ public ClientApi (String zapAddress, int zapPort, boolean debug) {
144144
* @param zapPort ZAP's listening port
145145
* @param apiKey the ZAP API key, might be {@code null} or empty in which case is not used/sent.
146146
* @param debug {@code true} if debug information should be written to debug stream, {@code false} otherwise.
147-
* @since TODO add version
147+
* @since 1.1.0
148148
*/
149149
public ClientApi(String zapAddress, int zapPort, String apiKey, boolean debug) {
150150
proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(zapAddress, zapPort));
@@ -423,7 +423,7 @@ private static String encodeQueryParam(String param) {
423423
* @param contextName the name of the context.
424424
* @param regex the regular expression to add.
425425
* @throws Exception if an error occurred while calling the API.
426-
* @deprecated (TODO add version) Use {@link Context#excludeFromContext(String, String)} instead.
426+
* @deprecated (1.1.0) Use {@link Context#excludeFromContext(String, String)} instead.
427427
* @see #context
428428
*/
429429
@Deprecated
@@ -438,7 +438,7 @@ public void addExcludeFromContext(String apikey, String contextName, String rege
438438
* @param contextName the name of the context.
439439
* @param regex the regular expression to add.
440440
* @throws Exception if an error occurred while calling the API.
441-
* @deprecated (TODO add version) Use {@link Context#includeInContext(String, String)} instead.
441+
* @deprecated (1.1.0) Use {@link Context#includeInContext(String, String)} instead.
442442
* @see #context
443443
*/
444444
@Deprecated
@@ -455,7 +455,7 @@ public void addIncludeInContext(String apikey, String contextName, String regex)
455455
* @param contextName the name of the context.
456456
* @param regex the regular expression to match the node/URL.
457457
* @throws Exception if an error occurred while calling the API.
458-
* @deprecated (TODO add version) Use {@link #includeOneMatchingNodeInContext(String, String)} instead.
458+
* @deprecated (1.1.0) Use {@link #includeOneMatchingNodeInContext(String, String)} instead.
459459
*/
460460
@Deprecated
461461
public void includeOneMatchingNodeInContext(String apikey, String contextName, String regex) throws Exception {
@@ -524,7 +524,7 @@ private List<String> getSessionUrls() throws Exception {
524524
* @param apikey the API key, might be {@code null}.
525525
* @param url the site to scan
526526
* @throws Exception if an error occurred while calling the API.
527-
* @deprecated (TODO add version) Use {@link #activeScanSiteInScope(String)} instead, the API key should be set using one of
527+
* @deprecated (1.1.0) Use {@link #activeScanSiteInScope(String)} instead, the API key should be set using one of
528528
* the {@code ClientApi} constructors.
529529
*/
530530
@Deprecated
@@ -540,7 +540,7 @@ public void activeScanSiteInScope(String apikey, String url) throws Exception {
540540
*
541541
* @param url the site to scan
542542
* @throws Exception if an error occurred while calling the API.
543-
* @since TODO add version
543+
* @since 1.1.0
544544
*/
545545
public void activeScanSiteInScope(String url) throws Exception {
546546
ascan.scan(url, "true", "true", "", "", "");

subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/gen/deprecated/AcsrfDeprecated.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public AcsrfDeprecated(ClientApi api) {
3939
}
4040

4141
/**
42-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
42+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
4343
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
4444
*/
4545
@Deprecated
@@ -53,7 +53,7 @@ public ApiResponse addOptionToken(String apikey, String string) throws ClientApi
5353
}
5454

5555
/**
56-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
56+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
5757
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
5858
*/
5959
@Deprecated
@@ -67,7 +67,7 @@ public ApiResponse removeOptionToken(String apikey, String string) throws Client
6767
}
6868

6969
/**
70-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
70+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
7171
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
7272
*/
7373
@Deprecated

subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/gen/deprecated/AjaxSpiderDeprecated.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public AjaxSpiderDeprecated(ClientApi api) {
4141
/**
4242
* This component is optional and therefore the API will only work if it is installed.
4343
*
44-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
44+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
4545
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
4646
*/
4747
@Deprecated
@@ -62,7 +62,7 @@ public ApiResponse scan(String apikey, String url, String inscope) throws Client
6262
/**
6363
* This component is optional and therefore the API will only work if it is installed
6464
*
65-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
65+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
6666
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
6767
*/
6868
@Deprecated
@@ -77,7 +77,7 @@ public ApiResponse stop(String apikey) throws ClientApiException {
7777
/**
7878
* This component is optional and therefore the API will only work if it is installed
7979
*
80-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
80+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
8181
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
8282
*/
8383
@Deprecated
@@ -93,7 +93,7 @@ public ApiResponse setOptionBrowserId(String apikey, String string) throws Clien
9393
/**
9494
* This component is optional and therefore the API will only work if it is installed
9595
*
96-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
96+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
9797
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
9898
*/
9999
@Deprecated
@@ -109,7 +109,7 @@ public ApiResponse setOptionClickDefaultElems(String apikey, boolean bool) throw
109109
/**
110110
* This component is optional and therefore the API will only work if it is installed
111111
*
112-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
112+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
113113
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
114114
*/
115115
@Deprecated
@@ -125,7 +125,7 @@ public ApiResponse setOptionClickElemsOnce(String apikey, boolean bool) throws C
125125
/**
126126
* This component is optional and therefore the API will only work if it is installed
127127
*
128-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
128+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
129129
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
130130
*/
131131
@Deprecated
@@ -141,7 +141,7 @@ public ApiResponse setOptionEventWait(String apikey, int i) throws ClientApiExce
141141
/**
142142
* This component is optional and therefore the API will only work if it is installed
143143
*
144-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
144+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
145145
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
146146
*/
147147
@Deprecated
@@ -157,7 +157,7 @@ public ApiResponse setOptionMaxCrawlDepth(String apikey, int i) throws ClientApi
157157
/**
158158
* This component is optional and therefore the API will only work if it is installed
159159
*
160-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
160+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
161161
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
162162
*/
163163
@Deprecated
@@ -173,7 +173,7 @@ public ApiResponse setOptionMaxCrawlStates(String apikey, int i) throws ClientAp
173173
/**
174174
* This component is optional and therefore the API will only work if it is installed
175175
*
176-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
176+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
177177
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
178178
*/
179179
@Deprecated
@@ -189,7 +189,7 @@ public ApiResponse setOptionMaxDuration(String apikey, int i) throws ClientApiEx
189189
/**
190190
* This component is optional and therefore the API will only work if it is installed
191191
*
192-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
192+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
193193
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
194194
*/
195195
@Deprecated
@@ -205,7 +205,7 @@ public ApiResponse setOptionNumberOfBrowsers(String apikey, int i) throws Client
205205
/**
206206
* This component is optional and therefore the API will only work if it is installed
207207
*
208-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
208+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
209209
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
210210
*/
211211
@Deprecated
@@ -221,7 +221,7 @@ public ApiResponse setOptionRandomInputs(String apikey, boolean bool) throws Cli
221221
/**
222222
* This component is optional and therefore the API will only work if it is installed
223223
*
224-
* @deprecated (TODO add version) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
224+
* @deprecated (1.1.0) Use the method without the API key and use one of the {@code ClientApi} constructors that allow to
225225
* set the API key (e.g. {@link ClientApi#ClientApi(String, int, String)}).
226226
*/
227227
@Deprecated

0 commit comments

Comments
 (0)