-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Abandon the usage of peerDependencies #8630
Conversation
Does this have anything in place to prevent mixing versions? |
We always publish every package for every version, regardless of changes. It is strongly recommended that you use all of the same version and not cherry-pick, since all the same versions are tested together. Again, this isn't an issue for bundles, which has explicit dependencies versions. This change doesn't prevent someone from mixing and matching. In fact, maybe there's a valid use-case for this if you, say, want a small bug fix in Version correctness is maybe a warning that a CLI checking tool might point out. |
One other thing I'll add, is that using packages falls a little more into the advance, non-casual user territory. Our documentation, for example, is not aligned (yet) around the packages. You have to be a little savvier around not using a bundle in order to save some code size cost. |
commit 4485a49 Author: Michael Herrmann <[email protected]> Date: Mon Sep 12 18:03:57 2022 -0700 fix node WebGLRenderingContext commit 6f7960c Merge: 60ab3b3 da99322 Author: Michael Herrmann <[email protected]> Date: Fri Sep 9 14:45:27 2022 -0700 Merge branch 'dev' of github.com:michaeljherrmann/pixijs into dev commit da99322 Author: Matt Karl <[email protected]> Date: Fri Sep 9 11:59:45 2022 -0400 v7.0.0-alpha commit 8c3bbaf Author: Matt Karl <[email protected]> Date: Fri Sep 9 10:28:36 2022 -0400 Update package-lock.json, fix internal dependencies commit 1786b8f Merge: b9d624e 28e6b28 Author: Matt Karl <[email protected]> Date: Fri Sep 9 10:19:54 2022 -0400 Merge branch 'dev' into next commit 28e6b28 Author: Matt Karl <[email protected]> Date: Fri Sep 9 09:48:31 2022 -0400 v6.5.3 commit b9d624e Merge: 8d717a5 0ec50af Author: Matt Karl <[email protected]> Date: Thu Sep 8 13:21:17 2022 -0400 Merge branch 'dev' into next commit 0ec50af Author: Zyie <[email protected]> Date: Thu Sep 8 18:20:51 2022 +0100 Fix injectGlobalMixins script (pixijs#8634) commit 8d717a5 Author: Matt Karl <[email protected]> Date: Thu Sep 8 10:39:11 2022 -0400 Abandon the usage of peerDependencies (pixijs#8630) commit 7d9aed6 Merge: c4b1322 c1db3d8 Author: Matt Karl <[email protected]> Date: Wed Sep 7 12:46:44 2022 -0400 Merge branch 'dev' into next commit c1db3d8 Author: dev7355608 <[email protected]> Date: Wed Sep 7 15:03:29 2022 +0200 Cache sampler uniform values (pixijs#8587) commit d99d149 Author: dev7355608 <[email protected]> Date: Wed Sep 7 15:02:46 2022 +0200 Allow integer as sampler uniform value (pixijs#8586) commit c4b1322 Author: Matt Karl <[email protected]> Date: Wed Sep 7 09:01:50 2022 -0400 Remove browser builds for packages (pixijs#8626) commit 5823bec Author: Matt Karl <[email protected]> Date: Thu Sep 1 12:51:47 2022 -0400 Cleanup Core Dependencies (pixijs#8619) commit 6e0272f Merge: bb4e2fa db99845 Author: Matt Karl <[email protected]> Date: Fri Aug 26 11:44:02 2022 -0400 Merge branch 'dev' into next commit db99845 Author: Samuel Maycock <[email protected]> Date: Fri Aug 26 16:43:07 2022 +0100 Fix CanvasSpriteRenderer to render sprites with rotated BaseTextures (pixijs#8615) commit bb4e2fa Author: Zyie <[email protected]> Date: Fri Aug 26 15:08:38 2022 +0100 Decentralize Asset extensions, remove Loader (pixijs#8616) commit e169d5b Merge: 0b4e269 cdec607 Author: Matt Karl <[email protected]> Date: Thu Aug 25 16:05:16 2022 -0400 Merge branch 'dev' into next commit cdec607 Author: Zyie <[email protected]> Date: Thu Aug 25 21:03:51 2022 +0100 Fix split bitmap font loading (pixijs#8617) commit f74f181 Author: Zyie <[email protected]> Date: Thu Aug 25 15:51:00 2022 +0100 Fix Assets relative path matching (pixijs#8614) commit 28da8e7 Author: Stafford Williams <[email protected]> Date: Thu Aug 25 23:39:42 2022 +1000 Fix grammar on InteractionManager documentation (pixijs#8609) commit 0b4e269 Merge: 72c77c2 48ab2f2 Author: Matt Karl <[email protected]> Date: Wed Aug 24 09:59:36 2022 -0400 Merge branch 'dev' into next commit 48ab2f2 Author: Matt Karl <[email protected]> Date: Wed Aug 24 09:43:00 2022 -0400 v6.5.2 commit 4ccb3be Merge: d38270f 4b86c27 Author: Matt Karl <[email protected]> Date: Wed Aug 24 09:36:25 2022 -0400 Merge branch 'dev' commit 72c77c2 Merge: 1f6cf85 4b86c27 Author: Matt Karl <[email protected]> Date: Tue Aug 23 14:03:47 2022 -0400 Merge branch 'dev' into next commit 4b86c27 Author: Zyie <[email protected]> Date: Tue Aug 23 19:01:59 2022 +0100 Add cross-compatible path utils for Assets (pixijs#8605) commit c9e43d3 Author: Talha Özdemir <[email protected]> Date: Tue Aug 9 17:17:47 2022 +0300 Add support for base64 images with Assets (pixijs#8559) commit fdbdc45 Author: Dominik Frankowicz <[email protected]> Date: Fri Aug 12 17:19:50 2022 +0200 Add pixijselementals.com to "Learn" section of main readme (pixijs#8581) commit 27889a1 Author: Nicholas Welch <[email protected]> Date: Fri Aug 12 11:17:50 2022 -0400 Fix implementing test "should load texture array correctly" (pixijs#8578) commit fca5a8e Author: ryiwamoto <[email protected]> Date: Sat Aug 13 00:16:49 2022 +0900 Fix documentations for PIXI.DisplayObject#childRemoved (pixijs#8582) commit 1f6cf85 Author: Matt Karl <[email protected]> Date: Fri Aug 12 11:16:05 2022 -0400 Explicitly prioritize the LoaderParser extensions (pixijs#8577) commit 02c6d70 Merge: be10876 ac965dd Author: Matt Karl <[email protected]> Date: Thu Aug 11 12:11:04 2022 -0400 Merge branch 'dev' into next commit ac965dd Author: Zyie <[email protected]> Date: Wed Aug 10 22:13:21 2022 +0100 Add missing SVG loader to Assets (pixijs#8574) commit be10876 Merge: 4975264 3c205ce Author: Matt Karl <[email protected]> Date: Wed Aug 10 12:29:52 2022 -0400 Merge branch 'dev' into next commit 3c205ce Author: Zyie <[email protected]> Date: Wed Aug 10 17:23:27 2022 +0100 Fix Assets' onProgress with multiple bundles (pixijs#8565) commit 0b06a7d Author: Matt Karl <[email protected]> Date: Wed Aug 10 12:22:27 2022 -0400 Fix Assets' text-based loading of fnt BitmapFonts (pixijs#8568) commit 6f136de Author: Serhii Hrebeniuk <[email protected]> Date: Wed Aug 10 18:00:46 2022 +0300 Fix jittering caused by incorrect BitmapText text width (pixijs#8536) commit e514f65 Author: Nicholas Welch <[email protected]> Date: Wed Aug 10 10:59:26 2022 -0400 Fix typo in Resolver basePath setter (pixijs#8569) commit e02c696 Author: Mark Hayes <[email protected]> Date: Wed Aug 10 10:58:23 2022 -0400 Loosen Graphics.drawPolygon types to use IPointData (pixijs#8573) commit 4975264 Author: Matt Karl <[email protected]> Date: Tue Aug 9 11:08:41 2022 -0400 Refactor Extensions to Self-Install (pixijs#8558) commit cbd17ca Merge: ba4c9be eb64a3e Author: Matt Karl <[email protected]> Date: Tue Aug 9 10:25:08 2022 -0400 Merge branch 'dev' into next commit ba4c9be Merge: 30e3c3d fd9c930 Author: Matt Karl <[email protected]> Date: Tue Aug 9 10:23:59 2022 -0400 Merge branch 'dev' into next commit eb64a3e Author: Zyie <[email protected]> Date: Tue Aug 9 15:18:56 2022 +0100 Add installation error help to readme (pixijs#8563) commit d38270f Author: Talha Özdemir <[email protected]> Date: Tue Aug 9 17:17:47 2022 +0300 Add support for base64 images with Assets (pixijs#8559) commit fd9c930 Author: Matt Karl <[email protected]> Date: Mon Aug 1 11:04:09 2022 -0400 Update package-lock.json commit b095861 Author: Matt Karl <[email protected]> Date: Mon Aug 1 09:18:33 2022 -0400 Fix more uses of document.createElement('canvas') (pixijs#8523) commit 30e3c3d Author: Matt Karl <[email protected]> Date: Mon Aug 1 09:18:33 2022 -0400 Fix more uses of document.createElement('canvas') (pixijs#8523) commit f6b2059 Author: Matt Karl <[email protected]> Date: Sun Jul 24 17:01:20 2022 -0400 Fix core usage of extensions commit 12b10da Merge: 1721128 a344b58 Author: Matt Karl <[email protected]> Date: Sun Jul 24 16:57:57 2022 -0400 Merge branch 'dev' into next commit a344b58 Author: Matt Karl <[email protected]> Date: Sun Jul 24 16:42:14 2022 -0400 v6.5.1 commit 27365ba Author: Matt Karl <[email protected]> Date: Sun Jul 24 16:29:31 2022 -0400 Hotfix: Make sure core isn't bundled in ticker, canvas-sprite, canvas-mesh (pixijs#8527) commit 1721128 Author: Matt Karl <[email protected]> Date: Sat Jul 23 15:37:31 2022 -0400 Remove transpile hacks commit 7bfe4f7 Author: Matt Karl <[email protected]> Date: Sat Jul 23 07:31:20 2022 -0400 Update package-lock.json commit c79f46c Merge: 0a986ca 63b9f0c Author: Matt Karl <[email protected]> Date: Sat Jul 23 07:29:39 2022 -0400 Merge branch 'dev' into next commit 63b9f0c Author: Matt Karl <[email protected]> Date: Fri Jul 22 14:19:24 2022 -0400 v6.5.0 commit bff5c47 Author: Matt Karl <[email protected]> Date: Fri Jul 22 11:36:10 2022 -0400 Move VERSION to core instead of bundle (pixijs#8520) commit 1db04bb Author: Julien Marcou <[email protected]> Date: Thu Jul 21 17:58:31 2022 +0200 Fix LoaderResource tests (pixijs#8518) commit 6fc416e Author: Matt Karl <[email protected]> Date: Thu Jul 21 09:54:55 2022 -0400 Fix app and ismobilejs typings (pixijs#8517) commit 611ca6a Author: Matt Karl <[email protected]> Date: Wed Jul 20 16:41:10 2022 -0400 v6.5.0-rc.4 commit c2bcc64 Author: Matt Karl <[email protected]> Date: Wed Jul 20 16:39:17 2022 -0400 Fix error with assets import path commit 0027841 Author: Matt Karl <[email protected]> Date: Wed Jul 20 16:13:08 2022 -0400 v6.5.0-rc.3 commit 380906d Author: Matt Karl <[email protected]> Date: Wed Jul 20 13:59:20 2022 -0400 FIx extensions for esm modules to .mjs (pixijs#8505) commit 326fa79 Author: Matt Karl <[email protected]> Date: Tue Jul 19 12:45:20 2022 -0400 Adds exports to package.json in Assets (pixijs#8504) commit 97c6f6b Author: Matt Karl <[email protected]> Date: Tue Jul 19 12:43:58 2022 -0400 Adds missing types commit 0a60c58 Author: Sudhan <[email protected]> Date: Tue Jul 19 22:13:04 2022 +0530 Exports to assets package.json (pixijs#8504) commit 0a986ca Author: Matt Karl <[email protected]> Date: Mon Jul 18 17:12:34 2022 -0400 Remove nextRoundedRectBehavior and nextLineHeightBehavior (pixijs#8501) commit 675b7aa Author: Julien Marcou <[email protected]> Date: Mon Jul 18 21:43:32 2022 +0200 Fix Jest not exiting properly when killing the http server (pixijs#8513) Co-authored-by: Matt Karl <[email protected]> commit b5dd432 Author: Matt Karl <[email protected]> Date: Mon Jul 18 08:07:12 2022 -0400 Fix bundle ismobilejs (pixijs#8506) commit 559e3df Author: Matt Karl <[email protected]> Date: Fri Jul 15 14:39:15 2022 -0400 v6.5.0-rc.2 commit 011feab Author: Zyie <[email protected]> Date: Fri Jul 15 15:22:15 2022 +0100 Fixes Node not starting (pixijs#8497) commit ffa04c3 Author: Carlos Llera <[email protected]> Date: Fri Jul 15 16:21:30 2022 +0200 Fixes ReferenceError: Can't find variable: ImageBitmap (pixijs#8499) commit d81beda Author: Matt Karl <[email protected]> Date: Thu Jul 14 18:31:56 2022 -0400 Fix the hello world example for Node bundle (pixijs#8495) commit b928798 Author: Matt Karl <[email protected]> Date: Thu Jul 14 18:29:11 2022 -0400 Fix Rollup warning, ignore used node dependencies (pixijs#8493) commit 16005f8 Author: Matt Karl <[email protected]> Date: Thu Jul 14 14:17:24 2022 -0400 v6.5.0-rc commit c0877e0 Author: Zyie <[email protected]> Date: Thu Jul 14 16:49:48 2022 +0100 Chore: Add script to clean types (pixijs#8492) commit 4776c29 Author: Zyie <[email protected]> Date: Thu Jul 14 15:11:38 2022 +0100 Add detection parsers to Assets (pixijs#8482) commit 9c6c295 Merge: 84096a7 063870f Author: Matt Karl <[email protected]> Date: Thu Jul 14 09:52:45 2022 -0400 Chore: Drop add/remove from resolvers/parsers/caches (pixijs#8488) remove add/remove parsers commit 063870f Author: Zyie <[email protected]> Date: Thu Jul 14 13:58:04 2022 +0100 remove add/remove parsers commit 84096a7 Author: Matt Karl <[email protected]> Date: Thu Jul 14 06:45:45 2022 -0400 Chore: Eliminate redundant handling code for extensions (pixijs#8485) commit 6ff95ce Author: Raymond <[email protected]> Date: Wed Jul 13 18:12:00 2022 -0400 Fixes pixijs#7272 Cubemap resources not being reuploaded on GL context loss (pixijs#8479) commit a7f477d Author: Zyie <[email protected]> Date: Wed Jul 13 12:54:13 2022 +0100 Rename resolver parsers (pixijs#8483) commit e619a74 Author: Zyie <[email protected]> Date: Wed Jul 13 01:16:03 2022 +0100 First-Class Support for Rendering with Node.js (pixijs#8397) commit 001c2e1 Author: Matt Karl <[email protected]> Date: Mon Jul 11 10:18:24 2022 -0400 Update lock file to include missing peers commit 7c94608 Author: Matt Karl <[email protected]> Date: Sun Jul 10 07:03:59 2022 -0400 Chore: Remove Renderer cast in Accessibility (pixijs#8476) commit 444194a Author: Matt Karl <[email protected]> Date: Sun Jul 10 07:03:17 2022 -0400 Chore: Improve autoDetectRenderer (pixijs#8475) commit 2e6255b Author: dev7355608 <[email protected]> Date: Sat Jul 9 21:55:44 2022 +0200 Chore: Upgrade to earcut 2.2.4 (pixijs#8478) commit f7c17dc Author: Matt Karl <[email protected]> Date: Fri Jul 8 12:03:10 2022 -0400 Target ES2017 for browsers and ES2020 for module distribution (pixijs#8472) commit 34d693b Author: Mat Groves <[email protected]> Date: Fri Jul 8 07:58:51 2022 +0100 fix silly screen width / height mixup commit 7326aa5 Author: Matt Karl <[email protected]> Date: Thu Jul 7 11:03:16 2022 -0400 Remove InteractionManager, EventSystem as default (pixijs#8425) commit f49e403 Author: Matt Karl <[email protected]> Date: Thu Jul 7 10:43:15 2022 -0400 Add missing import commit 10aaa20 Merge: 9b82827 eff0299 Author: Matt Karl <[email protected]> Date: Wed Jul 6 20:29:50 2022 -0400 Merge branch 'dev' into next commit eff0299 Author: Mat Groves <[email protected]> Date: Wed Jul 6 21:12:51 2022 +0100 Feature: Asset Package (modern alternative to Loader) (pixijs#8365) commit 9b82827 Author: Matt Karl <[email protected]> Date: Tue Jul 5 17:22:38 2022 -0400 Fix import issue in canvas-renderer (pixijs#8469) commit 51b55fd Author: Zyie <[email protected]> Date: Tue Jul 5 17:22:26 2022 +0100 Chore: Update readme (pixijs#8466) commit 0751174 Merge: 4cb7c4d 06395ea Author: Matt Karl <[email protected]> Date: Mon Jul 4 15:40:50 2022 -0400 Merge branch 'dev' into next commit 06395ea Author: Zyie <[email protected]> Date: Mon Jul 4 20:09:37 2022 +0100 Chore: Remove unused lib references from packages (pixijs#8463) commit 4cb7c4d Merge: acd50f4 8ea9132 Author: Matt Karl <[email protected]> Date: Fri Jul 1 10:25:03 2022 -0400 Merge branch 'dev' into next commit 8ea9132 Author: Matt Karl <[email protected]> Date: Fri Jul 1 10:23:37 2022 -0400 Chore: Simplify extra TSConfig files (pixijs#8460) commit a13d800 Author: Julien Marcou <[email protected]> Date: Thu Jun 30 20:00:07 2022 +0200 Fix incorrect `saturate` blend mode mapping (pixijs#8458) commit acd50f4 Merge: d43f31a 85ba270 Author: Matt Karl <[email protected]> Date: Thu Jun 30 09:21:21 2022 -0400 Merge branch 'dev' into next commit 85ba270 Author: Matt Karl <[email protected]> Date: Thu Jun 30 09:19:21 2022 -0400 Chore: Remove unused tsconfig files (pixijs#8455) commit d43f31a Merge: 9a025e5 de63538 Author: Matt Karl <[email protected]> Date: Mon Jun 27 10:00:47 2022 -0400 Merge branch 'dev' into next commit de63538 Author: Julien Marcou <[email protected]> Date: Mon Jun 27 15:59:59 2022 +0200 Add generic typing for Container children (pixijs#8433) commit 9a025e5 Merge: 18ebd1b 6846041 Author: Matt Karl <[email protected]> Date: Mon Jun 27 09:33:06 2022 -0400 Merge branch 'dev' into next commit 6846041 Author: Serhiy Yashchuk <[email protected]> Date: Mon Jun 27 16:32:19 2022 +0300 Fix EventSystem issue when tap event never fires (pixijs#8439) commit 726cdaf Author: Milton Candelero <[email protected]> Date: Mon Jun 27 10:26:28 2022 -0300 EventSystem always fire a pointertap after click or touch (pixijs#8431) commit 18ebd1b Merge: b1ea76c 5842e02 Author: Matt Karl <[email protected]> Date: Fri Jun 24 15:34:20 2022 -0400 Merge pull request pixijs#8440 from pixijs/next-dev commit 5842e02 Merge: b1ea76c 9b724f2 Author: Zyie <[email protected]> Date: Fri Jun 24 19:56:33 2022 +0100 Merge branch 'dev' into next commit b1ea76c Author: Matt Karl <[email protected]> Date: Fri Jun 24 10:20:07 2022 -0400 Convert Prepare, Extract to Systems (pixijs#8427) commit 9b724f2 Author: Zyie <[email protected]> Date: Fri Jun 24 15:18:30 2022 +0100 Chore: Add consistent import type (pixijs#8434) commit 9794ece Author: Matt Karl <[email protected]> Date: Thu Jun 23 09:05:10 2022 -0400 Chore: Convert systems into extensions (pixijs#8423) commit db2b7a2 Merge: 5e33eb4 ffddc9d Author: Matt Karl <[email protected]> Date: Wed Jun 22 13:47:47 2022 -0400 Merge pull request pixijs#8422 from pixijs/chore/dev Chore: merge dev into next commit f215d87 Author: dev7355608 <[email protected]> Date: Wed Jun 22 19:44:20 2022 +0200 Add color masks (pixijs#8353) commit ffddc9d Merge: 5e33eb4 d733e30 Author: Zyie <[email protected]> Date: Wed Jun 22 14:54:07 2022 +0100 Merge branch 'dev' into next commit d733e30 Author: Zyie <[email protected]> Date: Wed Jun 22 14:40:44 2022 +0100 Chore: Convert Tests To Jest (pixijs#8411) commit 5e33eb4 Author: Matt Karl <[email protected]> Date: Wed Jun 22 09:36:06 2022 -0400 Install BatchRenderer By Default (pixijs#8416) commit 3824915 Author: Matt Karl <[email protected]> Date: Wed Jun 22 08:54:59 2022 -0400 Remove AbstractBatchRenderer and BatchPluginFactory (pixijs#8420) commit b841857 Author: Matt Karl <[email protected]> Date: Tue Jun 21 13:13:43 2022 -0400 Chore: nullish coalescing and optional chaining (pixijs#8419) commit 9feac0e Author: Matt Karl <[email protected]> Date: Tue Jun 21 09:30:18 2022 -0400 Use startsWith and includes methods (pixijs#8418) commit aac23cd Author: Matt Karl <[email protected]> Date: Tue Jun 21 09:10:16 2022 -0400 Remove polyfills, ES6 output target by default (pixijs#8417) commit fb15c78 Author: Matt Karl <[email protected]> Date: Tue Jun 21 08:56:09 2022 -0400 Remove v6 deprecations (pixijs#8415) commit 2399fdd Author: Matt Karl <[email protected]> Date: Mon Jun 20 20:25:02 2022 -0400 Update InteractionManager.ts commit 9428029 Merge: ccc1516 b98acb1 Author: Matt Karl <[email protected]> Date: Mon Jun 20 20:24:18 2022 -0400 Merge branch 'dev' into next commit b98acb1 Author: Matt Karl <[email protected]> Date: Mon Jun 20 15:34:30 2022 -0400 Feature Extensions API (pixijs#8410) commit 03f8b02 Author: CJ Gammon <[email protected]> Date: Mon Jun 20 13:58:45 2022 -0500 Fix interactivity in ShadowDOM (pixijs#8406) commit 779cdd9 Author: Lukas Steinmetz <[email protected]> Date: Mon Jun 20 20:58:05 2022 +0200 Fix CanvasSpriteRenderer behaving differently to WebGL (pixijs#8408) commit 57f64d8 Author: Marton <[email protected]> Date: Mon Jun 20 20:40:30 2022 +0200 Clarified docs with BaseTexture.fromBuffer default options (pixijs#8413) commit 60ab3b3 Merge: 7bc0f71 5e900b7 Author: Michael Herrmann <[email protected]> Date: Thu Jun 16 16:53:09 2022 -0700 Merge branch 'pixijs-dev' into dev commit 5e900b7 Merge: 7bc0f71 2ce6099 Author: Michael Herrmann <[email protected]> Date: Thu Jun 16 16:52:36 2022 -0700 Merge branch 'dev' of https://github.com/pixijs/pixijs into pixijs-dev commit 7bc0f71 Merge: 7cfadbc a87bb87 Author: Michael Herrmann <[email protected]> Date: Tue Jun 7 14:35:59 2022 -0700 Merge branch 'dev' into dev commit 2ce6099 Author: Matt Karl <[email protected]> Date: Tue Jun 14 16:46:02 2022 -0400 Chore: Remove deprecation warnings in unit-tests (pixijs#8403) commit 84745b7 Author: Matt Karl <[email protected]> Date: Tue Jun 14 16:44:53 2022 -0400 Change BasePrepare's upload to be Promise-based (pixijs#8401) commit de50550 Author: dev7355608 <[email protected]> Date: Tue Jun 14 22:44:17 2022 +0200 Fix interaction and events usage of MaskData (pixijs#8400) commit 9284ddf Author: dev7355608 <[email protected]> Date: Mon Jun 13 21:06:36 2022 +0200 Fix triangulation of circular shape with radius 0 (pixijs#8311) commit 4e1ab76 Author: Matt Karl <[email protected]> Date: Mon Jun 13 12:31:40 2022 -0400 Deprecate Callback for Spritesheet.parse (pixijs#8396) commit 9aeaeb7 Author: dev7355608 <[email protected]> Date: Mon Jun 13 18:30:39 2022 +0200 Fix Extract's and CanvasExtract's pixels and canvas frame parameter (pixijs#8388) commit fb6c197 Author: dev7355608 <[email protected]> Date: Mon Jun 13 18:23:49 2022 +0200 Fix scissor mask bugs (pixijs#8376) commit 3a3324a Author: dev7355608 <[email protected]> Date: Mon Jun 13 18:21:41 2022 +0200 Calculate bounds of graphics geometry based on the vertices (pixijs#8343) commit 7cfadbc Author: Michael Herrmann <[email protected]> Date: Tue Jun 7 14:34:37 2022 -0700 skipUpdate in getBounds when calculating scissor mask commit ccc1516 Author: Mat Groves <[email protected]> Date: Fri Jun 3 15:43:44 2022 +0100 Remove AbstractRenderer, move its functionality to Systems (pixijs#8331) * - create mutisample system - create base renderer (needs better name) - create plugin system * - split out webGL renderer into systems - created first pass of `IRenderer` interface - add init to `ISystem` - make destroy optinoal on `ISystem` * - convert canvas renderer to use systems - `CanvasmaskManager` converted to `CanvasmaskSystem` - renamed `BaseRenderer` to `SystemManager` - removed `AbstractRenderer` - created a `ISystemConfig` - created a `StartupSystem` * - fill out destroy functions for new systems - resolution getter performance pass * - fix up the destory methods so they run in reverse to the init methods * - move system to correct folders - move `IRenderableObject` and `IRenderableContainer` to `IRenderer` file * EventSystem * - system doc update for `renderer` * update generic plugin docs * webGL system documentation * final round of docs * final doc tweaks * docs for SystemManager * fix the interface locations for `IRenderingContext` * Update packages/accessibility/src/AccessibilityManager.ts Co-authored-by: Matt Karl <[email protected]> * fix packages/core refes * learn to spell.. * final types fix! * docs and missing getters on renderer * feedback * added deprications.. * rename context to canvasContext * linto * tweak background constructor * more deprications * fix bad import * make blit an option when rendering to a renderTexture * test tweaks * fix tests * fix type * feedback * tweak doc for system * add #is_DEBUG * fix docs * Update packages/core/src/view/ViewSystem.ts Co-authored-by: Matt Karl <[email protected]> * rename `RenderSystem` -> `ObjectRendererSystem` `viewSystem.view` -> `viewSystem.element` * remove cast * Update CanvasObjectRendererSystem.ts * merges * fix busted text * lint * tweak to IRenderer * oops * lint some more Co-authored-by: Matt Karl <[email protected]> Co-authored-by: Zyie <[email protected]> commit a87bb87 Author: Matt Karl <[email protected]> Date: Thu Jun 2 11:30:51 2022 -0400 v6.4.2 commit 9aae40b Author: Matt Karl <[email protected]> Date: Thu Jun 2 11:27:56 2022 -0400 Fix lint errors commit a9acf1b Author: Matt Karl <[email protected]> Date: Thu Jun 2 11:22:13 2022 -0400 v6.4.1 commit 8042c00 Author: Lazar Ljubenović <[email protected]> Date: Thu Jun 2 17:15:20 2022 +0200 Clarify that the object's mask must be in the subtree of its parent in the docs (pixijs#8378) commit a804d7f Author: Zach Wade <[email protected]> Date: Thu Jun 2 11:12:04 2022 -0400 Fix: Resolves issue where "exports" broke Webpack (pixijs#8381) commit 524eb15 Merge: 01bda79 e7eaa71 Author: Matt Karl <[email protected]> Date: Wed Jun 1 17:11:13 2022 -0400 Merge branch 'dev' into next commit e7eaa71 Author: Matt Karl <[email protected]> Date: Wed Jun 1 17:07:26 2022 -0400 v6.4.0 commit 01bda79 Merge: 55ca370 db74023 Author: Matt Karl <[email protected]> Date: Wed Jun 1 15:53:29 2022 -0400 Merge branch 'dev' into next commit db74023 Author: Matt Karl <[email protected]> Date: Wed Jun 1 14:28:24 2022 -0400 Chore: Flatten the packages structure (pixijs#8374) commit 8153970 Author: Zyie <[email protected]> Date: Wed Jun 1 13:50:21 2022 +0100 Fix TypeScript issues in tests (pixijs#8370) commit be5acab Author: Zach Wade <[email protected]> Date: Tue May 31 08:34:15 2022 -0400 Chore: Add "types" and "exports" to package.json (pixijs#8371) commit cde15df Author: dev7355608 <[email protected]> Date: Wed May 25 23:49:54 2022 +0200 Skip shapes with negative dimensions in buildCircle (pixijs#8310) commit db82418 Author: Zyie <[email protected]> Date: Wed May 25 18:57:26 2022 +0100 Chore: improve documentation linting (pixijs#8342) commit c95b7d5 Author: Zyie <[email protected]> Date: Wed May 25 15:37:24 2022 +0100 Improve TypeScript ESLint rules (pixijs#8341) commit 45052e2 Author: Aysen69 <[email protected]> Date: Mon May 23 17:55:03 2022 +0300 Adds resolution property in BitmapText (pixijs#8357) commit 55ca370 Author: dev7355608 <[email protected]> Date: Thu May 19 15:14:48 2022 +0200 Auto-transform to identity when using generateTexture (pixijs#8349) commit f0bc7fc Author: dev7355608 <[email protected]> Date: Thu May 19 15:12:26 2022 +0200 Set PREFER_ENV default to WEBGL2 for all devices (pixijs#7974) commit f07f871 Author: dev7355608 <[email protected]> Date: Wed May 18 18:12:44 2022 +0200 Update color uniform of MeshMaterial if alpha mode changes (pixijs#8330) commit 0aa699e Author: Jax Reiff <[email protected]> Date: Wed May 18 09:11:35 2022 -0700 Fix for 'attributes is null' exception on mobile (pixijs#8344) commit 9e3adf0 Author: Shukant Pal <[email protected]> Date: Tue May 17 08:34:00 2022 -0400 Add KTXLoader support for loading key-value data from texture (pixijs#8251) commit f07d003 Author: charlie <[email protected]> Date: Wed May 11 16:20:31 2022 -0400 Add documentation for Spritesheet usage without Loader (pixijs#8321) commit 23ab209 Author: dev7355608 <[email protected]> Date: Mon May 9 16:03:48 2022 +0200 Fix round line-join with extreme angles (pixijs#8325) commit 25f4bbb Merge: 169ac41 8703129 Author: Matt Karl <[email protected]> Date: Wed May 4 13:45:39 2022 -0400 Merge branch 'main' into dev commit 8703129 Author: Matt Karl <[email protected]> Date: Wed May 4 13:39:38 2022 -0400 v6.3.2 commit 2e584fa Author: Matt Karl <[email protected]> Date: Wed May 4 11:02:10 2022 -0400 Hotfix cached OffscreenCanvas in TextMetrics (pixijs#8318) commit 169ac41 Author: Matt Karl <[email protected]> Date: Wed May 4 11:02:10 2022 -0400 Hotfix cached OffscreenCanvas in TextMetrics (pixijs#8318) commit f77d35d Author: Milton Candelero <[email protected]> Date: Wed May 4 11:16:46 2022 -0300 Fix Discord URL (pixijs#8319) commit 3e453c2 Author: Milton Candelero <[email protected]> Date: Wed May 4 11:16:46 2022 -0300 Fix Discord URL (pixijs#8319) commit b8754e3 Author: dev7355608 <[email protected]> Date: Wed May 4 15:51:45 2022 +0200 Fix Text updates to remove recursive transform update (pixijs#8314) commit 3258470 Author: nouhmaster <[email protected]> Date: Tue May 3 15:34:30 2022 +0200 Add options to Extract pixels method (pixijs#8247) commit 2c2b605 Author: Shukant Pal <[email protected]> Date: Tue May 3 08:32:49 2022 -0500 Chore: Upgrade to TypeScript 4.3.0 and make setters for ObservablePoints accept IPointData (pixijs#8274) commit b0bfad4 Author: Michael Herrmann <[email protected]> Date: Tue May 3 06:30:55 2022 -0700 Fix DisplayObject destroyed flag and event (pixijs#8297) commit a520915 Author: Matt Karl <[email protected]> Date: Tue May 3 09:14:24 2022 -0400 v6.3.1 commit c63e917 Author: dev7355608 <[email protected]> Date: Fri Apr 29 23:24:09 2022 +0200 Render to an empty filter texture if the filter source frame does not intersect the current source frame (pixijs#8091) commit 8cf0248 Author: Matt Karl <[email protected]> Date: Fri Apr 29 11:47:32 2022 -0400 Chore: refactor DOM-based side effects (pixijs#8307) commit 0ca6025 Author: SergeiSomin <[email protected]> Date: Mon Apr 25 22:13:22 2022 +0200 Fix hardcoded pluginName for getting MAX_TEXTURES in Graphics (pixijs#8244) commit f288f68 Author: Matt Karl <[email protected]> Date: Mon Apr 25 11:40:34 2022 -0400 Favor Discord for PixiJS community chat (pixijs#8298) commit df15d29 Author: AshsHub <[email protected]> Date: Mon Apr 25 16:35:50 2022 +0100 Fix Texture types to support CubeResource (pixijs#8301) commit 7b20ea9 Author: Matt Karl <[email protected]> Date: Thu Apr 21 15:22:18 2022 -0400 Extending the amount of times for stale (pixijs#8293) commit 80716b0 Author: dev7355608 <[email protected]> Date: Mon Apr 11 15:21:48 2022 +0200 Fix bounds of polygon drawing without fill (pixijs#8239) commit 7a80ee9 Author: dev7355608 <[email protected]> Date: Mon Apr 11 14:55:20 2022 +0200 Fix documentation of Rectangle.intersection and Rectangle.union (pixijs#8240)
Context
The usage of
peerDependencies
have been a huge problem plaguing PixiJS v6. Different package managers resolve them differently causing lots of double-installed packages, especially when upgrading or using 3rd-party PixiJS plugins. Also, our packages use peers in a somewhat complex graph way making debugging this difficult. Here are some examples how this manifests for users: #8621, #8186, #8545 or #7816. We even had to make this wiki about how to upgrade.Overview
This change abandons
peerDependencies
completely in describing the relationships between packages.For our bundles (
pixi.js
,pixi.js-legacy
and@pixi/node
) this change will not impact users. If anything, it will make doing upgrades much simpler and with fewer headaches.For those using individual packages, it's important that you install the complete set of requirements. For this we will also update https://pixijs.io/customize as well as add
pixiRequirements
field in the package.json to be able to script resolution (maybe we can create a simple CLI in core to do this check, e.g.,pixi-doctor
).The consequence of missing a package, is that build-tools or runtime fail at a missing package. This is much easier for a user to understand. For instance, compare the above linked issues to a TypeScript error like this:
The solution here is easy:
yarn add @pixi/graphics
ornpm install @pixi/graphics
.This change isn't perfect and I wish we could get peers to work, but this approach is easier for users to self-debug and has fewer mysterious double-install side effects (missing types, missing runtime plugins, etc). Also, it's a change that we can continue to build upon to make the ecosystem work with all package managers more gracefully.