Skip to content

Releases: blitzstudios/sleeper-mini-core

v1.9.8

29 Aug 18:32
c5a1779
Compare
Choose a tag to compare

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

19 Jul 02:04
f565d55
Compare
Choose a tag to compare

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

Full Changelog: v1.8.5...v1.9.2

v1.8.5

26 Dec 23:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.3...v1.8.5

v1.7.3

08 Dec 23:05
6883f27
Compare
Choose a tag to compare

What's Changed

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

10 Oct 16:43
902d72d
Compare
Choose a tag to compare

What's Changed

This release introduces a few additional API calls and features:

  1. Deep link to a mini from a URL.
sleeper://mini?miniId=companyname-yourminiid
  1. 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;
})
  1. Cancel a pending notification.
actions.cancelNotification(notificationId)
  1. Open the player card for a specific playerId.
actions.navigate('PlayerPopupScreen', {
  playerId: PlayerId,
  sport: SportType
}
  1. 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

29 Sep 17:13
6552e1b
Compare
Choose a tag to compare

What's Changed

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

31 Aug 23:17
b99e428
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.6...v1.5.2

v1.4.6

07 Aug 22:48
47c85f6
Compare
Choose a tag to compare

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

14 Jul 22:05
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.2

v1.4.0

12 Jul 06:02
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.5...v1.4.0