Skip to content

Commit

Permalink
Temporarily withdraw image/avif from MediaType.
Browse files Browse the repository at this point in the history
There is nothing wrong with it, and we will add it in version 33.5.0. I'm removing it merely so that we can release a [module-system-friendly](#2970) version of Guava as a _patch_ release, rather than as a _minor_ release. (The `MediaType` change is the only addition we've made since 33.4.0.) By doing so, we reduce the pressure on users to upgrade immediately, since dependencies can't come to depend on any new APIs. That gives users a little more time to sort out any issues that might arise from our new `module-info`.

RELNOTES=n/a
PiperOrigin-RevId: 728267849
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Feb 18, 2025
1 parent 7d7cc7d commit 7ec362e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions android/guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ private static MediaType addKnownType(MediaType mediaType) {
public static final MediaType SVG_UTF_8 = createConstantUtf8(IMAGE_TYPE, "svg+xml");
public static final MediaType TIFF = createConstant(IMAGE_TYPE, "tiff");

/** <a href="https://en.wikipedia.org/wiki/AVIF">AVIF image format</a>. */
public static final MediaType AVIF = createConstant(IMAGE_TYPE, "avif");

/**
* <a href="https://en.wikipedia.org/wiki/WebP">WebP image format</a>.
*
Expand Down
3 changes: 0 additions & 3 deletions guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ private static MediaType addKnownType(MediaType mediaType) {
public static final MediaType SVG_UTF_8 = createConstantUtf8(IMAGE_TYPE, "svg+xml");
public static final MediaType TIFF = createConstant(IMAGE_TYPE, "tiff");

/** <a href="https://en.wikipedia.org/wiki/AVIF">AVIF image format</a>. */
public static final MediaType AVIF = createConstant(IMAGE_TYPE, "avif");

/**
* <a href="https://en.wikipedia.org/wiki/WebP">WebP image format</a>.
*
Expand Down

0 comments on commit 7ec362e

Please sign in to comment.