Skip to content

Commit

Permalink
Merge branch 'jonsneyers-patch-1'
Browse files Browse the repository at this point in the history
* jonsneyers-patch-1:
  Clarify support for provisional types like jxl
  Add JPEG XL (image/jxl)
  • Loading branch information
halostatue committed Nov 15, 2021
2 parents c2b7cf7 + 8b76167 commit 1876f76
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
16 changes: 11 additions & 5 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,17 @@ $ rake mime:apache
##### A Note on Provisional Types

The file `types/provisional-standard-types.yaml` contains the provisionally
registered types from IANA. Whenever IANA types are updated, the existing
provisional types should be reviewed in the event that they have been promoted
to standard types.
registered types from IANA. Per IANA,

It is recommended that customization _not_ be made to provisional types; the
provisional types file is rewritten on update.
> This registry, unlike some other provisional IANA registries, is only for
> temporary use. Entries in this registry are either finalized and moved to the
> main media types registry or are abandoned and deleted. Entries in this
> registry are suitable for use for development and test purposes only.
The provisional types file is rewritten when updated, so pull requests to
manually promote or customize provisional types (such as with extensions). It is
recommended that any updates required to the data be performed in your
application if you require provisional types.

### Development Dependencies

Expand Down Expand Up @@ -208,6 +213,7 @@ Thanks to everyone else who has contributed to mime-types:
- Henrik Hodne
- Jeremy Evans
- John Gardner
- Jon Sneyers
- Jonas Petersen
- Juanito Fatas
- Keerthi Siva
Expand Down
4 changes: 3 additions & 1 deletion History.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
have been ported from the [mini_mime] repository. [#47]

- Added IANA provisional media registries. Added some notes to Contributing.md
about the transient nature of the provisional registration data. [#45]
about the transient nature of the provisional registration data. This was
triggered in part by a pull request by Jon Sneyers. Thanks! [#45], [#43]

## 3.2021.0901 / 2021-09-01

Expand Down Expand Up @@ -484,6 +485,7 @@
[#35]: https://github.com/mime-types/mime-types-data/pull/35
[#36]: https://github.com/mime-types/mime-types-data/pull/36
[#40]: https://github.com/mime-types/mime-types-data/pull/40
[#43]: https://github.com/mime-types/mime-types-data/pull/43
[#45]: https://github.com/mime-types/mime-types-data/pull/45
[#46]: https://github.com/mime-types/mime-types-data/pull/46
[#47]: https://github.com/mime-types/mime-types-data/pull/47
Expand Down
2 changes: 2 additions & 0 deletions types/provisional-standard-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
- !ruby/object:MIME::Type
content-type: image/jxl
encoding: base64
extensions:
- jxl
xrefs:
person:
- Touradj_Ebrahimi
Expand Down

0 comments on commit 1876f76

Please sign in to comment.