Releases: decentraland/js-sdk-toolchain
Releases · decentraland/js-sdk-toolchain
7.1.5
What's Changed
- fix: update endpoints for compliance by @menduz in #519
- feat: add 'oneOf' schema by @nicoecheza in #523
Full Changelog: 7.1.4...7.1.5
7.1.4
What's Changed
- feat: integrate file system to data-layer by @leanmendoza in #479
- fix: prevent cycles in tree + tests by @cazala in #475
- disable track stats via env var by @gonpombo8 in #482
- feat: add ADR-200 raycast by @menduz in #472
- do not use console. to prevent failing with --json output by @menduz in #484
- chore: put composite in a namespace and rename proto-message to avoid collissions by @leanmendoza in #485
- feat: entity inspector by @nicoecheza in #445
- add data layer tests by @gonpombo8 in #490
- fix: entity selected reparented by @cazala in #491
- feat: replace terser and rollup by esbuild by @menduz in #486
- feat: added Root entity to tree by @cazala in #489
- speedup compilation times of snapshots by @menduz in #492
- feat: inspector loads gltf from data-layer by @leanmendoza in #487
- chore: bundle media files, split reusable components, hot reload 🔥 by @cazala in #496
- feat: add Cloudflare url for inspector on PR comment by @nicoecheza in #497
- fix hardcoded value by @nicoecheza in #498
- feat: add testing module by @menduz in #495
- fix env var for analytics by @gonpombo8 in #499
- fix: remove model after deleting an entity by @cazala in #501
- add styles to inspector tree and context menu by @nicoecheza in #494
- feat: remove composite id and integrate with path/src property by @leanmendoza in #493
- Update/inspector theme based colors by @nicoecheza in #502
- feat: bring back workspaces by @menduz in #504
- revert: fix pointer events partially (#456) by @pbosio in #505
- fix: export doesn't work in case-insensitive file systems, also harden testing suite by @menduz in #506
- Editor undo<>redo by @gonpombo8 in #500
- feat: add reading data-layer ws from globalthis by @leanmendoza in #509
- feat: added Scene component by @cazala in #511
- implment adr-207 fixes by @menduz in #512
- remove extra redundant information by @menduz in #513
- feat: add/remove components on tree from context menu by @nicoecheza in #508
- upgrade protocol by @menduz in #515
- feat: change tree-node component for editor by @leanmendoza in #507
- update assets ui by @gonpombo8 in #516
- update ui for scene inspector by @gonpombo8 in #517
- feat: gizmos by @cazala in #514
- chore(deps): bump @dcl/explorer by @github-actions in #483
- chore: update playground ui container snippet by @pravusjif in #520
In unity-renderer new explorer version:
- fix: sdk7 scene bounds checker transform scale by @pravusjif in decentraland/unity-renderer#4781
- chore: update path in component creation document by @pravusjif in decentraland/unity-renderer#4876
- feat: sdk7 add more component group types by @pbosio in decentraland/unity-renderer#4855
- fix: sdk7 add pointer events internal component by @pbosio in decentraland/unity-renderer#4856
- fix: sdk7 UI pointer events by @pbosio in decentraland/unity-renderer#4857
- fix: SDK7 raycast protocol update by @pravusjif in decentraland/unity-renderer#4761
- fix: sdk7 billboard by @pbosio in decentraland/unity-renderer#4915
- fix: sdk7 pointer event collider for SkinnedMeshRenderer by @pbosio in decentraland/unity-renderer#4892
- fix: sdk7 Sphere MeshCollider by @pbosio in decentraland/unity-renderer#4904
- fix: sdk7 pointer hover events by @pbosio in decentraland/unity-renderer#4908
- fix: sdk7 ui position and visibility by @pbosio in decentraland/unity-renderer#4934
Full Changelog: 7.1.3...7.1.4
7.1.3
What's Changed
- chore: ui button disabled property by @pravusjif in #461
- Analytics improvements by @gonpombo8 in #474
- chore(deps): bump @dcl/explorer by @github-actions in #468
- feat: spawn point based on teleport position and nearest spawn point decentraland/unity-renderer#4648
- Support console.logs in the editor
Full Changelog: 7.1.2...7.1.3
** Explorer Changelog** https://github.com/decentraland/unity-renderer/pull/4677/commits
6.11.15
6.11.14
6.11.13
What's Changed
- chore: upgrade explorer package by @pravusjif in #470
Full Changelog: 6.11.12...6.11.13
7.1.2
What's Changed (dev)
- fix pointer events partially by @gonpombo8 in #456
- refactor: dumpCrdtState -> dumpCrdtStateToBuffer by @cazala in #455
- chore: ui input text value property by @pravusjif, @gonpombo8 in #457
- feat: change dataCompare to first length comparison and then lexicographical by @leanmendoza in #460
- chore: remove package-lock from playground-assets by @leanmendoza in #467
- fix: sdk7 uiInput onchange input result by @pravusjif in decentraland/unity-renderer#4546
- sdk7 Scene Bounds Checker fixes by @pravusjif in decentraland/unity-renderer#4474, decentraland/unity-renderer#4481
- refactor: sdk7 change crdt header and transform binary endianness (LE) by @pbosio in decentraland/unity-renderer#4591
- refactor: sdk7 delay internal components dirty state by @pbosio in decentraland/unity-renderer#4571
Full Changelog: 7.1.1...7.1.2
7.1.1
What's Changed
- fix leak of memory in react-ecs by @gonpombo8 in #451
- chore: add bundle js size for snapshots (tests) by @leanmendoza in #454
- refactor: change to serialization to little endian by @leanmendoza in #446
- fix: transform default values by @nicoecheza in #453
- Inspector w/ Babylon ftw by @cazala in #437
Full Changelog: 7.1.0...7.1.1
6.11.12
What's Changed
- chore: upgrade kernel renderer by @cazala in #337
- (sdk6) chore: move to
@dcl/explorer
and remove setupProxy by @leanmendoza in #449
Full Changelog: 6.11.11...6.11.12
7.1.0
Migration Guide Beta
A scene written using 7.0.5 will need some minor adjustments when migrated to 7.1.0 Below are the changes that need to be considered:
- Component ids are now a string, instead of a number. Also when defining a component, the order of parameters has been reversed. Now the ID goes first, then the schema.
// OLD export const PainterComponent = engine.defineComponent( { myField: Schemas.Number }, 1234 ) // NEW export const PainterComponent = engine.defineComponent( 'PainterComponent', { myField: Schemas.Number } )
- UI alignment properties have changed types, they're no longer enums, instead special string types.
💡 Tip: In Visual Studio Code, on each property press Ctrl + Space bar to see a dropdown of suggestions with the allowed values. - The
PointerHoverFeedback
component was renamed toPointerEvents
- The
Billboard
component has changed properties. It now only has oneBillboardMode
property, that takes an enum that sets several different modes. getRealmData()
is deprecated. UsegetRealm()
instead.isPreview()
is deprecated.getRealm()
now returns an additionalpreview
boolean property to use instead.getParcel()
is deprecated. UsegetSceneInfo()
instead.- The
albedoColor
in a PBRMaterial
component changed from typeColor3
to typeColor4
, to support transparent colors. - In
package.json
, thescripts
section must be changed to the following:"scripts": { "start": "sdk-commands start", "build": "sdk-commands build", "upgrade-sdk": "npm install --save-dev @dcl/sdk@latest", "upgrade-sdk:next": "npm install --save-dev @dcl/sdk@next" },
- Loading of texture images from external sources requires adding domain to an allowlist on the scene's scene.json file.
- When running a preview of an SDK7 scene via the command line, use
npm run start
andnpm run build
. Don't usedcl start
ordcl build
. The Decentraland Editor is encouraged as the defacto way to run scene previews. - The orientation of Textures is now flipped on plane and cube primitives. This results in a more intuitive result, as the default orientation of a plane now exhibits an image facing the right way. It is also consistent with how video textures are oriented.
- Fixed bug with rotating platforms, they now move players that are standing on them.
New features
Additionally, the following new features are now available:
- VideoTexture is now implemented for playing streamed videos
- New Schema types
Schemas.Vector3
andSchemas.Quaternion
. These are useful for defining custom components that store these common data types. - New
Entity
type has been added, it helps with type checking for operations that expect or return an entity - New
onMouseDown
andonMouseUp
properties for UI pointer events - New
Dropdown
UI element - New
Input
UI element - New
Label
UI element - New
texture
andtextureType
properties inuiBackground
let you set images on a UI element. - New
textureSlices
property lets you perform 9-Slice stretching of UI textures, to preserve proportions on the corners and margins. - Basic materials on the
Material
component have a newdiffuseColor
property to apply a plain color to a shade-less material. - The
PointerLock
component allows you to know if the player currently has the cursor locked
What's Changed
- feat add async fn for transports by @gonpombo8 in #352
- test: golden files runtime checks by @menduz in #358
- fix: pb types by @leanmendoza in #359
- chore: update protocol, add new restricted actions by @menduz in #361
- fix: exitCode=1 on failed compilation by @menduz in #364
- fix: Schemas.String was not working on sandboxed environment by @menduz in #367
- UiInput - UiDropdown - UiBackground - PointerEvents by @gonpombo8 in #357
- spike: documentation by @menduz in #365
- refactor: entity as number with versions by @leanmendoza in #360
- add key type for custom components by @gonpombo8 in #369
- Add initial CLI implementation for sdk by @nicoecheza in #366
- make an observable ECS by @menduz in #370
- add memory snapshots by @menduz in #373
- feat: crdt with gset by @leanmendoza in #362
- optimize bytebuffer to not allocate much memory by @menduz in #372
- fix: restore all 3 billboard modes by @menduz in #375
- lower opcodes resolution by @menduz in #377
- fix: Material
albedoColor
asColor4
by @pbosio in #376 - Add 'init' command by @nicoecheza in #378
- Update @dcl/protocol version by @nicoecheza in #380
- add non exposed list for kernel-rpc api by @gonpombo8 in #374
- feat: auto calculate component numbers and hide them in common cases by @menduz in #384
- Remove Enums from react ecs by @gonpombo8 in #386
- add devcontainer by @menduz in #387
- try to fix dependencies by @menduz in #388
- chore: use components approach by @menduz in #390
- Add CLI 'start' command by @nicoecheza in #389
- feat: call
crdtGetState
fromEngineApi
service on start by @pbosio in #381 - chore: move on to use @dcl/explorer by @leanmendoza in #395
- Add @dcl/inspector by @nicoecheza in #393
- Update npm inspector name to '@dcl/inspector' by @nicoecheza in #400
- feat api reference by @gonpombo8 in #391
- chore(deps): bump @dcl/schemas from 5.14.0 to 6.6.0 in /packages/@dcl/sdk by @dependabot in #399
- chore: update README by @eordano in #401
- feat: video player by @kuruk-mm in #363
- Update "init" command to move files out of folder after unzipping by @nicoecheza in #405
- fix: add albedo color to basic material by @0xD-Fabio in #406
- add Scene API by @gonpombo8 in #404
- update protocol package by @gonpombo8 in #408
- fix commands by @menduz in #407
- hotfix: hang "start" command until a SIGTERM is received by @menduz in #409
- feat: retrieve commands from multiple entities by @leanmendoza in #403
- feat: move crdt protocol to adr 117 rev. v2 by @leanmendoza in #385
- chore: bump @dcl/explorer by @leanmendoza in #411
- fix: Change basic material property from albedoColor to diffuseColor by @0xD-Fabio in #410
- add ci step to run e2e cli tests by @menduz in #413
- Add files-watcher for 'start' command by @nicoecheza in #398
- feat: change enum schema to force the final serialized schema by @leanmendoza in #415
- feat: add two-way CRDT snapshot tests by @menduz in #417
- refactor: remove @dcl/crdt & unify CRDT logic inside components by @menduz in #418
- fix UI default values for optioanls by @gonpombo8 in #419
- feat: append CRDT command by @menduz in #420
- feat: add support to schema description to inverse schema creation by @leanmendoza in #422
- fix: unresolved version in publish by @menduz in #425
- fix: revert isTriggered
entity
param to optional by @leanmendoza in #427 - Fix MessageBus by @gonpombo8 in #426
- fix: revert to getInputCommand without mandatory entity by @leanmendoza in https://github.com/decentraland/js-sdk-toolch...