Releases: player-ui/tools
0.13.0-next.1
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
- Fix Builds and Update Dependencies #232 (@KetanReddy)
Authors: 1
- Ketan Reddy (@KetanReddy)
0.12.0
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
- DSL Expression Generation Functions and Testing Utilities #212 (@KetanReddy @adierkens)
Authors: 2
- Adam Dierkens (@adierkens)
- Ketan Reddy (@KetanReddy)
0.11.0
0.10.2
0.10.1
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
- Fix deps for utils on non-published package #211 (@KetanReddy)
Authors: 1
- Ketan Reddy (@KetanReddy)
0.10.0
Release Notes
Add new plugins to devtools client (#210)
- Updates
@player-uiand@devtools-uiversions 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-utilsto allow it to work on web, closing #152 - Deprecate
@player-tools/xlr-asset-docgen-webpack-pluginas 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
- [XLR] Provide better type introspection messages #189 (@kharrop @KetanReddy)
π Bug Fix
- Add new plugins to devtools client #210 (@adierkens)
- Update ESLint to v9 #207 (@KetanReddy)
- PR Comment Version Fix #205 (@kharrop)
- Adding latest version as a PR comment #203 (@kharrop)
- Miscellaneous Cleanup #192 (@KetanReddy)
- Use Source Maps for Validation Errors #191 (@KetanReddy)
- Add Check for Missing
_index_Segments of Asset IDs in Templates #188 (@KetanReddy) - Add Support for Retaining
nextRelease Information in Changelogs #185 (@KetanReddy) - Run
applyValueRefsfor Views and TransformtypeProperties #183 (@KetanReddy)
Authors: 3
- Adam Dierkens (@adierkens)
- Kelly Harrop (@kharrop)
- Ketan Reddy (@KetanReddy)
0.9.0
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
- Release main #181 (@intuit-svc)
- Support bindings for applicability #180 (@kharrop)
- Preserve Order of Templates in Slots #177 (@KetanReddy)
- Remove Unneeded Dependency #178 (@KetanReddy)
- feat: complexity checker plugin #169 (@KetanReddy @kharrop @cehan-Chloe @rafbcampos @intuit-svc @mercillo)
- Add options to LSPAssetsPlugin to load from TSManifest via module import #171 (@KetanReddy)
Authors: 6
- @intuit-svc
- Chloeeeeeee (@cehan-Chloe)
- Kelly Harrop (@kharrop)
- Ketan Reddy (@KetanReddy)
- Marlon "Marky" Ercillo (@mercillo)
- Rafael Campos (@rafbcampos)
0.8.1
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
- Release main #170 (@intuit-svc)
- Don't create oclif manifest #168 (@KetanReddy)
Authors: 2
- @intuit-svc
- Ketan Reddy (@KetanReddy)
0.8.0
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
- Release main #166 (@intuit-svc)
- feat: highlight current player instance #160 (@cehan-Chloe @rafbcampos)
- Update Rules Versions #163 (@KetanReddy)
- Fix object null in deeply nested obejcts - devtools #158 (@mercillo)
- Fix Source Maps not Being Generated for DSL Content #155 (@KetanReddy)
- Update Dependencies #151 (@KetanReddy)
- Re-add compiler formatting to dsl output #153 (@sugarmanz)
π© Dependency Updates
- Use bazelrc for Main Builds #164 (@KetanReddy)
Authors: 6
- @intuit-svc
- Chloeeeeeee (@cehan-Chloe)
- Jeremiah Zucker (@sugarmanz)
- Ketan Reddy (@KetanReddy)
- Marlon "Marky" Ercillo (@mercillo)
- Rafael Campos (@rafbcampos)
0.7.0
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-pluginFix 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
- Update CLI to Allow Compilation to any File Type #146 (@KetanReddy)
- #132 - Adds a dev tools web plugin generator #133 (@rafbcampos)
- Dev tools profiler plugin #114 (@rafbcampos)
π Bug Fix
- Release main #150 (@intuit-svc)
- revert canary on forks #147 (@mercillo)
- trigger forked PR canary in correct format for CircleCI #145 (@hborawski)
- Fix Canary workflow for forks #144 (@hborawski)
- [circleCI] allows us to build from forks #135 (@mercillo)
- [bazel - npm registry] flipper-plugin-player-ui-devtools #138 (@lexfm)
- Fix Issue Validating Templates #125 (@KetanReddy)
- [Devtools]FlowPanel/ObjectInspector/PathFilter #131 (@lexfm)
- chore: add branch check to CI and bump locks #124 (@rafbcampos)
- Fix Bug when Validating
nullliterals #123 (@KetanReddy) - Devtools- panel layout fix and version upgrade #122 (@mercillo)
- Use Slim Bazel Image #119 (@KetanReddy)
- Added additional DSL types and component #118 (@mrigankmg)
- Devtools/default selected player #117 (@mercillo)
- Fix Parsing Indexed Access Types with Parentheses #112 (@KetanReddy)
- Fix Regression on Validation of Keys with Escaped Characters #110 (@KetanReddy)
π Documentation
- Docs/devtools - local development for extension #105 ([email protected] @mercillo)
Authors: 8
- @intuit-svc
- Alex Fimbres (@lexfm)
- Harris Borawski (@hborawski)
- Ketan Reddy (@KetanReddy)
- marky ercillo ([email protected])
- Marlon "Marky" Ercillo (@mercillo)
- Mrigank Mehta (@mrigankmg)
- Rafael Campos (@rafbcampos)