Releases: encodedlux/sling
Releases · encodedlux/sling
Release list
v0.1.5
Added
- Added the
setEquipHandlerAPI callback allowing developers to intercept tool equipping/unequipping and route it through their own server-side network/replication layer (providing compatibility for Server-Authoritative games).
Changed
- Refactored input bindings to use
ContextActionService(CAS) instead of Roblox's newInputContext/InputActionsystem (IAS), resolving server authority replication errors. - Simplified theme configuration definitions by removing the state getter from theme properties.
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Fixed
- Fixed hotbar selection hotkeys for layout-dependent keyboards (like AZERTY/QWERTZ) by calculating key offsets directly from physical KeyCode values.
v0.1.3
Added
- Added a new state-driven input binding system in
inputs.luauusingInputContext,InputAction, andInputBindinginstances, replacingContextActionServiceand direct event listeners. - Added
onSlotRenderAPI callback allowing dynamic customization of slot properties (BackgroundColor,BackgroundTransparency,Children,ItemNameText,ItemNameChildren). - Added experimental VR support, automatically adapting inputs, tool hotbar navigation, and screen bounds when a headset is active.
- Added a dedicated
attribution.luaumodule to decouple third-party licensing attribution.
Changed
- Refactored
useBackpack.luauto focus solely on managing backpack and character items, offloading input and event logic toinputs.luauandapp.luau. - Centralized
preferredInput,preferredTransparency, andvrEnabledreactivity insidestates.luauandapp.luauinstead of using separate custom hooks. - Flattened the
src/ui/hooks/backpack/hooks folder by moving all hook files directly intosrc/ui/hooks/. - Renamed the
categorybarcomponent tocategoryTabs. - Refactored
init.luauto load all API requires at the top of the file instead of inline. - Simplified
px.luauinternal scaling logic by removing viewport resize event connections and dynamic scale factor calculations.
Removed
- Removed direct dependency on
ContextActionServicefor handling hotbar key and gamepad inputs. - Removed custom hooks
usePreferredInput.luauandusePreferredTransparency.luauin favor of centralized states. - Removed the
selectSwapstate and its corresponding gamepad input action mapping.
v0.1.2
Added
- New Hotbar APIs:
setHotbar,onHotbarChanged, andonBackpackLoadedevent hooks to manage and persist hotbar configurations. - Added
slotEquipStrokeOutlineboolean property to customize slot equip highlight borders.
Changed
- Events Renamed: Renamed backpack events to be more explicit (e.g., changed
onBackpackRemovedtoonBackpackItemRemoved). - Restructured project directories into
core/andui/areas.
v0.1.1
Added
- Support PreferredTransparency contrast to inventory and slots.
Fixed
- Fixed category indexing bugs in UI Labs by cleanly separating "All" initialization into
useBackpack.