Skip to content

Commit

Permalink
Update v8.md (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy authored Jul 19, 2024
1 parent 38f1a2b commit e3df99d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/guides/migrations/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,18 @@ Filters work almost exactly the same, unless you are constructing a custom one.
**old**: [v7 example](https://pixijs.com/7.x/examples/filters-advanced/custom)
**new**: [v8 example](https://pixijs.com/8.x/examples/filters-advanced/custom)
If you're using the [community filters](https://github.com/pixijs/filters), note that the `@pixi/filter-*` packages are no-longer maintained for v8, however, you can import directly from the `pixi-filters` package as sub-modules.
***old**
```ts
import { AdjustmentFilter } from '@pixi/filter-adjustment';
```
***new**
```ts
import { AdjustmentFilter } from 'pixi-filters/adjustment';
```
### Other Breaking Changes
- `DisplayObject` has been removed. `Container` is now the base class for all PixiJS objects.
Expand Down

0 comments on commit e3df99d

Please sign in to comment.