Bot releases are hidden (Show)
Published by DevNatan about 1 month ago
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.9...v3.0.10
Published by DevNatan 6 months ago
This release is based on a stable version of v3.1.0-beta and brings some fixes that would come only in v3.1.0-rc2 without v3.1.0-rc changes.
elementsCount()
to Pagination by @sasuked (https://github.com/DevNatan/inventory-framework/pull/655)pagesCount()
, isEmpty()
and currentSource()
to Pagination (https://github.com/DevNatan/inventory-framework/pull/660)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.1.0-beta...v3.0.9
Published by DevNatan 9 months ago
register(View...)
overload (https://github.com/DevNatan/inventory-framework/pull/626)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.1.0-beta...v3.1.0-rc
Published by DevNatan 10 months ago
isLayoutSlot()
in click context to check if click was in a character of the layout (#562)maxSize()
implementation (#584)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.8...v3.1.0-beta
Published by DevNatan 11 months ago
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.7...v3.0.8
Published by DevNatan 11 months ago
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.6...v3.0.7
Published by DevNatan 11 months ago
createEndlessContext
and openEndless
to create shared views with multiple players that are never invalidated (#538)cancelOnClick()
works correctly in pagination items (#539)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.5...v3.0.6
Published by DevNatan 11 months ago
onViewerAdded
and onViewerRemoved
to manage viewers in shared contexts (#516)openActive(...)
to allow players "join" an already created context (#516)closeOnClick()
closes only for the player who clicked, not for everyone in Shared Context (#516)availableSlot()
is used (#533)type(ViewType.ANVIL)
is now automatically set when Anvil Input feature is applied (#523)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.4...v3.0.5
Published by DevNatan 11 months ago
updateOnStateChange
to prohibit no-parameter usage (#520)show()
and hide()
to ensure consistency and behavior in relation to other components (#491)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.3...v3.0.4
Published by DevNatan 11 months ago
with(Modifier)
is now use(Modifier)
(#513)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.2...v3.0.3
Published by DevNatan about 1 year ago
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.1...v3.0.2
Published by DevNatan about 1 year ago
layoutSlot
with the same character can be used alternating its visibility with hideIf
and displayIf
modifiers (#489)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0...v3.0.1
Published by DevNatan about 1 year ago
hide()
and show()
to programmatically set component visibility state (#476)initialData
parameter (#482)disableMetrics()
ViewFrame option (#485)forceUpdate()
was moved from Pagination API to Component API (#476)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0-rc.3...v3.0.0
Published by DevNatan about 1 year ago
displayIf
or onRender
/rendered
result (#433)displayIf
with context as parameter to be able to use displayIf(booleanState::get)
(#436)kotlin.time
package (#439)back()
to navigate back to the previous view. Use onResume
to catch when "back" is used. See Creating Flows with back() and onResume on Wiki (#443)updateOnStateChange(State)
(that's the same as watch
but more explicit) (#447)interactionDelay(Duration)
allows set a interval between player interactions (#460)context
and index
parameters to Pagination state (#456)hideIf
(the opposite of displayIf
) to hide items based on a condition (#467)computedPaginationState
and lazyPaginationState
(#458)open
(#457)displayIf
or watch
now fixed (#466)layoutSlot
and availableSlot
behavior and limitationsView
do not implement Bukkit's InventoryHolder
anymore (#439)IndexSlotFunction<T>
and IndexSlotConsumer<T>
interfaces (#440)watch(State)
is now deprecated and scheduled for removal in v3.1.0 (#447)onInit(ViewConfigBuilder)
moved to inventory-framework-platform module (#448)Published by DevNatan about 1 year ago
openForPlayer()
and openForEveryone()
with initial data parameter, like in ViewFrame (#421)updateTitleForPlayer(title, player)
to update title for a specific player (#424)watch(State)
no more updates the entire view, just the component itself (#425)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0-rc.1...v3.0.0-rc.2
Published by DevNatan about 1 year ago
getPlayer()
in RenderContext (#414)ViewFrame.open(view, player, data)
overload (#417)item.updateOnClick()
to trigger context update on item click (#418)initialState()
is now mutable so its value can be changed (#413)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0-beta...v3.0.0-rc.1
Published by DevNatan about 1 year ago
Inventory Framework is now published to Maven Central!
This release introduces Shared Contexts (#409) preview also fixes with artifacts publication issues.
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0-alpha...v3.0.0-beta
Published by DevNatan about 1 year ago
displayIf(BooleanSupplier)
(#338)initialState
is now available in Internal API which allows Features System to use it (#326)unsetSlot
to create items with unset slots (#395)onClick(Runnable)
overload (#400)Full Changelog: https://github.com/DevNatan/inventory-framework/compare/v3.0.0-EAP...v3.0.0-alpha
Published by DevNatan over 1 year ago
Version 3 Release Preview.
Please refer to Migrating to version 3 on Wiki and Installation for migration details.
This version is NOT production ready.
Full Changelog: https://github.com/DevNatan/inventory-framework/compare/2.5.4-rc.1...v3.0.0-EAP