Skip to content

Releases: player-ui/tools

0.13.0-next.1

16 Dec 22:26
8e155b1

Choose a tag to compare

0.13.0-next.1 Pre-release
Pre-release

Release Notes

Fix Builds and Update Dependencies (#232)

Use latest docker image for build and use latest Node 22 LTS

Feature: Python XLR/DSL Support and DSL Class Generator (#231)

Welcome Python to Player Tools πŸŽ‰. There are three new packages published from this repository all in support for generating Player content via Python classes.

  • player_tools_xlr_types - Classes to represent XLR ASTs in Python and a de-serialization utility to read in XLRs from a manifest file.
  • player_tools_dsl - Basic DSL constructs represented as Python classes and content serialization logic.
  • player_tools_dsl_generator - DSL class generation using XLRs.

Currently Python support should be considered in Alpha as it is not at feature parity with the React based DSL. Notable things still under development are:

  • Native Schema Support
  • Native Binding/Expression Support
  • Expression Helper Generation
  • Data Type Generation

Stay tuned for updates on those!


πŸš€ Enhancement

  • Feature: Python XLR/DSL Support and DSL Class Generator #231 (@KetanReddy)

πŸ› Bug Fix

Authors: 1

0.12.0

04 Jun 17:54

Choose a tag to compare

Release Notes

DSL Expression Generation Functions and Testing Utilities (#212)

Add helper functions to generate usable DSL expressions from Player expressions, allowing better ergonomics when using them in content.


πŸš€ Enhancement

Authors: 2

0.11.0

03 Jun 14:23

Choose a tag to compare

πŸš€ Enhancement

  • Update Template DSL to support placement prop #196 (@kharrop)

Authors: 1

0.10.2

28 May 17:01

Choose a tag to compare

Release Notes

Fix deps for utils for xlr converters package (#215)

Fix @player-tools/xlr-converters dependency on non-published package @player-tools/test-utils which is only needed as part of tests.

Related to #211


πŸ› Bug Fix

  • Fix deps for utils for xlr converters package #215 (@kharrop)

Authors: 1

0.10.1

06 May 15:33

Choose a tag to compare

Release Notes

Fix deps for utils on non-published package (#211)

Fix @player-tools/xlr-utils dependency on non-published package @player-tools/test-utils which is only needed as part of tests


πŸ› Bug Fix

Authors: 1

0.10.0

25 Apr 19:02

Choose a tag to compare

Release Notes

Add new plugins to devtools client (#210)

  • Updates @player-ui and @devtools-ui versions to latest
  • Adds a few new plugins to devtools client

Update ESLint to v9 (#207)

Internal - Update ESLint to v9

Miscellaneous Cleanup (#192)

  • Move testing utilities out of @player-tools/xlr-utils to allow it to work on web, closing #152
  • Deprecate @player-tools/xlr-asset-docgen-webpack-plugin as we've figured out a way to do this directly in our storybook, making this plugin not necessary anymore

[XLR] Provide better type introspection messages (#189)

This ticket adds functionality to introspect the parent type and display the expected nested types when -v info is passed in (yarn run player dsl compile -v info).

By default, the error messages will remain how they were, like this:

  βœ–   1996:52  Asset Validation Error - value: Does not match any of the expected types for type: 'SomeType' path/to/source

New additional info supported using -v info:

  βœ–   1996:52  Asset Validation Error - value: Does not match any of the expected types for type: 'SomeType' path/to/source
  β„Ή   1996:52  Got: blue and expected: green | red path/to/source

For types that generate several types (20+), the info message will truncate at 20 and display the remaining number:

  βœ–   1996:52  Asset Validation Error - value: Does not match any of the expected types for type: 'SomeType' path/to/source
  β„Ή   1996:52  Got: blue and expected: item 19 | item 20 | +8 ... item 28 path/to/source

Other changes

This PR fixes an issue for the DiagnosticSeverity used in the Complexity Check Plugin, which has been updated from info -> trace which was the original intent.

Use Source Maps for Validation Errors (#191)

Use source maps, if available, to map validation errors back to authored content. If not available, the location in the compiled content will be used to point to the error.

Add Check for Missing _index_ Segments of Asset IDs in Templates (#188)

Fix DuplicateIDPlugin validation plugin not checking for _index_ elements in IDs of templated assets which would lead to duplicate ID issues at runtime.

Add Support for Retaining next Release Information in Changelogs (#185)

Keep information about next release in changelog

Run applyValueRefs for Views and Transform type Properties (#183)

Validation - Run applyValueRefs for Views and Transform type Properties


πŸš€ Enhancement

πŸ› Bug Fix

Authors: 3

0.9.0

10 Jan 23:52

Choose a tag to compare

Release Notes

Preserve Order of Templates in Slots (#177)

Fix an issue where Template components in slots that contained a static element wouldn't be serialized to JSON in the same order they were authored in.

Change Type (required)

Indicate the type of change your pull request is:

  • patch
  • minor
  • major

Remove Unneeded Dependency (#178)

  • Remove unneeded dependency @oclif/plugin-legacy
  • Fix issue with how the DSL compilation command passed arguments to the JSON validation plugin

Change Type (required)

Indicate the type of change your pull request is:

  • patch
  • minor
  • major

Add options to LSPAssetsPlugin to load from TSManifest via module import (#171)

Allow for loading XLRs to LSP via module imports. Add explicit (optional for now) toggle for distinguishing between module and manifest loading.


πŸš€ Enhancement

πŸ› Bug Fix

Authors: 6

0.8.1

27 Sep 00:22

Choose a tag to compare

Release Notes

Don't create oclif manifest (#168)

Fixes issue with oclif manifest not being stamped with the right version leading to console errors


πŸ› Bug Fix

Authors: 2

0.8.0

12 Sep 17:28

Choose a tag to compare

Release Notes

Use bazelrc for Main Builds (#164)

Use bazelrc to include CI bazel configuration for builds off of main

Change Type (required)

Indicate the type of change your pull request is:

  • patch
  • minor
  • major

Update Rules Versions (#163)

Update JS Rules to latest Aspect major

  • patch
  • minor
  • major

Fix Source Maps not Being Generated for DSL Content (#155)

Fix source maps not being generated for DSL content when compiled by the cli

Update Dependencies (#151)

  • Use Node 20
  • Use TypeScript 5.5

πŸš€ Enhancement

  • feat: doesn't exit with error if warn-only on dsl validation #159 (@rafbcampos)

πŸ› Bug Fix

πŸ”© Dependency Updates

Authors: 6

0.7.0

19 Jul 22:49

Choose a tag to compare

Release Notes

Update CLI to Allow Compilation to any File Type (#146)

Allow DSL compilation phase to compile to non .json targets

Fix Issue Validating Templates (#125)

XLR - Fully resolve references, intersection types, conditional types, and generic types when returning a type
JSON Language Server - Add generic tokens when constructing template types in transform
Validation - Fix issue validating nested arrays in templates.

#132 - Adds a dev tools web plugin generator (#133)

Adds a generator to facilitate adding new dev tools web plugins:

pnpm gen:dev-tools-web-plugin

Fix Bug when Validating null literals (#123)

Validator - Properly validate NullType nodes against null literals

Fix Parsing Indexed Access Types with Parentheses (#112)

XLR - Fixed compilation of IndexedAccesNodes that use parentheses around the first element.

Fix Regression on Validation of Keys with Escaped Characters (#110)

XLR - Fixes validation of objects where a property is escaped using single/double quotes and the property is required or the object doesn't allow additional properties.


πŸš€ Enhancement

πŸ› Bug Fix

πŸ“ Documentation

Authors: 8