CHANGELOG-0.10.0

    CHANGELOG-0.10.0


    Article summary

    # 0.10.0 (2023-02-06)

    Bug Fixes

    • Capability module needs capability tags (#71) (6f0af1b)
    • Change doc examples to https (#79) (c7047af)
    • FIRESDK-31 returned response from Lifecycle.ready method (#81) (efc740f)
    • Updated openrpc version to 1.8.0-next.2 (#85) (b988c41)
    • Updated secure storage spec to allow null as result value (#84) (4117ad7)
    • Use new openrpc template code with bug fixes (#69) (9fed6fc)
    • Word publish scripts (#78) (a3846e0)

    Features

    • Add content-access api, deprecate entitlements, remove availabi… (#83) (f3c8017)
    • Add Secure Storage module (#77) (f62e4ae)
    • New Capabilities API (#63) (0ba5ef5)

    # 0.10.0-next.9 (2023-02-06)

    Features

    # 0.10.0-next.8 (2023-02-03)

    Features

    # 0.10.0-next.7 (2023-02-03)

    Features

    # 0.10.0-next.6 (2023-02-03)

    Features

    # 0.10.0-next.5 (2023-02-03)

    Features

    # 0.10.0-next.4 (2023-02-03)

    Features

    # 0.10.0-next.3 (2023-02-03)

    Features

    # 0.10.0-next.2 (2023-02-03)

    Features

    # 0.10.0-next.1 (2023-02-03)

    Bug Fixes

    • Capability module needs capability tags (#71) (6f0af1b)
    • Change doc examples to https (#79) (c7047af)
    • FIRESDK-31 returned response from Lifecycle.ready method (#81) (efc740f)
    • Updated openrpc version to 1.8.0-next.2 (#85) (b988c41)
    • Updated package json version (cb6a7f3)
    • Updated secure storage spec to allow null as result value (#84) (4117ad7)
    • Word publish scripts (#78) (a3846e0)

    Features

    # 0.10.0-next.5 (2023-02-01)

    Bug Fixes

    • Updated openrpc version to 1.8.0-next.2 (#85) (b726a47)

    # 0.10.0-next.5 (2023-02-01)

    Bug Fixes

    • Updated openrpc version to 1.8.0-next.2 (#85) (b726a47)

    # 0.10.0-next.4 (2023-01-27)

    Bug Fixes

    • Updated secure storage spec to allow null as result value (#84) (64588b2)

    # 0.10.0-next.3 (2023-01-26)

    Features

    • Add content-access api, deprecate entitlements, remove availabi… (#83) (878c25b)

    # 0.10.0-next.2 (2023-01-25)

    Bug Fixes

    • Change doc examples to https (#79) (a75f9be)
    • FIRESDK-31 returned response from Lifecycle.ready method (#81) (b1dd82b)
    • Word publish scripts (#78) (2f2bcc3)

    # 0.10.0-next.2 (2023-01-19)

    Bug Fixes

    • FIRESDK-31 returned response from Lifecycle.ready method (#81) (b1dd82b)
    • Word publish scripts (#78) (2f2bcc3)

    # 0.10.0-next.1 (2022-12-14)

    Features

    0.9.1-next.1 (2022-11-30)

    Bug Fixes

    • Use new openrpc template code with bug fixes (#69) (9fed6fc)

    # 0.9.0

    Features

    Bug Fixes

    • Don't ignore source files when publishing to npm [skip ci] (cb26ff2)
    • Build SDK before npm publish (#64) (f221fa3)
    • Lifecycle: lifecycle state api returns correct state in all circumstances (31e405c)

    # 0.8.1

    • Added Device.version().firmware to surface the underlying hardware firmware version
    • Added Device.version().api to surface the latest Firebolt API supported by this device
    • Deprecated Device.version().os which does not have a formal specification. Use firmware instead.

    # 0.8.0

    • Tune Intents are now supported in navigateTo events
    • Added TypeScript declarations for Settings and Events
    • Fixed/Removed test-enabling code from SDK
    • Fixed bug where the SDK would initialize itself even when not being used

    # 0.7.0

    • Removed all bigint types from TypeScript declarations, in favor of number, since bigint is not widely supported across browsers. This changes impacts:
      • Device.screenResolution
      • Device.videoResolution
      • Discovery.purchasedContent
      • Metrics.mediaProgress
      • Metrics.mediaSeeking
      • Metrics.mediaSeeked
      • Parameters.initialization

    To upgrade to 0.7.0 simply change the type of any Firebolt Promise resolutions from bigint to number, e.g.:

    const res:[bigint, bigint] = await Device.screenResolution()
    

    Should become:

    const res:[number, number] = await Device.screenResolution()
    

    # 0.6.2

    # 0.6.1

    • Changed Firebolt build to use .mjs extension
    • Firebolt builds are now pure ES6 modules, not bundled with Webpack
    • Added types path to package.json
    • Fixed TypeScript declarations for FlatMap and BooleanMap
    • Added TypeScript return type declarations for listen and once (all modules)
    • Added TypeScript declaration for clear method (all modules)
    • Changed {} return type to void for listener callbacks

    # 0.6.0

    • Added support for rdkcentral/mock-firebolt via a WebSocket transport layer
    • Deprecated Accessibility.closedCaptions and voiceGuidance, created properties for Accessibility.closedCaptionsSettings and voiceGuidanceSettings, which support subscribers
    • Deprecated Device.listen('deviceNameChanged'), added support for subscribing to Device.name()
    • Added support for subscribing to property changes: Device.audio, hdcp, hdr, name, network, screenResolution, videoResolution, Advertising.policy, Discovery.policy, Localization.language
    • Added proper TypeScript declarations for Discovery.entityInfo and Discovery.purchasedContent
    • Fixed race condition w/ Transport Layer initialization

    # 0.5.2

    • Added Parameters modules
    • Fixed typo in Advertising.config example result for docs/Mock
    • Updated Metrics.error signature to include type as first parameter
    • Created window.__firebolt.testHarness handshake (for Mock TL only)
    • Added LocalizedString type for localized string dictionaries
    • Updated Discovery.watchNext to use LocalizedString for title and each property of images
    • Added OfferingType and ProgramType parameters to Discovery.purchasedContent

    # 0.5.1

    • Cleaned up errors in various Mock responses
    • Methods that call private Metrics APIs, e.g. Lifecycle.ready, now do so after promise resolution

    # 0.5.0

    • Updated TS declarations (.d.ts) to detect which event is being passed to .listen() methods
    • Updated all listen() and once() methods to return a Promise
    • Renamed verifyContentRating and verifyPurchase to approveContentRating and approvePurchase respectively
    • Added Profile.flags() for distributor-specific profile flags
    • Added optional source field to all LifecycleEvents
    • Complete rewrite of Metrics APIs (see docs)
    • Added policyChanged events to Discovery and Advertising
    • Fixed duplicate RPC listen calls when listening to an event in slightly different ways, e.g. once() vs listen()
    • Added Account, Authentication, Keyboard, Profile, SecondScreen modules
    • Added Federated Search APIs to Discovery
    • Added TypeScript/Intellisense declarations file
    • Fixed spelling error on Accessibility module name
    • Moved the coppa parameter for Advertising.confg() into the options object, and made it optional
    • Final version of Advertising.policy().skipRestriction semantics

    Was this article helpful?