Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-mime-types for openSUSE:Factory 
checked in at 2026-06-10 16:03:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-mime-types (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-mime-types.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-mime-types"

Wed Jun 10 16:03:58 2026 rev:16 rq:1358409 version:0.1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-mime-types/ghc-mime-types.changes    
2023-10-18 21:26:14.089841779 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-mime-types.new.2375/ghc-mime-types.changes  
2026-06-10 16:06:38.058237431 +0200
@@ -1,0 +2,16 @@
+Wed Feb 25 11:16:02 UTC 2026 - Peter Simons <[email protected]>
+
+- Update mime-types to version 0.1.2.2.
+  ## 0.1.2.2
+
+  * Add IANA registered `image/avif` type for `.avif` images. 
[#1059](https://github.com/yesodweb/wai/pull/1059)
+
+-------------------------------------------------------------------
+Fri Jan  2 15:52:16 UTC 2026 - Peter Simons <[email protected]>
+
+- Update mime-types to version 0.1.2.1.
+  ## 0.1.2.1
+
+  * Change type for JavaScript files to `text/javascript` 
[#1051](https://github.com/yesodweb/wai/pull/1051)
+
+-------------------------------------------------------------------

Old:
----
  mime-types-0.1.2.0.tar.gz

New:
----
  mime-types-0.1.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-mime-types.spec ++++++
--- /var/tmp/diff_new_pack.yVznWU/_old  2026-06-10 16:06:41.490379660 +0200
+++ /var/tmp/diff_new_pack.yVznWU/_new  2026-06-10 16:06:41.490379660 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-mime-types
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name mime-types
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.1.2.0
+Version:        0.1.2.2
 Release:        0
 Summary:        Basic mime-type handling types and functions
 License:        MIT

++++++ mime-types-0.1.2.0.tar.gz -> mime-types-0.1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mime-types-0.1.2.0/ChangeLog.md 
new/mime-types-0.1.2.2/ChangeLog.md
--- old/mime-types-0.1.2.0/ChangeLog.md 2023-10-18 04:09:01.000000000 +0200
+++ new/mime-types-0.1.2.2/ChangeLog.md 2026-02-25 11:12:31.000000000 +0100
@@ -1,3 +1,11 @@
+## 0.1.2.2
+
+* Add IANA registered `image/avif` type for `.avif` images. 
[#1059](https://github.com/yesodweb/wai/pull/1059)
+
+## 0.1.2.1
+
+* Change type for JavaScript files to `text/javascript` 
[#1051](https://github.com/yesodweb/wai/pull/1051)
+
 ## 0.1.2.0
 
 * Added `defaultExtensionMap` to provide the inverse of `defaultMimeMap`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mime-types-0.1.2.0/Network/Mime.hs 
new/mime-types-0.1.2.2/Network/Mime.hs
--- old/mime-types-0.1.2.0/Network/Mime.hs      2023-10-18 04:09:01.000000000 
+0200
+++ new/mime-types-0.1.2.2/Network/Mime.hs      2026-02-25 11:12:31.000000000 
+0100
@@ -1,28 +1,32 @@
 {-# LANGUAGE OverloadedStrings #-}
-module Network.Mime
-    ( -- * Lookups
-      mimeByExt
-    , defaultMimeLookup
-      -- * Defaults
-    , defaultMimeType
-    , defaultMimeMap
-    , defaultExtensionMap
-      -- * Utilities
-    , fileNameExtensions
-      -- * Types
-    , FileName
-    , MimeType
-    , MimeMap
-    , Extension
-    , ExtensionMap
-    ) where
 
-import qualified Data.List as L
-import Data.Text (Text)
-import qualified Data.Text as T
+module Network.Mime (
+    -- * Lookups
+    mimeByExt,
+    defaultMimeLookup,
+
+    -- * Defaults
+    defaultMimeType,
+    defaultMimeMap,
+    defaultExtensionMap,
+
+    -- * Utilities
+    fileNameExtensions,
+
+    -- * Types
+    FileName,
+    MimeType,
+    MimeMap,
+    Extension,
+    ExtensionMap,
+) where
+
 import Data.ByteString (ByteString)
 import Data.ByteString.Char8 ()
+import qualified Data.List as L
 import qualified Data.Map as Map
+import Data.Text (Text)
+import qualified Data.Text as T
 
 -- | Maps extensions to mime types.
 type MimeMap = Map.Map Extension MimeType
@@ -41,15 +45,17 @@
 type MimeType = ByteString
 
 -- | Look up a mime type from the given mime map and default mime type.
-mimeByExt :: MimeMap
-          -> MimeType -- ^ default mime type
-          -> FileName
-          -> MimeType
+mimeByExt
+    :: MimeMap
+    -> MimeType
+    -- ^ default mime type
+    -> FileName
+    -> MimeType
 mimeByExt mm def =
     go . fileNameExtensions
   where
     go [] = def
-    go (e:es) =
+    go (e : es) =
         case Map.lookup e mm of
             Nothing -> go es
             Just mt -> mt
@@ -96,6 +102,8 @@
     go (ext, mimeType) =
         Map.alter (Just . maybe [ext] (ext :)) mimeType
 
+-- | Find the current table in IANA media-types registry
+-- https://www.iana.org/assignments/media-types/media-types.xhtml
 mimeAscList :: [(Extension, MimeType)]
 mimeAscList =
     [ ("123", "application/vnd.lotus-1-2-3")
@@ -144,6 +152,7 @@
     , ("atx", "application/vnd.antix.game-component")
     , ("au", "audio/basic")
     , ("avi", "video/x-msvideo")
+    , ("avif", "image/avif")
     , ("aw", "application/applixware")
     , ("azf", "application/vnd.airzip.filesecure.azf")
     , ("azs", "application/vnd.airzip.filesecure.azs")
@@ -274,10 +283,16 @@
     , ("dna", "application/vnd.dna")
     , ("doc", "application/msword")
     , ("docm", "application/vnd.ms-word.document.macroenabled.12")
-    , ("docx", 
"application/vnd.openxmlformats-officedocument.wordprocessingml.document")
+    ,
+        ( "docx"
+        , 
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
+        )
     , ("dot", "application/msword")
     , ("dotm", "application/vnd.ms-word.template.macroenabled.12")
-    , ("dotx", 
"application/vnd.openxmlformats-officedocument.wordprocessingml.template")
+    ,
+        ( "dotx"
+        , 
"application/vnd.openxmlformats-officedocument.wordprocessingml.template"
+        )
     , ("dp", "application/vnd.osgi.dp")
     , ("dpg", "application/vnd.dpgraph")
     , ("dra", "audio/vnd.dra")
@@ -468,7 +483,7 @@
     , ("jpgm", "video/jpm")
     , ("jpgv", "video/jpeg")
     , ("jpm", "video/jpm")
-    , ("js", "application/javascript")
+    , ("js", "text/javascript")
     , ("json", "application/json")
     , ("jsonml", "application/jsonml+json")
     , ("kar", "audio/midi")
@@ -494,11 +509,9 @@
     , ("lbd", "application/vnd.llamagraphics.life-balance.desktop")
     , ("lbe", "application/vnd.llamagraphics.life-balance.exchange+xml")
     , ("les", "application/vnd.hhe.lesson-player")
-
-    -- Added after deliberation in PR 
(https://github.com/yesodweb/wai/pull/534)
-    -- Accepted mainly because of StackOverflow 
(http://stackoverflow.com/questions/7319555/how-to-add-less-to-iis-7-0)
-    , ("less", "text/css")
-
+    , -- Added after deliberation in PR 
(https://github.com/yesodweb/wai/pull/534)
+      -- Accepted mainly because of StackOverflow 
(http://stackoverflow.com/questions/7319555/how-to-add-less-to-iis-7-0)
+      ("less", "text/css")
     , ("lha", "application/x-lzh-compressed")
     , ("link66", "application/vnd.route66.link66+xml")
     , ("list", "text/plain")
@@ -560,7 +573,7 @@
     , ("mime", "message/rfc822")
     , ("mj2", "video/mj2")
     , ("mjp2", "video/mj2")
-    , ("mjs", "application/javascript")
+    , ("mjs", "text/javascript")
     , ("mk3d", "video/x-matroska")
     , ("mka", "audio/x-matroska")
     , ("mks", "video/x-matroska")
@@ -729,16 +742,25 @@
     , ("portpkg", "application/vnd.macports.portpkg")
     , ("pot", "application/vnd.ms-powerpoint")
     , ("potm", "application/vnd.ms-powerpoint.template.macroenabled.12")
-    , ("potx", 
"application/vnd.openxmlformats-officedocument.presentationml.template")
+    ,
+        ( "potx"
+        , 
"application/vnd.openxmlformats-officedocument.presentationml.template"
+        )
     , ("ppam", "application/vnd.ms-powerpoint.addin.macroenabled.12")
     , ("ppd", "application/vnd.cups-ppd")
     , ("ppm", "image/x-portable-pixmap")
     , ("pps", "application/vnd.ms-powerpoint")
     , ("ppsm", "application/vnd.ms-powerpoint.slideshow.macroenabled.12")
-    , ("ppsx", 
"application/vnd.openxmlformats-officedocument.presentationml.slideshow")
+    ,
+        ( "ppsx"
+        , 
"application/vnd.openxmlformats-officedocument.presentationml.slideshow"
+        )
     , ("ppt", "application/vnd.ms-powerpoint")
     , ("pptm", "application/vnd.ms-powerpoint.presentation.macroenabled.12")
-    , ("pptx", 
"application/vnd.openxmlformats-officedocument.presentationml.presentation")
+    ,
+        ( "pptx"
+        , 
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
+        )
     , ("pqa", "application/vnd.palm")
     , ("prc", "application/x-mobipocket-ebook")
     , ("pre", "application/vnd.lotus-freelance")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mime-types-0.1.2.0/mime-types.cabal 
new/mime-types-0.1.2.2/mime-types.cabal
--- old/mime-types-0.1.2.0/mime-types.cabal     2023-10-18 04:09:01.000000000 
+0200
+++ new/mime-types-0.1.2.2/mime-types.cabal     2026-02-25 11:13:05.000000000 
+0100
@@ -1,5 +1,5 @@
 name:                mime-types
-version:             0.1.2.0
+version:             0.1.2.2
 synopsis:            Basic mime-type handling types and functions
 description:         API docs and the README are available at 
<http://www.stackage.org/package/mime-types>.
 homepage:            https://github.com/yesodweb/wai
@@ -22,4 +22,5 @@
 
 source-repository head
   type:     git
-  location: git://github.com/yesodweb/wai.git
+  location: https://github.com/yesodweb/wai.git
+  subdir:   mime-types

Reply via email to