Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] v0.29.x #3049

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

[Release] v0.29.x #3049

wants to merge 7 commits into from

Conversation

eonarheim
Copy link
Member

This PR contains the commits shipping in v0.29.3+

eonarheim and others added 6 commits May 5, 2024 11:23
Had a conversation here https://discord.com/channels/1195771303215513671/1232877562804305920

```
From example in https://excaliburjs.com/docs/entities:
const entityWithName = new ex.Entity({name: 'Named Entity'});


No overload matches this call.
  Overload 1 of 2, '(options: EntityOptions<any>): Entity<any>', gave the following error.
    Argument of type '{ name: string; }' is not assignable to parameter of type 'EntityOptions<any>'.
      Property 'components' is missing in type '{ name: string; }' but required in type 'EntityOptions<any>'.
  Overload 2 of 2, '(components?: any[] | undefined, name?: string | undefined): Entity<any>', gave the following error.
    Object literal may only specify known properties, and 'name' does not exist in type 'any[]'.ts(2769)
Entity.d.ts(58, 5): 'components' is declared here.


It seems that components is not optional here

export interface EntityOptions<TComponents extends Component> {
    name?: string;
    components: TComponents[];
}

```

Changes:
- Make `components` options optional here.
Closes #3022

## Changes:

- Fixed `getSceneName` to use `scene`.

I didn't know how to use `_sceneToInstance` cache, so I replaced it with something simpler.
Closes #3047

After the performance update to `ImageRenderer` in v0.29.2 there was uninitialized shared state that leaks between draw calls, which `Raster`s are especially susceptible to based on the call pattern.
Copy link

cloudflare-workers-and-pages bot commented May 5, 2024

Deploying excaliburjs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 817730b
Status: ✅  Deploy successful!
Preview URL: https://5bb5248b.excaliburjs.pages.dev
Branch Preview URL: https://release-v0-29-x.excaliburjs.pages.dev

View logs

Copy link

github-actions bot commented Jul 5, 2024

This PR hasn't had any recent activity lately and is being marked as stale automatically.

@github-actions github-actions bot added the stale This issue or PR has not had any activity recently label Jul 5, 2024
@github-actions github-actions bot removed the stale This issue or PR has not had any activity recently label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants