# raylib 4.2.0 — raylib v4.2.0 - Product: raylib (https://whatsnew.fyi/product/raylib) - Vendor: raysan5 - Date: 2022-08-13 - Version: 4.2.0 - Original notes: https://github.com/raysan5/raylib/releases/tag/4.2.0 - Permalink: https://whatsnew.fyi/product/raylib/releases/4.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **removed** — Remove extra libraries (raygui, physac, rmem, reasings, and raudio standalone mode) from raylib repository and move them to separate repositories - **added** — Add 20 new functions to raylib API - **changed** — Review and redesign 60 existing functions - **added** — Add LoadDirectoryFiles() and LoadDirectoryFilesEx() functions to load FilePathList for a provided path with extension filtering and recursive directory scan support - **changed** — Rename LoadDroppedFiles() to better reflect its internal functionality - **changed** — Redesign file system API to be more comprehensive and aligned with raylib naming conventions - **changed** — Review and update over 120 raylib examples with clarity information about when they were created and last updated - **added** — Add difficulty level classification (1 to 4 stars) to all raylib examples - **added** — Add 7 new examples including text_codepoints_loading to illustrate how to load and draw custom codepoints from font files for Asian languages - **added** — Introduce rres 1.0 resource packaging file-format with rres-raylib library implementation and rrespacker tool - **changed** — Update raygui to version 3.2 aligned with raylib 4.2 with reviewed controls for library consistency **New raylib release!** Nine months after latest raylib, here it is a new version. It was supposed to be just a small update but, actually, it's a huge update with lots of changes and improvements. It has been possible thanks to the many contributors that have helped with issues and improvements, it's the **update with more contributors to date** and that's amazing! Some numbers to start with: - **+200** closed issues (for a TOTAL of **1230**!) - **+550** commits since previous RELEASE (for a TOTAL of **+6000**!) - **+20** functions ADDED to raylib API (for a TOTAL of **502**!) - **+60** functions REVIEWED/REDESIGNED - **+70** new contributors (for a TOTAL of **+360**!) Highlights for `raylib 4.2`: - **raylib extra libraries cleanup**: raylib has been on diet and all the _extra_ libraries included on previous releases have been removed from raylib. Now raylib only includes the original **7** raylib modules: `rcore`, `rlgl`, `rshapes`, `rtextures`, `rtext`, `rmodels` and `raudio`. But no worries, _extra_ libraries have not been deleted, they have been moved to their own repos for better maintainability and more focus on its functionality. The libraries moved out from raylib repo are: [`raygui`](https://github.com/raysan5/raygui), [`physac`](https://github.com/raysan5/physac), [`rmem`](https://github.com/raylib-extras/rmem), [`reasings`](https://github.com/raylib-extras/reasings) and [`raudio`](https://github.com/raysan5/raudio) (standalone mode). On that same line, a new **amazing GitHub group:** [`raylib-extras`](https://github.com/raylib-extras) has been created by @JeffM2501 to contain raylib extra libraries as well as other raylib add-ons provided by the community. Jeff has done an amazing work on that line, providing multiple libraries and examples for raylib, like [custom first-person and third person camera systems](https://github.com/raylib-extras/extras-c/tree/main/cameras), [Dear ImGui raylib integration](https://github.com/raylib-extras/rlImGui), [multiple specific examples](https://github.com/raylib-extras/examples-c) and even a complete [RPG Game Example](https://github.com/raylib-extras/RPGExample)! Great work Jeff! :D - **raylib examples review**: The +120 raylib examples have been reviewed to add clearer information about when they were first created (raylib version used) and when they were updated for the last time. But the greatest improvement for users has been the **addition of an estimated difficulty level** for every example, [web has been updated accordingly](https://www.raylib.com/examples.html) to reflect those difficulty levels. Now examples are classified with **1 to 4 stars** depending on difficulty to help users with their learning process. Personally, I think this "small" addition could be a game-changer to better guide new users on the library adoption! Additionally, this new raylib release includes 7 new examples; the most interesting one: [`text_codepoints_loading`](https://www.raylib.com/examples/text/loader.html?name=text_codepoints_loading) that illustrates how to load and draw custom codepoints from a font file, very useful for Asian languages. - [**`rres 1.0`**](https://github.com/raysan5/rres): New `rres` **resources packaging file-format**, including a [`rres-raylib`](https://github.com/raysan5/rres/blob/master/src/rres-raylib.h) library implementation and [`rrespacker`](https://raylibtech.itch.io/rrespacker) tool. `rres` file format has been [under development for +8 years](https://github.com/raysan5/rres#design-history) and it was originally created to be part of raylib. It was highly inspired by _XNA XNB_ resources file format but design has changed a lot along the years. This first release of the format specs is engine-agnostic and has been designed to be portable to any engine, including lots of professional features like data processing, compression and encryption. - [**`raygui 3.2`**](https://github.com/raysan5/raygui): The **official raylib imme _[Truncated at 4000 characters — full notes: https://github.com/raysan5/raylib/releases/tag/4.2.0]_