mischief 0.1.1.0 → 0.1.2.0
raw patch · 4 files changed
+32/−9 lines, 4 filesdep +mischief-livedep ~mischief-renderPVP ok
version bump matches the API change (PVP)
Dependencies added: mischief-live
Dependency ranges changed: mischief-render
API changes (from Hackage documentation)
Files
- CHANGELOG.md +11/−0
- examples/rat-picker/Main.hs +1/−1
- mischief.cabal +3/−2
- src/Mischief.hs +17/−6
CHANGELOG.md view
@@ -1,5 +1,16 @@ # Revision history for mischief +## 0.1.2.0 ++### mischief-render 0.1.1.0 -> 0.1.2.0++* Added `updateFragment` function for updating a material's fragment shader at runtime. +* Fixed a memory leak in relation to pipeline caching. ++### new library: mischief-live 0.1.0.0 ++* Tools for live coding.+ ## 0.1.1.0 ### mischief-render 0.1.0.0 -> 0.1.1.0
examples/rat-picker/Main.hs view
@@ -16,7 +16,7 @@ main :: IO () main = do app <- newApp- setAssetSource "assets/" app+ setAssetSource "../assets/" app addPlugin @RatPickerPlugin app runApp app
mischief.cabal view
@@ -18,7 +18,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.1.0+version: 0.1.2.0 -- A short (one-line) description of the package. -- synopsis: -- A longer description of the package.@@ -94,8 +94,9 @@ mischief-assets ^>=0.1, mischief-ecs ^>=0.2.2, mischief-input ^>=0.1,+ mischief-live ^>=0.1, mischief-math ^>=0.1.1,- mischief-render ^>=0.1.1,+ mischief-render ^>=0.1.2, mischief-sdl ^>=0.1, -- Directories containing source files.
src/Mischief.hs view
@@ -30,7 +30,11 @@ ) where -import Mischief.ECS+import Mischief.ECS qualified+import Mischief.Input qualified+import Mischief.Live qualified+import Mischief.Math qualified+import Mischief.Render qualified import Prelude () -- $whatis@@ -60,12 +64,18 @@ -- In order to use Mischief, you'll first need to install @GHC@ and @cabal@. We recommend doing so through the [ghcup](https://www.haskell.org/ghcup/) installer. -- For this version of Mischief, we recommend installing @ghc-9.12.2@. ----- For easier setup, we recommend cloning the template found [here](https://codeberg.org/mischief/template/src/branch/0.1.0.0). You can do so using:+-- For easier setup, we recommend cloning the template found [here](https://codeberg.org/mischief/template/src/branch/0.1.2.0). You can do so using: -- -- @--- git clone -b 0.1.0.0 --single-branch https://codeberg.org/mischief/template.git+-- git clone -b 0.1.2.0 --single-branch https://codeberg.org/mischief/template.git -- @ --+-- You can also clone the @-live@ branch which contains a template adjusted for live coding (hot-reloading code):+--+-- @+-- git clone -b 0.1.2.0-live --single-branch https://codeberg.org/mischief/template.git+-- @+-- -- The @.cabal@ and @.project@ files contain the recommended configuration: extensions, language standard, library versions. Only @mischief-ecs@ is -- imported. The other core libraries are commented out. Make sure to change all occurrences of @my-mischief-app@ to your app's name, including the @.cabal@ file's name. --@@ -96,11 +106,12 @@ -- $libs -- This is a list of the current libraries that exist within the ecosystem: ----- * [mischief-ecs ^>=0.2]("Mischief.ECS"). The core ECS library.+-- * [mischief-ecs ^>=0.2.2]("Mischief.ECS"). The core ECS library. -- * [mischief-assets ^>=0.1]("Mischief.Assets"). Load and play with assets. -- * [mischief-input ^>=0.1]("Mischief.Input"). Read input from the player.--- * [mischief-math ^>=0.1]("Mischief.Math"). Transforms and algebra.--- * [mischief-render ^>=0.1]("Mischief.Render"). Render stuff and write shaders.+-- * [mischief-math ^>=0.1.1]("Mischief.Math"). Transforms and algebra.+-- * [mischief-render ^>=0.1.1]("Mischief.Render"). Render stuff and write shaders.+-- * [mischief-live ^>=0.1]("Mischief.Live"). Enables live coding. -- -- Feel free to open an issue or PR in the [official repo](https://codeberg.org/mischief/mischief) if you want your library to be added to this list. -- The [\"AI\" policy](https://codeberg.org/mischief/mischief/src/branch/main/AI_Policy.md) applies.