Releases: decentraland/js-sdk-toolchain
6.11.1
What's Changed
- fix: fix
@dcl/schemas
version to 4.8.0 by @leanmendoza in #148
Full Changelog: 6.11.0...6.11.1
6.11.0
What's Changed
This version updates the versions of kernel and renderer to use the latest features
- chore(deps): bump @dcl/unity-renderer by @github-actions in #130
- chore: bump @dcl/kernel by @leanmendoza in #132
- chore: fix renderer type by @menduz in #133
- chore: update versions by @menduz in #135
Full Changelog: 6.10.0...6.11.0
6.10.0
What's Changed
This release includes the following:
-
Exclude specific avatars from modifier areas, for example to only hide certain players: https://docs.decentraland.org/development-guide/avatar-modifiers/#exclude-avatars
-
Query the Decentraland time, to know if a player is experiencing the scene as day or night https://docs.decentraland.org/development-guide/user-data/#get-decentraland-time
-
All API calls have a configurable timeout. By default, requests fail after 30 seconds, but you can set a custom timeout https://docs.decentraland.org/development-guide/network-connections/#request-timeout
-
Fix: Height fixed when attaching entities to player name tag
-
Fix: New skybox works on all OS systems in preview
-
Fix: Support AvatarTexture in UITexture
-
More characters supported in TextShape and UIText, for example ÁáÉéÍíÓóÚúûüūç
-
Keyboard numbers no longer directly trigger emotes (hit hotkey B first), This leaves keys 1,2,3 & 4 fully free to configure custom actions with no side-effects. https://docs.decentraland.org/development-guide/click-events/#global-button-events
-
Portable experiences now have more controlled actions that need to be explicitly added on requiredPermissions: https://docs.decentraland.org/development-guide/scene-metadata/#required-permissions
Full changelog
- feat: add
excludeIds
field toAvatarModifierArea
by @pbosio in #101 - Update fetch types by @gonpombo8 in #119
- feat: add
getDecentralandTime
toEnvironmentAPI
by @pbosio in #102 - chore: unify requestinit by @menduz in #121
- fix: support
AvatarTexture
inUIImage
component by @pbosio in #122 - chore(deps): bump @dcl/unity-renderer by @github-actions in #127
- chore: update min CLI version by @menduz in #128
- chore: bump @dcl/schemas from 3.13.0 to 4.1.0 in /packages/decentraland-ecs by @dependabot in #126
- chore: bump minimist from 1.2.5 to 1.2.6 by @dependabot in #125
- chore: bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #109
Full Changelog: 6.9.1...6.10.0
6.9.1
Fix regression on profile image handling
What's Changed
- deprecate snapshots face by @gonpombo8 in #112
- chore(deps): bump @dcl/unity-renderer by @github-actions in #113
Full Changelog: 6.9.0...6.9.1
6.9.0
What's Changed
- Workspaces: Run a single preview that includes multiple scenes and/or smart wearables
- Debug Tools menu: Located to the right of the minimap, this UI menu is exclusive to preview mode and will expand to include a lot more in the future.
The Debug Tools menu currently includes:
- Current Player position: See the player’s current position at all times, this is often a good reference to position entities
- Bounding Boxes: Toggle the display of bounding boxes on all meshes. This is useful to ensure models are positioned properly within scene limits.
- Toggle the FPS panel on and off easily
Breaking changes
- Functions that fetch data about a player no longer return all the variations of the player snapshots. Now only face256 and body are supported, these in the future will also be deprecated. See https://docs.decentraland.org/development-guide/user-data/#get-player-data
Use
AvatarTexture
instead https://docs.decentraland.org/development-guide/materials/#avatar-portraits. - Deprecated the
dcl export
. To share a scene preview via a link, you can now deploy your scenes to Heroku. These new scene previews are multiplayer and should be a lot easier to maintain long-term, as they run exactly like a local preview, but on a remote server. https://docs.decentraland.org/development-guide/deploy-to-now/
Reference
- build(deps): bump @dcl/schemas from 3.1.1 to 3.5.0 in /packages/decentraland-ecs by @dependabot in #94
- feat: workspaces by @leanmendoza in #89
- chore: bump @dcl/schemas from 3.5.0 to 3.7.0 in /packages/decentraland-ecs by @dependabot in #103
- chore: bump @dcl/unity-renderer & @dcl/kernel by @pbosio in #110
- feat: add feature flag endpoint by @leanmendoza in #111
Full Changelog: 6.8.0...6.9.0
6.8.1
Patch empty scenes with regular empty scenes (remove christmas scenes)
What's Changed
- chore: update kernel and renderer (6.8 patch) by @leanmendoza in #105
Full Changelog: 6.8.0...6.8.1
6.8.0
-
Attach entities to any player’s position (not just the current player)
-
Event when clicking on other players that are also in the scene
-
Customizable events when pointing at an entity, via the OnPointerHoverEnter and OnPointerHoverExit components
-
Change the player’s camera mode when entering an area
-
Get the player’s platform (to know if the player is accessing Decentraland via the browser or the native app)
-
Use AvatarTexture to fetch a player’s portrait, passing their address
-
Fixed bug with animation.play(false), where animations always played from the start
-
Fixed bug with changing camera mode while having entity attached
-
Fixed bug with movePlayerTo(), it sometimes used the world position rather than the scene position
-
Deprecated Camera.instance.cameraMode, the observable should be used instead
-
Fetch requests to external APIs now run on a single thread. This has no effect on how the scene needs to be coded, but all requests done by the scene will be added to a queue and performed one by one.
6.7.0
What's Changed
Interaction
- Global button events are now available for the following buttons:
-
POINTER
(left mouse click on PC)
-PRIMARY
(E on PC)
-SECONDARY
(F on PC)
-JUMP
(space bar on PC)
-FORWARD
(W on PC)
-LEFT
(A on PC)
-RIGHT
(D on PC)
-BACK
(S on PC)
-WALK
(Shift on PC) Docs
New buttons available:
- ACTION_3
(1 on PC)
- ACTION_4
(2 on PC)
- ACTION_5
(3 on PC)
- ACTION_6
(4 on PC)
> Note: Number buttons 1,2,3 & 4 on PC currently control emotes, but this behavior will be changed in the future, leaving these buttons free for assigning to anything that might make sense in your scene.
Manage players/avatars
- getConnectedPlayers() Returns an array with all the players that are currently being rendered in the surroundings
- getPlayersInScene() Returns an array with all the players that are standing in the scene and being rendered
- Player connected/disconnected event: triggers when other players start being rendered / stop being rendered in your surroundings, regardless of they’re on the same scene
- Player walked into scene event: triggers when any player enters or leaves the scene parcels See Docs
- getUserData() now returns additional data about the current player, including
- list of wearables
- bodyshape, color, hair color, eye color
- snapshot images of the avatar in different sizes, bodyshape, color, etc
- a
version
number. Use this if you encounter conflicting data, to know what version is more recent.
- getProfileIfExist() returns data on other players that are currently being rendered, by passing their address. It returns the same data as getUserData(). Docs
Manage realms/islands
- Fetch player’s current island: getCurrentRealm() now returns a new “room” property for the island Docs
- Event when player changes realm or island Docs
Other events
- Event when Video starts/stops/pauses
- Profile changed event: Triggers when current player changes wearables, or anything else in their profile
- Cursor locked event: Triggers when current player presses Esc to release cursor, or clicks on scene to lock cursor again See. Docs
Fixes
- fix: UIIput text now includes the typed string as an input in the OnTextSubmit() function
- fix: When opening multiple tabs in preview, other avatars are displayed consistently across all tabs
- Warnings are displayed in preview if the scene passes any of the limitations
- Remove several unused legacy properties on various components and UI elements
Full list of commits
- feat: add more keyboard events by @pbosio in #31
- feat: add onPointerLockedStateChange event by @leanmendoza in #42
- fix: missing modules declarations by @pbosio in #44
- chore: update renderer version by @pbosio in #48
- fix: UIInputText value update by @pbosio in #40
- fix: update EnvironmentAPI declaration (layer deprecated) by @pbosio in #49
- feat: add event for peer's avatar connected or disconnected by @pbosio in #47
- chore: update kernel and renderer versions by @pbosio in #51
- refactor: rename action buttons by @pbosio in #45
- feat: add /preview-wearables request to mock preview wearables by @leanmendoza in #46
- feat: add onRealmChangedObservable by @pbosio in #50
- chore: remove ItemASsetJson type. by @leanmendoza in #52
- chore: update @dcl/schemas version by @leanmendoza in #55
- chore: remove unused components properties by @pbosio in #56
- feat: add enter and leave scene events for remote user by @pbosio in #53
- update posix version by @leanmendoza in #57
Full Changelog: 6.6.9...6.7.0
v6.6.9
6.6.8
- dependency url params for renderer and kernel https://docs.decentraland.org/development-guide/preview-scene/#debug-a-scene
- fix: entities that are out of bounds are marked in red
- fix: the PredefinedEmote enum supports all new emotes
- fix: invisible UI elements can no longer interfere with clicking or hover hints
- fix: debug panel is now visible again
- fix: enable preview to run via https