diff --git a/CHANGELOG.md b/CHANGELOG.md index 58657ae..748a15b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,50 +7,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.7.1] - 2023-10-30 +## [0.8.0] - 2023-10-30 -### ๐Ÿ› Bug Fixes +### โ›ฐ๏ธ Features + +- Add getters for window position - + ([d488091](https://github.com/lukexor/pix-engine/commit/d48809116b1d20690cf6ae7e2d2599949a92af09)) + and + ([bc29778](https://github.com/lukexor/pix-engine/commit/bc29778528ad26532c2168b7686182cc8a66d010)) +### ๐Ÿ› Bug Fixes - Problem around chrono, time, and an CVE - ([fb4a22f](https://github.com/lukexor/pix-engine/commit/fb4a22fab9a2c8b4d6d9b3707fce9edddbaf9386)) - Fixed build badge - ([0a01708](https://github.com/lukexor/pix-engine/commit/0a0170866ba4fe16b1d01a88a46ce0970a2a53b2)) +- Fix setting cursor without support - + ([c4baf4d](https://github.com/lukexor/pix-engine/commit/c4baf4dd2974732fd8e704e33691a49b7b476312)) + and + ([fc3b038](https://github.com/lukexor/pix-engine/commit/fc3b0380f56a5e93d18375e7e218164a4b03a545)) ### ๐Ÿ“š Documentation - -- Fixed MSRV in readme - ([032f7b1](https://github.com/lukexor/pix-engine/commit/032f7b10d4356859b456544d3ba88d85c2356ad1)) - -### ๐ŸŽจ Styling - - -- Fix format - ([3695546](https://github.com/lukexor/pix-engine/commit/36955467e136f11283922393372df60850e31771)) - -### โš™๏ธ Miscellaneous Tasks - - -- Remove release-plz from mergify update - ([c5685c5](https://github.com/lukexor/pix-engine/commit/c5685c5f3c2b8973c2aa4c5e234b921616f0e700)) -- Remove deprecated actions-rs - ([9306a8b](https://github.com/lukexor/pix-engine/commit/9306a8b3896e2d0a3ecc89066bc9bee371ce2be2)) -- Add mergify and fix cache version - ([c8740b0](https://github.com/lukexor/pix-engine/commit/c8740b0da9c7bab4562e37c58c24fcd8ce5ffc50)) -- Fix release-plz - ([8802fa5](https://github.com/lukexor/pix-engine/commit/8802fa5d4b84c52937ad71ad7792d827a0bd019e)) -- Remove sdl2 from release cd - ([82ecb98](https://github.com/lukexor/pix-engine/commit/82ecb98dacc72576d660eae0adcafa3669ea6032)) -- Changed release name - ([a73a146](https://github.com/lukexor/pix-engine/commit/a73a146755fcace0a4ca8cd6cdaa19a51b50903a)) -- Fixed ci toolchain - ([43c67b3](https://github.com/lukexor/pix-engine/commit/43c67b3f0f3b57326e8bf6c78e187720306695e9)) -- Updated ci - ([09927c5](https://github.com/lukexor/pix-engine/commit/09927c5bcadf590c2e884c4782f099004e83fa54)) -- Fix ci - ([9fb7c74](https://github.com/lukexor/pix-engine/commit/9fb7c74604b6787fdbbf8f33243f17a555b1e706)) -- Updated dependencies - ([4dd3c51](https://github.com/lukexor/pix-engine/commit/4dd3c5120d98e8d2dc09c74ee310281b30d35f4b)) -- Updated Cargo.lock - ([cf68729](https://github.com/lukexor/pix-engine/commit/cf68729ad8f8a9bef9c93fc344ca2957046df97f)) -- Remove nightly and beta from CI - ([5d60e1f](https://github.com/lukexor/pix-engine/commit/5d60e1fa150670f8c22fb7e03952955ded8c2986)) - - -## [Unreleased] - -### Added - -### Changed - -### Fixed - -### Breaking +- Updated MSRV - ([032f7b1](https://github.com/lukexor/pix-engine/commit/032f7b10d4356859b456544d3ba88d85c2356ad1)) ## [0.7.0] - 2023-01-20 @@ -182,604 +159,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added `PixState::smooth` and `PixState::no_smooth` to toggle anti-alias drawing of shapes. - Added `PixState::day`, `PixState::month`, `PixState::year`, `PixState::hour`, - `PixState::minute`, and `PixState::second` methods. -- Added `[[T; 2]; 2]`, `[[T; 3]; 2]`, `[T; 4]`, and `[T; 6]` array conversions - to `Line`. -- Added `[[T; 2]; 3]`, `[[T; 3]; 3]`, `[T; 6]`, and `[T; 9]` array conversions - to `Tri`. -- Added `shapes` example. -- Added `PixState::bezier` and `PixState::bezier_detail` methods. -- Added `IntoIterator` for array-like types for `&T` and `&mut T`. -- Added audio callback and capture support with new types: `AudioSpecDesired`, - `AudioSpec`, `AudioDevice`, a new trait: `AudioCallback` and new methods: - `PixState::open_playback` and `PixState::open_capture`. -- Added `PixState::audio_driver` method to return the driver for the Audio Queue. -- Added `audio_callback` and `audio_capture_and_replay` examples. - -### Changed - -- Removed sleeping when audio queue got too full in favor of a maximum buffer - size with a warning indicating `resume_audio` was not called. -- Updated `README` with better installation steps and a Table of Contents. -- Moved `rayon` to a `dev-dependency`. -- Added a `logging` example. -- Fixed `Color::TRANSPARENT` to have `0` alpha channel. -- Removed allowing `clippy::return_self_not_must_use` (Issue #9). -- Changed audio queue to not sleep if too full and instead warn (and eventually - panic) if queue gets too full to avoid system contention. -- Optimized `Color` addition and subtraction operations. -- Renamed `audio` example to `audio_queue`. -- Removed `wasm` checks and dependencies until future Web-Assembly - implementation starts in earnest. -- Made `PixState::present` public so that the current canvas can be updated in - the middle of, or outside of `AppState::on_update`. -- Fixed various documentation errors. - -### Breaking - -- Made `WindowBuilder::new` crate-visible only. Prefer `PixState::window`. - -## [0.5.3] - 2021-12-21 - -### Added - -- Fixed mapping of `WindowEvent::Exposed`. -- Raw audio sample example. -- `AudioStatus` enum for representing the playback status of the audio device. -- `PixState::audio_status` and `PixState::audio_sample_rate` methods. -- `PixState::resume_audio` and `PixState::pause_audio` methods. -- `PixEngineBuilder::audio_channels` to choose the number of audio channels to - play to. Defaults to `1` for mono. -- `SpacingBuilder` struct to construct custom theme spacing easier. -- `PixState::menu` method that renders a clickable menu item with hover state. - -### Changed - -- Engine loop sleeps remainder of target frame rate to reduce CPU usage. -- Default audio sample rate to 48,000 Hz. -- Fixed `ThemeBuilder` to default to "dark" theme. -- Changed radio and checkboxes to scale based on `font_size`. - -### Breaking - -- Disabled audio playback by default on startup. To queue and play audio you - must first call `PixState::resume_audio`. - -## [0.5.2] - 2021-12-13 - -### Changed - -- Updated MSRV in README. - -## [0.5.1] - 2021-12-13 - -### Added - -- Basic gamepad controller support and a new event: `JoyHatMotion`. -- `PixEngineBuider::with_deadzone` which alters the default gamepad axis - deadzone. -- `AppState::on_controller_pressed`, `AppState::on_controller_released`, - `AppState::on_controller_axis_motion`, `AppState::on_controller_update`. -- More supported events: `AudioDeviceAdded`, `AudioDeviceRemoved`, - `WindowEvent::Exposed`, `Key::Kp*` events for Keypad support. -- Warning logs for unsupported events. - -### Changed - -#### Core - -- `PixEngineBuilder::icon` and `WindowBuilder::icon` now take an - `Into` parameter that can converted into either a `PathBuf` or an - `Image` which allows loading an icon from a file, or a static or dynamic - image. - -#### UI - -- Various UI padding now use frame padding instead of item padding. - -### Breaking - -- Changed `Unknown` event variants to `Unsupported` to better reflect that some - events are known, but are not supported by this library. - -## [0.5.0] - 2021-11-27 - -### Added - -#### Core - -- `log` facade added for logging support. -- Added methods to `PixEngineBuilder` to control cache sizes. -- Added `PixState::elapsed` method which returns the total elasped time since - application start. -- A lot of documentation, examples, and README images. - -#### UI - -- Added `Theme` and `ThemeBuiilder` structs to customize UI theming for colors, - fonts, sizes, styles and spacing. `PixEngineBuilder` updated with theme - customizing methods. Default is a dark theme. -- Added several new UI widget rendering methods and a new `gui` example demoing - their usage. -- `Cursor::no` method added. - -#### Window - -- `PixState` methods for getting and setting window dimensions changed to return - a result instead of panicking and will return the dimensions for the current - window target instead of only the primary window. -- `PixState::save_canvas` and `PixState::save_texture` methods. - -#### Drawing - -- `Color::from_hex_alpha` and `Color::as_hex_alpha` added that take/return RGBA - values. -- `Color::blended` method added. -- `PixState::set_viewport` and `PixState::clear_viewport` methods added to - control the rendering viewport. - -#### Shapes - -- `Rect::resized` and `Rect::resize_by` methods added. -- Added various `offset` methods to shapes. -- `Ellipse::diameter` method for circular ellipses. -- `Ellipse::bounding_rect` method. -- `Point::dist` method. -- `Serialize` and `Deserialize` added for shapes with const generics when the - `serde` feature is enabled. - -### Changed - -#### Core - -- Several types changed to `must_use`. -- Several optimizations and performance improvements regarding caching and - memory management. - -#### UI - -- `PixEngineBuilder::with_font` updated to take anything that can be turned into - a `Font` struct which includes a path as before, but can now also take static - font data loaded from `include_bytes!` for example. -- `PixState::text` updated to return the bounding box of rendered text. -- Added `PixState::wrap_width` and `PixState::no_wrap` methods to control text - wrap width. - -#### Drawing - -- Many `Color` methods made `const`. -- `Color::set_levels` method added. -- Changed shapes to use anti-aliasing where possible by default. -- Added `PixState::stroke_weight` method to draw thick lines. - -#### Shapes - -- Fixed radius handling in a circle `Ellipse`. -- `Line::new`, `Tri::new`, and `Quad::new` updated to support different types - for each point parameter. -- `Line`, `Tri`, and `Quad` macros updated to have better type inference. - -### Breaking - -#### Core - -- `core` module removed and all included modules moved up a level. -- `PixResult` changed to return `anyhow::Error`, which can include a backtrace - on nightly. Many other types of errors returned now all return the same - `PixResult` struct. -- `AppState` methods that handle events changed to return a `bool` indicating - whether the event is to be consumed or not, and thus skipping any additional - handling the engine may have for said event. -- `pix_engine::prelude::*` cleaned up by removing several type aliases which can - be imported from `pix_engine::shape`. -- Removed `PixEngineBuilder::asset_dir` method in favor of including assets - required by the library in the binary. -- `PixEngineBuilder::build` now returns a `PixResult` if any of the build - settings are invalid. -- `math::constants::*` moved into `math`. - -#### UI - -- `PixEngineBuilder::with_font` changed to not take `size` as a parameter. Added - an additional `PixEngineBuilder::with_font_size` method. -- `PixState::primary_window_id` removed. - -#### Drawing - -- `Color::new`, `Color::new_alpha`, `Color::rgb`, and `Color::rgba` changed to - take `u8` RGB/A values. Affects `rgb!` and `color!` macros. RGBA setter - methods also updated to take `u8`. -- `Color::levels` made non-const instead computing levels at run-time as needed. -- `Color::from_raw` renamed to `Color::from_levels` and removed `unsafe`. -- `Color::from_hex` and `Color::as_hex` changed to take/return RGB - values with the top `u32` bits being `0x00`. `Color::from_hex_alpha` and - `Color::as_hex_alpha` added that take/return RGBA values. -- `Color::rgb_channels` and `Color::rgba_channels` removed in favor of - `Color::channels`. -- Color constants moved from the prelude to constants on - `Color`. e.g. `Color::RED`. -- `PixState::polygon` and `PixState::wireframe` changed to take a type that can - be converted into `IntoIterator>`. -- All shape drawing methods have more strict requirements that types can be - converted into `i32`. -- All shape drawing methods with floating point representations have had - `floor`, `ceil`, `round` and `trunc` methods added. - -#### Textures - -- `Texture` struct removed in favor of `TextureId`. All methods for getting or - updating textures now take a `TextureId` instead. -- Removed `unsafe` from `PixState::delete_texture`. Now it will simply return a - `PixResult` if the `TextureId` is invalid. - -#### Shapes - -- All shapes had their `values` method changed to `as_array` and `set_values` - method removed in favor of `as_bytes_mut`. -- All shapes now have `as_bytes` and `as_bytes_mut` methods. -- Removed `Button` struct and changed `PixState::button` API to just return a - `bool` if the button was clicked or not instead of having a `clicked` - method. Use `PixState::hovered` method to check if the previously rendered - item was hovered. - -## [0.4.2] - 2021-09-02 - -### Added - -#### Core - -- `crate::prelude` and `crate::prelude_3d` for common imports. -- `Copy`, `Clone`, `Debug`, `Default`, `PartialEq`, `Eq`, and `Hash` - implementations for many/most structs where appropriate. -- `Serialize` and `Deserialize` implemented for most structs with with the `serde` - feature enabled. -- New optional `AppState` methods: - - `on_key_pressed()`: Called on key press and key repeat. - - `on_key_released()`: Called on key release. - - `on_key_typed()`: Called on character typed (ignores special keys like Ctrl - and Backspace). - - `on_mouse_dragged()`: Called on mouse motion while button is being heled. - - `on_mouse_pressed()`: Called on mouse button press. - - `on_mouse_released()`: Called on mouse button release. - - `on_mouse_clicked()`: Called on mouse button released followed by a press. - - `on_mouse_dbl_clicked()`: Called on mouse button double click. - - `on_mouse_motion()`: Called on mouse motion. - - `on_mouse_wheel()`: Called on mouse wheel scroll. - - `on_window_event()`: Called on a window event (e.g. closed, resized, moved). - - `on_event()`: Called for every user or system event as a catch-all. -- `PixEngineBuilder` struct added with several settings for configuring the - `PixEngine` initialization. - -#### State - -- `PixState` methods for interacting with the window and `PixEngine` state: - - `delta_time()`: Time elapsed since last frame. - - `frame_count()` Total number of frame since application start. - - `frame_rate()`: Average frames per second rendered. - - `target_frame_rate()`: Target frame rate. - - `set_frame_rate()`: Set target frame rate. - - `clear_frame_rate()`: Clear target frame rate. - - `quit()`: Quit the application. - - `abort_quit()`: Abort quitting the application (useful in - `AppState::on_stop()` as a confirmation). -- `PixState` methods for controlling drawing and the `PixEngine` render loop: - - `background()`: Set the color for clearing the screen and clear to it immediately. - - `fill()`: Set the fill color for drawing operations. - - `no_fill()`: Clear the fill color to transparent. - - `stroke()`: Set the stroke color for drawing operations. - - `no_stroke()`: Clear the stroke color to transparent. - - `clip()`: Set a clipping rectangle for drawing to the canvas. - - `no_clip()`: Clear the clipping rectangle. - - `running()`: Whether the engine loop is running and calling - `AppState::on_update()` or not. - - `run()`: Start the engine loop if it's not already running. - - `no_run()`: Disable the engine loop if it's currently running. - - `redraw()`: Run render loop one time if it's not currently running. - - `runtimes()`: Run render loop N times if it's not currently running. - - `show_frame_rate()`: Set whether to show the average frame rate in the title - bar or not. - - `scale()`: Set the X, Y rendering scale for the canvas. Note this is - different than `PixEngineBuilder::scale` which scales the window dimensions. - - `font_size()`: Set the font size. - - `size_of()`: Get the dimensions of a given string with the current `font_size`. - - `font_style()`: Set the font style (e.g. NORMAL, BOLD, ITALIC, UNDERLINE, - STRIKETHROUGH). - - `font_family()`: Set the font family. (e.g. "courier_new.ttf"). - - `rect_mode()`: Set how (x, y) coordinates are treated for drawing squares - and rectangles. - - `ellipse_mode()`: Set how (x, y) coordinates are treated - for drawing circles and ellipses. - - `image_mode()`: Set how (x, y) coordinates are treated for drawing images. - - `angle_mode()`: Set whether angles are interpreted as `Radians` or `Degrees`. - - `blend_mode()`: Set drawing blend mode for images and textures. - - `push()`: Save the current drawing settings to a stack. - - `pop()`: Restore previous drawing settings from the stack. - -#### Window - -- `WindowBuilder` struct for opening windows: - - `new()`: Create a new `WindowBuilder` instance. - - `with_dimensions()`: Set window (width, height). - - `with_title()`: Set window title. - - `position()`: Set window (x, y) position. - - `position_centered()`: Center window in the display. - - `fullscreen()`: Make the window fullscreen. - - `resizable()`: Allow window resizing. - - `borderless()`: Disable window border. - - `scale()`: Set window dimension scale. - - `icon()`: Set window icon. - - `build()`: Build window from `WindowBuilder` and open it. -- `PixState` window methods: - - `focused()`: Wether the current window target has focus. - - `primary_window_id()`: The primary window ID. - - `window_id()`: The current window target ID. - - `window()`: Create a new `WindowBuilder`. - - `close_window()`: Close a given window. - - `dimensions()`: The current window target (width, height) dimensions. - - `set_dimensions()`: Set the current window target (width, height) dimensions. - - `width()`: The current window target width. - - `set_width()`: Set the current window target width. - - `height()`: The current window target height. - - `set_height()`: Set the current window target height. - - `display_dimensionsc()`: The current display (width, height) dimensions. - - `display_width()`: The current display width. - - `display_height()`: The current display height. - - `show_window()`: Show the current window target if hidden. - - `hide_window()`: Hide the current window target if shown. - - `fullscreen()`: Whether the application is currently in fullscreen mode. - - `set_fullscreen()`: Set fullscreen to true or false. - - `vsync()`: Whether vertical sync is enabled. - - `set_vsync()`: Set vertical sync to true or false. - - `cursor()`: Set the mouse cursor icon to either a system icon or custom image. - - `no_cursor()`: Clear mouse cursor back to default. - - `with_window()`: Target a window for drawing operations with a closure. -- `window::Result` and `window::Error` for window related failures. - -#### Drawing - -- `ColorMode` enum with `Rgb`, `Hsb`, and `Hsl` variants. -- `Color` struct with several methods for creating and converting between color - modes. -- `Color` macros `rgb!()`, `hsb!()`, and `hsl!()`. -- Additional `Color` constants matching the [SVG 1.0 Color - Keywords](https://www.w3.org/TR/SVG11/types.html#ColorKeywords). -- `color::Result` and `color::Error` types for conversion failures. -- `Draw` trait for types that can be drawn using `PixState`. -- Several new shape drawing methods on `PixState`. -- New `Texture` struct and methods for hardware-accelerated rendering. -- `Light` and `LightSource` structs for doing basic 3D light rendering. - -#### UI - -- New Immediate-mode UI drawing methods for buttons. More to come in future - versions. - -#### Shapes - -- Made shape structs generic over their type and number of dimensions using new - const generics. -- Conversion implementations to convert shapes between units for better - ergonomics. -- `Deref` and `DerefMut` into an array of values representing a shape. -- `IntoIterator` for structs where applicable. -- `Contains` and `Intersects` traits and implementations for defining collision - detection. -- `Draw` implementations. -- `Rect` struct extended with several constructor and utility methods. -- Several new shape structs: `Ellipse`, `Line`, `Point`, `Quad`, `Sphere`, and - `Tri` with convenience macros. - -#### Image - -- New `Image` methods for converting and manipulating images. -- `image::Result` and `image::Error` for image failures. - -#### Events - -- `WindowEvent` struct. -- `KeyMod` struct for detecting key modifiers on key press and release events. - -#### Misc - -- `math` module for noise and randomization utilities. -- `Num` trait for generic number handling. -- `Vector` type for doing N-dimensional vector math. -- Attribution for `Emulogic` font. -- New `katakana` provided font along with default unicode fonts for fallbacks. -- Several new examples: - - `2d_raycasting` - - `3d_raytracing` - - `colors` - - `flocking` - - `fluid_simulation` - - `image` - - `matrix` - - `maze` - - `textures` -- Extensive documentation additions and README improvements. - -### Changed - -- `description`, `category` and `keywords` updated in `Cargo.toml`. -- Updated to [resolver 2](https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions) - in `Cargo.toml` -- Updated `LICENSE.md` to `MIT/Apache-2.0`. -- Updated `README`, documentation and usage examples. -- Updated and refined examples. - -### Breaking - -#### Core - -- Root imports have been removed in favor of `crate::prelude`. -- `PixEngineResult` renamed to `PixResult`. -- `PixEngineErr` renamed to `PixError` and `PixEngineErr::new()` removed. -- `PixEngine` `State` generic parameter removed in favor of passing application - to `PixEngine::run()`. -- `PixEngine::new()` removed. Use `PixEngine::builder()` instead. -- `PixEngine::set_icon()` moved to `PixEngineBuilder::icon()` and changed to - take `AsRef`. -- `PixEngine::fullscreen()` moved to `PixEngineBuilder::fullscreen()`. -- `PixEngine::vsync()` moved to `PixEngineBuilder::vsync()`. -- `PixEngine::set_audio_sample_rate()` moved to - `PixEngineBuilder::audio_sample_rate()`. -- `PixEngine::run()` now takes a type that implements `AppState` and returns - `PixResult` instead of `PixEngineResult`. - -#### State - -- `State` trait renamed to `AppState`. -- `StateData` struct renamed to `PixState`. Affects all methods from the `State` - trait which was renamed to `PixState`. -- `AppState::on_start`, `AppState::on_update`, and `AppState::on_stop` changed - to return `PixResult<()>`. Use `PixState::quit()` instead of returning `false` - in order to terminate the application. -- `AppState::on_update` no longer takes `elapsed`. Use `PixState::delta_time()` - instead. -- `StateData::enable_coord_wrapping()` removed. Use `Point::wrap()` and - `Vector::wrap()` methods instead. -- `StateData::wrap_coords()` removed in favor of `Point::wrap()` and - `Vector::wrap()` methods. -- `StateData::create_texture()` changed to take `width`, `height` and optional `PixelFormat`. -- `StateData::copy_draw_target()` removed. -- `StateData::copy_texture()` renamed to `PixState::update_texture()` and - parameters changed to take `&mut Texture`, `Into>>`, - `AsRef<[u8]>`, and `pitch`. -- `StateData::is_inside_circle()` removed. Use `Ellipse::contains_point()` instead. - -#### Window - -- `WindowId` type changed from `u32` to `usize`. -- `StateData::open_window()` renamed to `PixState::create_window()` which - creates a `WindowBuilder`. -- `StateData::close_window()` renamed to `PixState::close_window()`. -- `StateData::main_window_id()` renamed to `PixState::primary_window_id()`. -- `StateData::screen_width()` renamed to `PixState::width()`. -- `StateData::screen_height()` renamed to `PixState::height()`. -- `StateData::set_screen_size()` renamed to `PixState::set_dimensions()` and now - takes a tuple `(u32, u32)`. -- `StateData::is_focused()` renamed to `PixState::focused()`. -- `StateData::fullscreen()` renamed to `PixState::fullscreen()` and changed to - return the current fullscreen state. Use `PixState::set_fullscreen()` to change - state. -- `StateData::vsync()` renamed to `PixState::vsync()` and changed to return the - current vsync state. Use `PixState::set_vsync()` to change state. -- `StateData::create_window_texture()` removed. -- `StateData::copy_window_draw_target()` removed. -- `StateData::copy_window_texture()` removed. - -#### Drawing - -- `Pixel` renamed to `Color` with members made private. -- `AlphaMode` renamed to `BlendMode`. `Normal` renamed to `None`. `Mask` - removed. `Add` and `Mod` added. -- `StateData::construct_font()` removed in favor of `sdl2::ttf`. -- `StateData::get_draw_target()` removed. -- `StateData::set_draw_target()` removed. Use `PixState::with_texture()` instead. -- `StateData::get_draw_target_dims()` removed. Use `Texture::dimensions()` instead. -- `StateData::clear_draw_target()` removed. Draw target is only set within - `PixState::with_texture()` callback. -- `StateData::get_alpha_mode()` removed. -- `StateData::set_alpha_mode()` renamed to `PixState::blend_mode()`. -- `StateData::set_alpha_blend()` removed. -- `StateData::get_draw_color()` removed. -- `StateData::set_draw_color()` replaced with `PixState::background()`, - `PixState::fill()` and `PixState::stroke()`. -- `StateData::reset_draw_color()` removed. -- `StateData::set_draw_scale()` removed. Use `PixEngineBuilder::scale()` or - `PixState::scale()` methods instead. -- `StateData::fill()` renamed to `PixState::background()`. -- `StateData::clear()` renamed to `PixState::clear()` and updated to fill screen - with current `background` color. -- `StateData::draw()` renamed to `PixState::point()` which now takes an - `Into` to draw with the current `stroke` color. -- `StateData::draw_line()` renamed to `PixState::line()` which now takes an - `Into` to draw with the current `stroke` color. -- `StateData::draw_line_i32()` removed. -- `StateData::draw_line_pattern()` removed. -- `StateData::draw_circle()` renamed to `PixState::circle()` which now takes an - `Into` to draw with the current `stroke` color. -- `StateData::draw_partial_circle()` renamed to `PixState::arc()` which now - takes an `Into`, radius, start, and end to draw with the current `fill` - and `stroke` colors. -- `StateData::fill_circle()` renamed to `PixState::circle()` which now takes an - `Into` to draw with the current `fill` color. -- `StateData::draw_elipse()` renamed to `PixState::ellipse()` which now takes an - `Into` to draw with the current `stroke` color. -- `StateData::fill_elipse()` renamed to `PixState::ellipse()` which now takes an - `Into` to draw with the current `fill` color. -- `StateData::draw_rect()` renamed to `PixState::rect()` which now takes an - `Into` to draw with the current `stroke` color. -- `StateData::fill_rect()` renamed to `PixState::rect()` which now takes an - `Into` to draw with the current `fill` color. -- `StateData::draw_triangle()` renamed to `PixState::triangle()` which now takes - an `Into` to draw with the current `stroke` color. -- `StateData::fill_triangle()` renamed to `PixState::triangle()` which now takes - an `Into` to draw with the current `fill` color. -- `StateData::draw_image()` renamed to `PixState::image()` which now takes an - `Into`. -- `StateData::draw_partial_image()` removed. -- `StateData::draw_string()` renamed to `PixState::text()` which now takes a - `Into` to draw with the current `fill` color. -- `StateData::draw_wireframe()` renamed to `PixState::wireframe()` which now - takes a `&[Vector]` and an `Into`in addition to angle and scale to - draw a - polygon with the current `stroke` and `fill` colors. -- `StateData::draw_transform()` removed. - -#### Shapes - -- `Rect` members made private. Use getter/setter methods to access `x`, `y`, - `width`, and `height` instead. - -#### Image - -- `ImageRef` struct removed along with all related methods: `new_ref()`, - `ref_from()`, `rgb_ref()`, and `rgba_ref()`. -- `rgb()` renamed to `with_rgb()`. -- `rgba()` renamed to `with_rgba()`. -- `from_bytes()` updated to take `PixelFormat` parameter and now returns - `image::Result`. -- `put_pixel()` renamed to `set_pixel()`. -- `get_pixel()` and `put_pixel()` updated to return and accept `Color`. -- `ColorType` renamed to `PixelFormat`. -- `color_type()` renamed to `format()` and returns `PixelFormat`. -- `bytes()` renamed to `as_bytes()`. `bytes()` now returns an `Iterator` of `u8` - instead of `Vec`. -- `bytes_mut()` renamed to `as_mut_bytes()` and changed to return `&mut [u8]` - instead of `&mut Vec`. -- `from_file()` updated to take `AsRef` instead of `&str` and returns - `image::Result`. -- `save_to_file()` renamed to `save()`, updated to take `AsRef` instead of - `&str` and returns `image::Result`. - -#### Events - -- `Input` renamed to `KeyEvent`. `released` removed. `held` changed to - `repeat`. `key` and `keymod` added. -- `Axis::Unknown` added and `Axis` made `[non_exhaustive]`. -- `Button` renamed to `ControllerButton`. `ControllerButton::Unknown` added and - `ControllerButton` made `[non_exhaustive]`. -- `Key` made `[non_exhaustive]`. -- `Mouse::X1` and `Mouse::X2` removed and `Mouse` made `[non_exhaustive]`. -- `PixEvent` renamed to `Event` and made `[non_exhaustive]`. Several new events - added or changed. -- `State::get_key()` removed in favor of `PixState::keys()`, - `PixState::key_pressed()`, `PixState::key_down()` and `AppState::on_key_*` - methods. -- `State::get_mouse()` removed in favor of `PixState::mouse_pos()`, - `PixState::mouse_pressed()`, `PixState::mouse_down()`, - `PixState::mouse_buttons()` and `AppState::on_mouse_*` methods. -- `State::get_mouse_x()` removed. -- `State::get_mouse_y()` removed. -- `State::get_mouse_wheel()` removed in favor of `AppState::on_mouse_wheel()`. -- `State::poll()` removed. Use the `AppState::on_*` methods to respond to events. - -[unreleased]: https://github.com/lukexor/pix-engine/compare/v0.6.0...HEAD -[0.6.0]: https://github.com/lukexor/pix-engine/compare/v0.5.4...v0.6.0 -[0.5.4]: https://github.com/lukexor/pix-engine/compare/v0.5.3...v0.5.4 -[0.5.3]: https://github.com/lukexor/pix-engine/compare/v0.5.2...v0.5.3 -[0.5.2]: https://github.com/lukexor/pix-engine/compare/v0.5.1...v0.5.2 -[0.5.1]: https://github.com/lukexor/pix-engine/compare/v0.5.0...v0.5.1 -[0.5.0]: https://github.com/lukexor/pix-engine/compare/v0.4.2...v0.5.0 -[0.4.2]: https://github.com/lukexor/pix-engine/compare/v0.4.1...v0.4.2 + `PixState::minute`, and `PixState::second` met diff --git a/CHANGELOG2.md b/CHANGELOG2.md deleted file mode 100644 index b89530e..0000000 --- a/CHANGELOG2.md +++ /dev/null @@ -1,235 +0,0 @@ - - -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [unreleased] - -### ๐Ÿ› Bug Fixes - - -- Problem around chrono, time, and an CVE - ([fb4a22f](https://github.com/lukexor/pix-engine/commit/fb4a22fab9a2c8b4d6d9b3707fce9edddbaf9386)) -- Fixed build badge - ([0a01708](https://github.com/lukexor/pix-engine/commit/0a0170866ba4fe16b1d01a88a46ce0970a2a53b2)) -- Changes for PR after code review - ([2896d25](https://github.com/lukexor/pix-engine/commit/2896d256967bdc4302b0f9495e97cc72fb6026f4)) -- Changes for PR after code review - ([bc42596](https://github.com/lukexor/pix-engine/commit/bc4259681630bc36cb5a50f481f285919f35c084)) - -### ๐Ÿ“š Documentation - - -- Fixed MSRV in readme - ([032f7b1](https://github.com/lukexor/pix-engine/commit/032f7b10d4356859b456544d3ba88d85c2356ad1)) - -### ๐ŸŽจ Styling - - -- Fix format - ([3695546](https://github.com/lukexor/pix-engine/commit/36955467e136f11283922393372df60850e31771)) - -### โš™๏ธ Miscellaneous Tasks - - -- Fix ci - ([9fb7c74](https://github.com/lukexor/pix-engine/commit/9fb7c74604b6787fdbbf8f33243f17a555b1e706)) -- Updated dependencies - ([4dd3c51](https://github.com/lukexor/pix-engine/commit/4dd3c5120d98e8d2dc09c74ee310281b30d35f4b)) -- Updated Cargo.lock - ([cf68729](https://github.com/lukexor/pix-engine/commit/cf68729ad8f8a9bef9c93fc344ca2957046df97f)) -- Remove nightly and beta from CI - ([5d60e1f](https://github.com/lukexor/pix-engine/commit/5d60e1fa150670f8c22fb7e03952955ded8c2986)) - -## [0.7.0](https://github.com/lukexor/pix-engine/compare/v0.6.0..v0.7.0) - 2023-01-20 - -### โ›ฐ๏ธ Features - - -- Add getters for window position - ([d488091](https://github.com/lukexor/pix-engine/commit/d48809116b1d20690cf6ae7e2d2599949a92af09)) -- Add getters for window position - ([bc29778](https://github.com/lukexor/pix-engine/commit/bc29778528ad26532c2168b7686182cc8a66d010)) - -### ๐Ÿ› Bug Fixes - - -- Proceed without cursor support - ([c4baf4d](https://github.com/lukexor/pix-engine/commit/c4baf4dd2974732fd8e704e33691a49b7b476312)) -- Proceed without cursor support - ([fc3b038](https://github.com/lukexor/pix-engine/commit/fc3b0380f56a5e93d18375e7e218164a4b03a545)) -- Fixed PixResult/PixError in examples - ([21b76e2](https://github.com/lukexor/pix-engine/commit/21b76e204976a51e80a3e71be84efae6bfd73019)) -- Improved rendering to window and texture targets - ([1ecdd3a](https://github.com/lukexor/pix-engine/commit/1ecdd3af55a352f2407a106c086d80356cac5c09)) -- Removed unnecessary clone - ([a3aafe1](https://github.com/lukexor/pix-engine/commit/a3aafe1f23f0f1cc24830ea4ba8a16b866a8c14a)) - -### ๐Ÿšœ Refactor - - -- Revert PixError/PixResult change - ([2fe7f73](https://github.com/lukexor/pix-engine/commit/2fe7f73e115c23995bc6b45f4dcef64db38debb7)) -- Removed with_ prefix from builder methods - ([92e6899](https://github.com/lukexor/pix-engine/commit/92e689996dd31f7459d2ad8166b87bedee713dbf)) -- Renamed primary trait - ([fd12ea5](https://github.com/lukexor/pix-engine/commit/fd12ea56a3c5471417d4161e8b16cd6fa0460394)) -- Renamed types - ([e8b7a43](https://github.com/lukexor/pix-engine/commit/e8b7a43339ee52d56fe37242ebfc9c0a09390948)) -- Change example loop traversal - ([907a94d](https://github.com/lukexor/pix-engine/commit/907a94d894a8d1a5e7713b3cb66e90701c1aa234)) -- Avoid calcualting target_delta_time each frame - ([df57bda](https://github.com/lukexor/pix-engine/commit/df57bda2a9a5579fb1f2e1c312709f67dd70c9e7)) -- Change Unsupported to Unhandled - ([8529133](https://github.com/lukexor/pix-engine/commit/8529133948fe97bf6780d5c9e20c5c0974e0e872)) - -### ๐Ÿ“š Documentation - - -- Updated readme - ([32b08d9](https://github.com/lukexor/pix-engine/commit/32b08d9d88c75bbc05f0569a92775eb83fffa786)) -- Updated keywords - ([43abd77](https://github.com/lukexor/pix-engine/commit/43abd77decc93da857d44c6d6d836a7b8133f28b)) -- Updated changelog - ([8483b59](https://github.com/lukexor/pix-engine/commit/8483b596df8499cfc6b19c50731c57b5c0b9cb69)) -- Updated README - ([7c6cee2](https://github.com/lukexor/pix-engine/commit/7c6cee220ee4b357ed923a029086f9a95bcbd60d)) - -### ๐ŸŽจ Styling - - -- Cleaned up some lints - ([387b68f](https://github.com/lukexor/pix-engine/commit/387b68f10c5093d7734757bea6c7e801b65e1ece)) -- Fixed nightly lints - ([56482b2](https://github.com/lukexor/pix-engine/commit/56482b26884d233f0c676cb8ea1f5dcc0669ecf1)) -- Fixed nightly lints - ([5e8aea4](https://github.com/lukexor/pix-engine/commit/5e8aea4330daa9303433be9b94d029c61ec2dc54)) - -### ๐Ÿงช Testing - - -- Remove vimspeector for global config - ([b4f7e1a](https://github.com/lukexor/pix-engine/commit/b4f7e1a3297bbec9ff99b63dd16f9ad7f90469b9)) -- Ignore README examples - ([662b2d9](https://github.com/lukexor/pix-engine/commit/662b2d9eebac71ee5c42d5e22243045f4c417df0)) - -### โš™๏ธ Miscellaneous Tasks - - -- Fix keyword length - ([c25f49f](https://github.com/lukexor/pix-engine/commit/c25f49f446ac0f52f9a94387f83a741d187b5309)) -- Tag 0.7.0 again - ([487e225](https://github.com/lukexor/pix-engine/commit/487e225128d87446f7d0d5a5c7c6e45624fd660e)) -- Increased msrv to 1.62.0 - ([b66c38c](https://github.com/lukexor/pix-engine/commit/b66c38cd7f1541c4ce46622fdefaa499166e4c1a)) -- Updated dependencies - ([72ccf96](https://github.com/lukexor/pix-engine/commit/72ccf968be1cab62847449e0a7a736a97ba2680a)) -- Updated Cargo.lock - ([420251e](https://github.com/lukexor/pix-engine/commit/420251ea7c1a4029448509f49d50b8507da6a12d)) -- Publish 0.7.0 - ([e1983a2](https://github.com/lukexor/pix-engine/commit/e1983a2f7987571d506e1c12fd443b02c954e4f7)) -- Update dependencies - ([0fd9f00](https://github.com/lukexor/pix-engine/commit/0fd9f00cf60aeaddb1c7c1a644565e5c6859d54f)) -- Update lru - ([961b689](https://github.com/lukexor/pix-engine/commit/961b6894e6cc953d68cec6088f5aa65fbfdd7449)) -- Updated packages - ([3a49859](https://github.com/lukexor/pix-engine/commit/3a498591085d40f965e9c0be75356438735dda66)) -- Fix line continuation - ([b4d6cae](https://github.com/lukexor/pix-engine/commit/b4d6cae2e3dfe2db0de10f57ebb2446746e8dca9)) -- Change coverage format - ([cdb5597](https://github.com/lukexor/pix-engine/commit/cdb5597aaae68cf664ec511b09e9a45060c68a2b)) -- Fix serde feature - ([99c17c3](https://github.com/lukexor/pix-engine/commit/99c17c3cc5cdbf7971fead0ee2bb3f866e842d60)) -- Provide coverage file - ([8f3e7d6](https://github.com/lukexor/pix-engine/commit/8f3e7d6ba4784e3fe5382029d313c029b0200b9e)) -- Fix demangler - ([98d4dc5](https://github.com/lukexor/pix-engine/commit/98d4dc568be0a9d9ef21964b1e2f83b92f4b7e93)) -- Try removing read - ([e6fe1a9](https://github.com/lukexor/pix-engine/commit/e6fe1a95c928d0eded0dbd05be3573f9a2f002fe)) -- Fix coverage - ([e47c2ad](https://github.com/lukexor/pix-engine/commit/e47c2ad45f7ba4b6368eac712a4dcb707497613c)) -- Add debugging - ([46b4a4b](https://github.com/lukexor/pix-engine/commit/46b4a4b83f935665a41a9da969267bb3c84dcce1)) -- Test rust-cov - ([bca8028](https://github.com/lukexor/pix-engine/commit/bca80287e87eb514e9d6bb2d26cf777f2d56f71b)) -- Another attempt to fix coverage - ([a272015](https://github.com/lukexor/pix-engine/commit/a27201504c3cae0f8d70c817414f48d87c6e71e5)) -- Fix env variable - ([161b05d](https://github.com/lukexor/pix-engine/commit/161b05dbdbd4ed61227c4bea2e832d9d5fe6138e)) -- Fix sudo condition - ([053147c](https://github.com/lukexor/pix-engine/commit/053147c1438500ec0d2696d9e08ba484b894a220)) -- Fix condition - ([a39c4cc](https://github.com/lukexor/pix-engine/commit/a39c4cc37eacd8af3479817697ef7ba0562c4d47)) -- Add conditional sudo - ([d620727](https://github.com/lukexor/pix-engine/commit/d6207270ac133afc4754f0884bfb2307aeb0a0d2)) -- Fix brew path - ([df8a898](https://github.com/lukexor/pix-engine/commit/df8a898a80a0b0ec018a3fe273c0cd3b6086e341)) -- Removed sudo - ([5517a3f](https://github.com/lukexor/pix-engine/commit/5517a3fc7e3983ba1610a8d3133e07ee8943c7d1)) -- Fix actions - ([ab062b6](https://github.com/lukexor/pix-engine/commit/ab062b6f6be5ce957ad356d4b9021bde16daf4a6)) -- Changed to composite actions - ([d55be29](https://github.com/lukexor/pix-engine/commit/d55be29baf2657b875dc712fa93e4bca2ea8ea5a)) -- Fix workflows - ([9983f55](https://github.com/lukexor/pix-engine/commit/9983f5589883ee54613f751134d9da78ed00bbf2)) -- Refactor workflows - ([1c64ac7](https://github.com/lukexor/pix-engine/commit/1c64ac7b221d22441034fe08adf94d5778b4a7c5)) -- Try and fix doctest coverage - ([ada1b07](https://github.com/lukexor/pix-engine/commit/ada1b073a0af7c1c5ff9765f051412a00dbf5692)) -- Added triage workflow - ([4a999cd](https://github.com/lukexor/pix-engine/commit/4a999cd3799bc6039550866c597fe66229caaae4)) -- Update dependencies - ([31cad3b](https://github.com/lukexor/pix-engine/commit/31cad3b06186c318a506f74b5642670e12a89ded)) -- Cleanup yaml - ([436003a](https://github.com/lukexor/pix-engine/commit/436003af0bc155069fe3af4874670652bff10c80)) -- Fixed coverege workflow - ([be4aeec](https://github.com/lukexor/pix-engine/commit/be4aeecba1a83a18d0ae47a1180dca23f6b2f6eb)) -- Disable coverage for now - ([f150b25](https://github.com/lukexor/pix-engine/commit/f150b25837ec1c5c0fa54cfd472a21b47ce4bfd7)) -- Updated Cargo.lock - ([478f0f8](https://github.com/lukexor/pix-engine/commit/478f0f8a9278e82f3162ee3cdecf98b9954035d4)) -- Use container for coverage - ([21001a1](https://github.com/lukexor/pix-engine/commit/21001a113f398293427708b3e35cf5983a96e79a)) -- Moved to coverage workflow - ([8539ffc](https://github.com/lukexor/pix-engine/commit/8539ffcab93a559913bac2008902b8aa16fd15c2)) -- Fix run types - ([9a518f9](https://github.com/lukexor/pix-engine/commit/9a518f98f611d8613fcb2cc09086775a7474a673)) -- Add all targets to coverage - ([bd75c18](https://github.com/lukexor/pix-engine/commit/bd75c18632c8dab706403b329af5e9b2172ac123)) -- Updated Cargo.lock - ([7fc8cc3](https://github.com/lukexor/pix-engine/commit/7fc8cc3d8746617fe757906b1136d46cd99893ab)) -- Combined code coverage - ([90b1d2a](https://github.com/lukexor/pix-engine/commit/90b1d2aea6eceaa7e3ebff6cd9f4bf6272343ddc)) -- Added coverage workflow - ([bc58a26](https://github.com/lukexor/pix-engine/commit/bc58a2689bca98dd2ccd843807be447a1b25a9f6)) -- Fix linuxbrew cache - ([64af38a](https://github.com/lukexor/pix-engine/commit/64af38ab7b2ca0fbdd2d011b36679a0d9a82d67a)) -- Clean up ci - ([31960e3](https://github.com/lukexor/pix-engine/commit/31960e321c5d63dbbc9001d1faa3b0e0a5f142de)) -- Update package workflow - ([1bdd93b](https://github.com/lukexor/pix-engine/commit/1bdd93b1beca5c8fe91a61817bf07efc4d09e626)) - -### โ—€๏ธ Revert - - -- Reverted consuming builder - ([f76f972](https://github.com/lukexor/pix-engine/commit/f76f9727b996e50813e2ea5d19c28721de7d0529)) - -## [0.6.0](https://github.com/lukexor/pix-engine/compare/v0.5.4..v0.6.0) - 2022-06-20 - -### โ›ฐ๏ธ Features - -- *(audio)* [**breaking**] Support multiple channel types for audio and added wasm checks back in - ([f431f8f](https://github.com/lukexor/pix-engine/commit/f431f8f703666167b5c3183fae49adc09da69f6d)) -- *(audio)* [**breaking**] Added PixState::audio_queued_size and PixState::audio_size - ([3b364bc](https://github.com/lukexor/pix-engine/commit/3b364bcfbcccb06016eab28223e5962bd289100a)) - -- Added arrow navigation to select_box - ([a80b665](https://github.com/lukexor/pix-engine/commit/a80b665140a93518d073c8100bdd97b70a5402cc)) -- Added contains for Point to triangle - ([f5f4154](https://github.com/lukexor/pix-engine/commit/f5f41540eb51f7c2e731f6171657990d167d7e92)) - -### ๐Ÿ› Bug Fixes - -- *(audio)* Allow device defaults for audio spec and fix audio pause - ([c3e40d9](https://github.com/lukexor/pix-engine/commit/c3e40d9b68bb0b7afdba7f9beb72a75332919c5f)) -- *(audio)* Set default audio buffer size to 4096 - ([5ff3509](https://github.com/lukexor/pix-engine/commit/5ff3509021460bbd1c622c928af14653c5beba83)) -- *(engine)* Fixed frame rate epsilon - ([e74334f](https://github.com/lukexor/pix-engine/commit/e74334f6cf8770fd3bbd5f6d1ed8ab586ea7f58f)) - -- Fixed fluid_simulation clearing on every frame - ([93605c3](https://github.com/lukexor/pix-engine/commit/93605c3220e6d71e4466754b87826c36e801b85f)) -- Fluid_simulation window size - ([4d429b6](https://github.com/lukexor/pix-engine/commit/4d429b6fb8f02099c608f39058c70e3484b11da6)) -- Fixed setting font affecting theme - ([e995fe4](https://github.com/lukexor/pix-engine/commit/e995fe4ef3f559d17d034eef79c630b9fb635376)) -- Fixed select_box focusing - ([7123dc6](https://github.com/lukexor/pix-engine/commit/7123dc64bbce202226b42b86cba106b6fd52c03e)) -- Fixed select_box expansion when focused - ([6262cba](https://github.com/lukexor/pix-engine/commit/6262cba47e3f961be51fcaa224278e5ccf0ad30b)) -- [**breaking**] Remove vcpkg - ([f824388](https://github.com/lukexor/pix-engine/commit/f8243884d53f412a7f405df19f41155a551b8656)) -- Fixed forcing updates to sleep if no target frame rate is defined - ([192c50b](https://github.com/lukexor/pix-engine/commit/192c50bc9b20b3a21bbccfbe921b6561c7899e07)) -- [**breaking**] Fixed nightly lints by removing serialization from Font - ([60681a6](https://github.com/lukexor/pix-engine/commit/60681a68a5702091a0a1dbb2ad8a6f706487b9a7)) -- Don't debug print font bytes - ([b0f67d1](https://github.com/lukexor/pix-engine/commit/b0f67d13ccac62c628e7680a7e16fe9dd5ef8675)) - -### ๐Ÿšœ Refactor - - -- Swapped lazy_static for once_cell - ([05a4100](https://github.com/lukexor/pix-engine/commit/05a4100e622a4e3a13832e3c53c47f6d6783b2cf)) -- [**breaking**] Renamed as_array and as_byte methods to coords and points - ([b839788](https://github.com/lukexor/pix-engine/commit/b8397889cdf370f0633b5b36fe8763759615c7ad)) -- Reduce ui state property nesting - ([7fbe33d](https://github.com/lukexor/pix-engine/commit/7fbe33daf9cc3f8b6f4746805c16689ee5750caf)) -- [**breaking**] Unified scale functionality to be limited only to rendering and not window size - ([0a763b5](https://github.com/lukexor/pix-engine/commit/0a763b5a80b47aebcb2e699a69aae42a6599f185)) -- Move vsync condition up - ([35223f4](https://github.com/lukexor/pix-engine/commit/35223f4c3f3968863bd352d93632faff0f63eb20)) -- Lint pass - ([0e754db](https://github.com/lukexor/pix-engine/commit/0e754db1b760e49ce686120d6c870500ec4b8d12)) - -### ๐Ÿ“š Documentation - - -- Updated README - ([39d43c5](https://github.com/lukexor/pix-engine/commit/39d43c5f5b4a3e1937117a6fd8b346ba650aba8a)) -- Update README - ([69d5951](https://github.com/lukexor/pix-engine/commit/69d5951f24ef0e8506198de848ae101d3066c56f)) -- Fixed lints - ([ebcd983](https://github.com/lukexor/pix-engine/commit/ebcd983da6f1306e03e96de110ad7895f3cf689c)) -- Clarified audio buffer size documentation - ([c4b88ca](https://github.com/lukexor/pix-engine/commit/c4b88ca361ac7dde3ccfe05486f7c663d67f507c)) - -### ๐ŸŽจ Styling - - -- Fix lints - ([ae27f9d](https://github.com/lukexor/pix-engine/commit/ae27f9d8eab8e7bcc0f8d39d7f447e9c884b1d2e)) -- Fixed nightly lint - ([7dfbd9a](https://github.com/lukexor/pix-engine/commit/7dfbd9a77617adbaf09792822fcb558596c2fee7)) - -### โš™๏ธ Miscellaneous Tasks - - -- Fix package.yml - ([2d641f7](https://github.com/lukexor/pix-engine/commit/2d641f7141d975479571a05335ffafd3cb539c0a)) -- Release 0.6.0 - ([b41cbd6](https://github.com/lukexor/pix-engine/commit/b41cbd6bb7c630fb898e097be1d2c856a7007973)) -- Update Cargo.lock - ([de8dbed](https://github.com/lukexor/pix-engine/commit/de8dbed978742112531a5abdb1a2c0b1a255fede)) -- Update CHANGELOG - ([5a89b1e](https://github.com/lukexor/pix-engine/commit/5a89b1e8e2a0ebc0a16fcb57890c5a8658857512)) -- Update license badge - ([6fd70b0](https://github.com/lukexor/pix-engine/commit/6fd70b063829d5fa2382b9dcc373b14ade629cfd)) -- Fix ci shell - ([4969a95](https://github.com/lukexor/pix-engine/commit/4969a95cc3680ae037d06e9975cec6fb67b10449)) -- Fail early in scripts - ([63c2ca3](https://github.com/lukexor/pix-engine/commit/63c2ca37e84d90b50ad5e966e53d731494a78c7a)) -- Fixed commit-msg - ([8de117d](https://github.com/lukexor/pix-engine/commit/8de117d445d532984b8045506a8d2794cf5e204a)) -- Add DLLs - ([8d1811e](https://github.com/lukexor/pix-engine/commit/8d1811e4645bb1c4e9dcc5ffe26eb12f2256ab31)) -- Fix windows-latest - ([2858e7a](https://github.com/lukexor/pix-engine/commit/2858e7a0c0a5b4f54c024210bb9134f21326d89c)) -- Fix windows-latest - ([1a3c8d4](https://github.com/lukexor/pix-engine/commit/1a3c8d40bb98517e6ab38800e0438f3cc18da4c1)) -- Fixed commit-msg - ([7229d52](https://github.com/lukexor/pix-engine/commit/7229d5203d1d4bfacc28e650969aa7d5f92f80c7)) -- Changed to custom hooks - ([e66fe66](https://github.com/lukexor/pix-engine/commit/e66fe6615b3f59627d3e6597e34b79a80316dba3)) -- Added SDL libs for windows - ([fd7beeb](https://github.com/lukexor/pix-engine/commit/fd7beebcf96af1cc59c3d363f4b16b76df8709af)) -- Revert quote change - ([ffeefb3](https://github.com/lukexor/pix-engine/commit/ffeefb39bac1a5c5dc5d036d9bcd59986345c7d5)) -- WIP on providing SDL dependencies for windows build - ([e06c239](https://github.com/lukexor/pix-engine/commit/e06c239853db744f03db2324a28f25a2b8c44529)) -- Set LD_LIBRARY_PATH - ([5a82753](https://github.com/lukexor/pix-engine/commit/5a82753945711dbc29a3dc95b66a1c662024ba21)) -- Revert feature change - ([1b71017](https://github.com/lukexor/pix-engine/commit/1b71017e6463374d5090da040e8c55cabf71f38b)) -- Remove empty feature run - ([729740f](https://github.com/lukexor/pix-engine/commit/729740f64f0133307b05dc0f45089da77790826b)) -- Another attempt - ([f9843df](https://github.com/lukexor/pix-engine/commit/f9843df552f87a578f2eed3112ca480fc7444eeb)) -- More debug - ([ec23086](https://github.com/lukexor/pix-engine/commit/ec2308691ef5358cb89a18a453a44c588ec8c28b)) -- Test ci debug - ([3ee6a54](https://github.com/lukexor/pix-engine/commit/3ee6a548c057437a348e93dadf2216bc37ea0a40)) -- Use LD_LIBRARY_PATH - ([15f3fc5](https://github.com/lukexor/pix-engine/commit/15f3fc5d434cbd8e95dbe845511a5d26e0ae90b9)) -- Update changelog and ci - ([929ec6c](https://github.com/lukexor/pix-engine/commit/929ec6c6e0072e6227c4135f52d2a6c948347e34)) -- Updated Cargo.lock - ([7939ddd](https://github.com/lukexor/pix-engine/commit/7939ddde0b49b52517e76aed79870f5c5063c94d)) -- Try bash - ([5603b65](https://github.com/lukexor/pix-engine/commit/5603b65d4faa255bf742579e168b081c14992572)) -- Attempt using homebrew for linux and windows - ([8b40187](https://github.com/lukexor/pix-engine/commit/8b40187cdbcc9cabd1046de4e0930f909c820b73)) -- Updated Cargo.lock - ([39dcde3](https://github.com/lukexor/pix-engine/commit/39dcde32a74718a163c24af4cd95131d2d5d4505)) -- Updated Cargo.lock - ([cf79418](https://github.com/lukexor/pix-engine/commit/cf79418d3edced6c64832ffe77e43f43e38d1540)) -- Revert back to vcpkg - ([80b014a](https://github.com/lukexor/pix-engine/commit/80b014a7eb0a28e044905d123c032940d92d0e69)) -- Try adding universe - ([7cf6a80](https://github.com/lukexor/pix-engine/commit/7cf6a8087b4426cd1801af0c856d3725cc337261)) -- Fix features - ([0878620](https://github.com/lukexor/pix-engine/commit/0878620398c9280233e69ef9f0d3904ec3f28807)) -- Fix Cargo.toml - ([137d4ff](https://github.com/lukexor/pix-engine/commit/137d4ff9c8b0e47913c73bfb2ce32b632ff84279)) -- Fix ci - ([d081940](https://github.com/lukexor/pix-engine/commit/d0819407a79c28e181850bfbeb9e1acf8b676c7c)) -- Stop iusing vcpkg for linux and macos - ([2207faf](https://github.com/lukexor/pix-engine/commit/2207faf3a1c4d9d09043716d969bd26367c2a41d)) -- Try another version - ([f924ee2](https://github.com/lukexor/pix-engine/commit/f924ee2081e768c5562d0fca911eca7d1c9e10ec)) -- Try an earlier version - ([15250dd](https://github.com/lukexor/pix-engine/commit/15250dd3fcbd05e8da7469aa9b37298f37dd538c)) -- Try updating vcpkg - ([b11f207](https://github.com/lukexor/pix-engine/commit/b11f2075579e8d4675e0088460c3c25666129ac7)) -- Update Cargo.lock - ([32e5994](https://github.com/lukexor/pix-engine/commit/32e5994daf19f5d359188ff61d1b9876251add29)) - - diff --git a/release-plz.toml b/release-plz.toml index bf5474a..18e377c 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -3,10 +3,8 @@ changelog_config = "cliff.toml" changelog_update = true dependencies_update = true git_tag_enable = true -# Handled by carago-dist -git_release_enable = false +git_release_enable = true pr_labels = ["release"] allow_dirty = false publish_allow_dirty = false semver_check = false -