Skip to content

Commit c9df2ef

Browse files
authored
June update (#194)
1 parent 74e0953 commit c9df2ef

File tree

3 files changed

+42
-22
lines changed

3 files changed

+42
-22
lines changed

Changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## AMP HTML Validator 1.0.39
4+
- upgrade com.fasterxml.jackson from 2.14.2 to 2.15.2
5+
- upgrade dom4j from 2.1.3 to 2.1.4
6+
- upgrade junit-jupiter-api from 5.9.1 to 5.9.3
7+
- upgrade maven-assembly-plugin from 3.4.2 to 3.6.0
8+
- upgrade maven-compiler-plugin from 3.10.1 to 3.11.0
9+
- upgrade maven-enforcer-plugin from 3.1.0 to 3.3.0
10+
- upgrade maven-javadoc-plugin from 3.4.1 to 3.5.0
11+
- upgrade maven-pmd-plugin from 3.19.0 to 3.21.0
12+
- upgrade maven-resources-plugin from 3.3.0 to 3.3.1
13+
- upgrade maven-scm-plugin from 1.13.0 to 2.0.1
14+
- upgrade mockito-core from 4.11.0 to 5.4.0
15+
- sync validator-all.protoascii with amphtml (2023.06.28)
16+
317
## AMP HTML Validator 1.0.38
418
- upgrade cssparser from 0.9.29 to 0.9.30
519
- upgrade com.fasterxml.jackson from 2.14.1 to 2.14.2

pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>dev.amp</groupId>
88
<artifactId>validator-java</artifactId>
99
<name>AMP validator Java API</name>
10-
<version>1.0.38</version>
10+
<version>1.0.39</version>
1111
<description>A Java validator for the AMP Html format.</description>
1212
<packaging>jar</packaging>
1313
<url>https://github.com/ampproject/validator-java</url>
@@ -62,7 +62,7 @@
6262
<maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
6363
<maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version>
6464
<maven-shade-plugin.version>2.4.2</maven-shade-plugin.version>
65-
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
65+
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
6666
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
6767
<spotbugs-maven-plugin.version>4.7.3.3</spotbugs-maven-plugin.version>
6868
<com.github.spotbugs.version>4.7.3</com.github.spotbugs.version>
@@ -77,7 +77,7 @@
7777
<checkstyle.maxAllowedViolations>10</checkstyle.maxAllowedViolations>
7878

7979
<com.puppycrawl.checkstyle.version>10.9.3</com.puppycrawl.checkstyle.version>
80-
<fasterxml.jackson.version>2.14.2</fasterxml.jackson.version>
80+
<fasterxml.jackson.version>2.15.2</fasterxml.jackson.version>
8181
</properties>
8282

8383
<repositories>
@@ -258,17 +258,17 @@
258258
<plugin>
259259
<groupId>org.apache.maven.plugins</groupId>
260260
<artifactId>maven-resources-plugin</artifactId>
261-
<version>3.3.0</version>
261+
<version>3.3.1</version>
262262
</plugin>
263263
<plugin>
264264
<groupId>org.apache.maven.plugins</groupId>
265265
<artifactId>maven-assembly-plugin</artifactId>
266-
<version>3.4.2</version>
266+
<version>3.6.0</version>
267267
</plugin>
268268
<plugin>
269269
<groupId>org.apache.maven.plugins</groupId>
270270
<artifactId>maven-scm-plugin</artifactId>
271-
<version>1.13.0</version>
271+
<version>2.0.1</version>
272272
<inherited>false</inherited>
273273
</plugin>
274274
<plugin>
@@ -304,7 +304,7 @@
304304
<plugin>
305305
<groupId>org.apache.maven.plugins</groupId>
306306
<artifactId>maven-enforcer-plugin</artifactId>
307-
<version>3.1.0</version>
307+
<version>3.3.0</version>
308308
<executions>
309309
<execution>
310310
<id>enforce</id>
@@ -342,7 +342,7 @@
342342
<dependency>
343343
<groupId>org.dom4j</groupId>
344344
<artifactId>dom4j</artifactId>
345-
<version>2.1.3</version>
345+
<version>2.1.4</version>
346346
</dependency>
347347
</dependencies>
348348
<!-- https://spotbugs.github.io/
@@ -380,7 +380,7 @@
380380
<plugin>
381381
<groupId>org.apache.maven.plugins</groupId>
382382
<artifactId>maven-pmd-plugin</artifactId>
383-
<version>3.19.0</version>
383+
<version>3.21.0</version>
384384
<configuration>
385385
<skip>false</skip>
386386
<failOnViolation>true</failOnViolation>
@@ -492,7 +492,7 @@
492492
<plugin>
493493
<groupId>org.apache.maven.plugins</groupId>
494494
<artifactId>maven-compiler-plugin</artifactId>
495-
<version>3.10.1</version>
495+
<version>3.11.0</version>
496496
<configuration>
497497
<fork>true</fork>
498498
<meminitial>128m</meminitial>
@@ -683,13 +683,13 @@
683683
<dependency>
684684
<groupId>org.junit.jupiter</groupId>
685685
<artifactId>junit-jupiter-api</artifactId>
686-
<version>5.9.1</version>
686+
<version>5.9.3</version>
687687
<scope>test</scope>
688688
</dependency>
689689
<dependency>
690690
<groupId>org.mockito</groupId>
691691
<artifactId>mockito-core</artifactId>
692-
<version>4.11.0</version>
692+
<version>5.4.0</version>
693693
<scope>test</scope>
694694
</dependency>
695695
</dependencies>

src/main/resources/validator-all.protoascii

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ tags: {
330330
mandatory: true
331331
value: "https://cdn.ampproject.org/v0/amp-story-1.0.css"
332332
value: "https://cdn.ampproject.org/lts/v0/amp-story-1.0.css"
333+
value: "https://ampjs.org/v0/amp-story-1.0.css"
334+
value: "https://ampjs.org/lts/v0/amp-story-1.0.css"
333335
}
334336
attrs: { name: "integrity" } # SRI attribute (https://www.w3.org/TR/SRI/)
335337
attrs: { name: "media" }
@@ -3345,7 +3347,7 @@ tags: {
33453347
name: "src"
33463348
mandatory: true
33473349
value: "https://cdn.ampproject.org/v0.js"
3348-
dispatch_key: NAME_VALUE_DISPATCH
3350+
value: "https://ampjs.org/v0.js"
33493351
}
33503352
cdata: {
33513353
disallowed_cdata_regex: {
@@ -3372,6 +3374,7 @@ tags: {
33723374
name: "src"
33733375
mandatory: true
33743376
value: "https://cdn.ampproject.org/v0.js"
3377+
value: "https://ampjs.org/v0.js"
33753378
dispatch_key: NAME_VALUE_DISPATCH
33763379
}
33773380
cdata: {
@@ -3399,6 +3402,7 @@ tags: {
33993402
name: "src"
34003403
mandatory: true
34013404
value: "https://cdn.ampproject.org/lts/v0.js"
3405+
value: "https://ampjs.org/lts/v0.js"
34023406
dispatch_key: NAME_VALUE_DISPATCH
34033407
}
34043408
cdata: {
@@ -3426,6 +3430,7 @@ tags: {
34263430
name: "src"
34273431
mandatory: true
34283432
value: "https://cdn.ampproject.org/lts/v0.js"
3433+
value: "https://ampjs.org/lts/v0.js"
34293434
dispatch_key: NAME_VALUE_DISPATCH
34303435
}
34313436
cdata: {
@@ -3503,6 +3508,7 @@ tags: {
35033508
name: "src"
35043509
mandatory: true
35053510
value: "https://cdn.ampproject.org/lts/v0.mjs"
3511+
value: "https://ampjs.org/lts/v0.mjs"
35063512
dispatch_key: NAME_VALUE_DISPATCH
35073513
}
35083514
cdata: {
@@ -3528,6 +3534,7 @@ tags: {
35283534
name: "src"
35293535
mandatory: true
35303536
value: "https://cdn.ampproject.org/lts/v0.js"
3537+
value: "https://ampjs.org/lts/v0.js"
35313538
dispatch_key: NAME_VALUE_DISPATCH
35323539
}
35333540
cdata: {
@@ -6815,7 +6822,7 @@ css {
68156822
css {
68166823
html_format: AMP4EMAIL
68176824
disabled_by: "data-css-strict"
6818-
spec_url: "https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css"
6825+
spec_url: "https://amp.dev/documentation/guides-and-tutorials/email/learn/email-spec/amp-email-css"
68196826

68206827
# Due to a bug, we allowed unlimited doc-level bytes for CSS in AMP4EMAIL
68216828
# formats. To avoid breaking emails, this is temporarily set to a warning but
@@ -6825,7 +6832,7 @@ css {
68256832
max_bytes_per_inline_style: 1000
68266833

68276834
max_bytes_spec_url:
6828-
"https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#maximum-size"
6835+
"https://amp.dev/documentation/guides-and-tutorials/email/learn/spec/amphtml#maximum-size"
68296836
url_bytes_included: true
68306837

68316838
allow_all_declaration_in_style: true
@@ -6842,15 +6849,14 @@ css {
68426849
css {
68436850
html_format: AMP4EMAIL
68446851
enabled_by: "data-css-strict"
6845-
spec_url: "https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css"
6852+
spec_url: "https://amp.dev/documentation/guides-and-tutorials/email/learn/email-spec/amp-email-css"
68466853

68476854
max_bytes_is_warning: false
68486855
max_bytes: 75000
68496856
max_bytes_per_inline_style: 1000
68506857

6851-
# TODO(b/162314127): add maximum size documentation to the email spec
68526858
max_bytes_spec_url:
6853-
"https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#maximum-size"
6859+
"https://amp.dev/documentation/guides-and-tutorials/email/learn/spec/amphtml#maximum-size"
68546860
url_bytes_included: true
68556861

68566862
allow_all_declaration_in_style: false
@@ -7113,7 +7119,7 @@ tags: { # <style amp-custom>, AMP4EMAIL, not data-css-strict
71137119
doc_css_bytes: true
71147120
max_bytes: 75000
71157121
max_bytes_spec_url:
7116-
"https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#maximum-size"
7122+
"https://amp.dev/documentation/guides-and-tutorials/email/learn/spec/amphtml#maximum-size"
71177123

71187124
css_spec: {
71197125
at_rule_spec: {
@@ -7149,7 +7155,7 @@ tags: { # <style amp-custom>, AMP4EMAIL, not data-css-strict
71497155
error_message: "CSS i-amphtml- name prefix"
71507156
}
71517157
}
7152-
spec_url: "https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css"
7158+
spec_url: "https://amp.dev/documentation/guides-and-tutorials/email/learn/email-spec/amp-email-css"
71537159
}
71547160

71557161
tags: { # <style amp-custom>, AMP4EMAIL, data-css-strict
@@ -7178,7 +7184,7 @@ tags: { # <style amp-custom>, AMP4EMAIL, data-css-strict
71787184
doc_css_bytes: true
71797185
max_bytes: 75000
71807186
max_bytes_spec_url:
7181-
"https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/#maximum-size"
7187+
"https://amp.dev/documentation/guides-and-tutorials/email/learn/spec/amphtml#maximum-size"
71827188

71837189
css_spec: {
71847190
at_rule_spec: {
@@ -7282,7 +7288,7 @@ tags: { # <style amp-custom>, AMP4EMAIL, data-css-strict
72827288
error_message: "CSS i-amphtml- name prefix"
72837289
}
72847290
}
7285-
spec_url: "https://amp.dev/documentation/guides-and-tutorials/learn/email-spec/amp-email-css"
7291+
spec_url: "https://amp.dev/documentation/guides-and-tutorials/email/learn/email-spec/amp-email-css"
72867292
}
72877293

72887294
tags: { # `<style amp-boilerplate>`, [AMP]

0 commit comments

Comments
 (0)