Skip to content

Remove unnecessary requires_usage and deprecated_allow_duplicates #29642

Merged
honeybadgerdontcare merged 2 commits intoampproject:masterfrom
honeybadgerdontcare:ampemail-duplicate-requires-usage
Aug 4, 2020
Merged

Remove unnecessary requires_usage and deprecated_allow_duplicates #29642
honeybadgerdontcare merged 2 commits intoampproject:masterfrom
honeybadgerdontcare:ampemail-duplicate-requires-usage

Conversation

@honeybadgerdontcare
Copy link
Copy Markdown
Contributor

In #24854 the validation for the AMP Email format script tags was separated from other AMP formats. This allowed for the removing support of version: latest and explicitly required a numerical version.

As a result of this separation from other HTML formats, it is not necessary to include requires_usage: EXEMPT or deprecated_allow_duplicates: true as part of the AMP Email format. Those were included to support the AMP format.

Fix #25249

@amp-owners-bot
Copy link
Copy Markdown

amp-owners-bot bot commented Aug 3, 2020

Hey @ampproject/wg-caching! These files were changed:

validator/testdata/amp4email_feature_tests/no_latest_extensions.out

@honeybadgerdontcare honeybadgerdontcare merged commit 69e8082 into ampproject:master Aug 4, 2020
@honeybadgerdontcare honeybadgerdontcare deleted the ampemail-duplicate-requires-usage branch August 4, 2020 02:20
twifkak added a commit to twifkak/amphtml that referenced this pull request Aug 5, 2020
@twifkak twifkak mentioned this pull request Aug 5, 2020
twifkak added a commit that referenced this pull request Aug 5, 2020
* cl/323700659 Revision bump for #29329
* cl/323797874 Revision bump for #29542
* cl/323858009 Revision bump for #29409
* cl/323889989 n/a
* cl/324641097 Implements document level byte count limitation.
* cl/324911894 Remove AMP Actions from Validator
* cl/324915915 Revision bump for #29642

Co-authored-by: Greg Grothaus <greggrothaus@google.com>
Co-authored-by: Amaltas Bohra <amaltas@google.com>
Co-authored-by: honeybadgerdontcare <sedano@google.com>
@zhangsu
Copy link
Copy Markdown
Member

zhangsu commented Aug 11, 2020

This broke many AMP email senders as many were actually relying on this grandfathered behavior.

In the future, please tag @ampproject/wg-amp4email before making changes to AMP for Email spec so we can take a look before the change happens, thanks.

@zhangsu
Copy link
Copy Markdown
Member

zhangsu commented Aug 11, 2020

Sorry, I see that the WG is mentioned in #25249, but unfortunately we (Gmail) weren't included in that group back then... Should be good to go going forward.

ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
…pproject#29642)

* Remove unnecessary requires_usage and deprecated_allow_duplicates for AMP4EMAIL

* Update test .out file
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
* cl/323700659 Revision bump for ampproject#29329
* cl/323797874 Revision bump for ampproject#29542
* cl/323858009 Revision bump for ampproject#29409
* cl/323889989 n/a
* cl/324641097 Implements document level byte count limitation.
* cl/324911894 Remove AMP Actions from Validator
* cl/324915915 Revision bump for ampproject#29642

Co-authored-by: Greg Grothaus <greggrothaus@google.com>
Co-authored-by: Amaltas Bohra <amaltas@google.com>
Co-authored-by: honeybadgerdontcare <sedano@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intent-to-Deprecate-and-Remove: "duplicate" and "requires usage" in AMP Email format validation

4 participants