Releases: blitzstudios/sleeper-mini-core
Releases · blitzstudios/sleeper-mini-core
v1.9.8
What's Changed
- Usage of
console.log()
in the mini will be sent to the packager console - Fixed an issue on Windows Docker clients where code changes weren't automatically recompiling.
- Updated
build-mini
script to work with Docker setups. See README in the template project for usage.
Full Changelog: v1.9.2...v1.9.8
v1.9.2
Easier Setup
- Avoid manual environment setup with Docker!
- Minis development is now possible on Mac and Windows machines.
Direct Packager Connection
- iOS Simulator/ Android emulator no longer required for development
-- Still useful for debugging purposes - Automatically reconnects to Sleeper app and rebuilds when changes are detected.
What's Changed
- Fix wrong packager IP by @sleeper-jasonl in #28
- Fix for localhost packager default by @sleeper-jasonl in #29
- Color update by @sleeper-seth in #30
- Packager direct connect to Sleeper app by @sleeper-jasonl in #31
- Repack update by @sleeper-jasonl in #32
- Auto-refresh connection by @sleeper-jasonl in #33
Full Changelog: v1.8.5...v1.9.2
v1.8.5
What's Changed
- Upgrading react native to 0.72.7 and repack to 3.6. by @sleeper-luke in #27
Full Changelog: v1.7.3...v1.8.5
v1.7.3
What's Changed
- Adding avatars & per sport league lists by @sleeper-jasonl in #26
API Additions
context.leaguesMapBySport
- user's leagues keyed by sport name (ie 'nfl')context.userLeagueListBySport
- list of visible league id's keyed by sport name
UI Additions
- Avatar
- AvatarLeague
- AvatarPlayer
- AvatarTeam
v1.6.2
What's Changed
- Adding notification + player card actions. by @sleeper-luke and @sleeper-jasonl in #24
This release introduces a few additional API calls and features:
- Deep link to a mini from a URL.
sleeper://mini?miniId=companyname-yourminiid
- Schedule a notification for a future timestamp. When tapped, will open the mini directly.
const notificationId = actions.scheduleNotification({
title?: string | undefined;
body?: string | undefined;
timestamp?: number;
})
- Cancel a pending notification.
actions.cancelNotification(notificationId)
- Open the player card for a specific playerId.
actions.navigate('PlayerPopupScreen', {
playerId: PlayerId,
sport: SportType
}
- Split out the
actions
object from context into a new prop:
type OwnProps = {
context: Types.Context;
events: Types.Events;
actions: Types.Actions;
entitlements: Types.Entitlements;
};
const TradeSample = (props: OwnProps) => {
const {actions, context, events, entitlements} = props;
...
};
v1.5.5
What's Changed
- Seth/font update by @sleeper-seth in #22
- Adding trade navigation by @sleeper-jasonl in #23
API Updates
A new trade navigation API has been added. This allows you to open the trade interface for existing trades, and direct the user to propose new trades with preselected players. See the sample here for more info.
Full Changelog: v1.5.2...v1.5.5
v1.5.2
What's Changed
- Adding entitlements and header options system. by @sleeper-luke in #21
Full Changelog: v1.4.6...v1.5.2
v1.4.6
What's Changed
- Removing eager from all module federation shared dependencies. Updating repack to fix bug preventing this. by @sleeper-luke in #18
- Synchronizing package dependencies with main sleeper app. by @sleeper-luke in #19
- Syncronizing runtime babel packages with main sleeper app to avoid extra runtime package downloads. by @sleeper-luke in #20
Full Changelog: v1.4.2...v1.4.6
v1.4.2
What's Changed
- Moving start page to SMC by @sleeper-jasonl in #16
- fix build-mini with new start location by @sleeper-jasonl in #17
Full Changelog: v1.4.0...v1.4.2