-
-
Notifications
You must be signed in to change notification settings - Fork 22
Comparing changes
Open a pull request
base repository: symfony/ux-twig-component
base: v2.21.0
head repository: symfony/ux-twig-component
compare: v2.22.0
- 19 commits
- 26 files changed
- 3 contributors
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da12467 - Browse repository at this point
Copy the full SHA da12467View commit details
Commits on Nov 3, 2024
-
[TwigComponent] Ignore "nested" for Alpine & Vue attributes
Have lost time on Twig & the website 😓
Configuration menu - View commit details
-
Copy full SHA for b8fdb94 - Browse repository at this point
Copy the full SHA b8fdb94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c5e87f - Browse repository at this point
Copy the full SHA 7c5e87fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd16b3b - Browse repository at this point
Copy the full SHA fd16b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b86352f - Browse repository at this point
Copy the full SHA b86352fView commit details -
Improve __toString performance
Running scenario: Short attributes, empty rendered __toString() time: 0.00077986717224121 seconds __toString2() time: 0.00049495697021484 seconds Improvement: 36.533170284317% Running scenario: Short attributes, partial rendered __toString() time: 0.00054383277893066 seconds __toString2() time: 0.00031709671020508 seconds Improvement: 41.692240245506% Running scenario: Short attributes, full rendered __toString() time: 0.00030899047851562 seconds __toString2() time: 0.00012898445129395 seconds Improvement: 58.256172839506% Running scenario: Long attributes, empty rendered __toString() time: 0.0038020610809326 seconds __toString2() time: 0.0026099681854248 seconds Improvement: 31.353859660124% Running scenario: Long attributes, partial rendered __toString() time: 0.0032980442047119 seconds __toString2() time: 0.0022611618041992 seconds Improvement: 31.439311790646% Running scenario: Long attributes, full rendered __toString() time: 0.00074219703674316 seconds __toString2() time: 0.00014185905456543 seconds Improvement: 80.886604561516%
Configuration menu - View commit details
-
Copy full SHA for e8e9b1f - Browse repository at this point
Copy the full SHA e8e9b1fView commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8d8bdc9 - Browse repository at this point
Copy the full SHA 8d8bdc9View commit details -
minor #2316 [TwigComponent] Optimize TwigPreLexer (smnandre)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [TwigComponent] Optimize TwigPreLexer | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | Fix #... | License | MIT Refactor the following methods: * `check` * `consume` * `consumeComponentName` * `consumeUntil` * `consumeWhitespace` Remove the following methods: * `addDefaultBlock` * `consumeAttributeName` * `doesStringEventuallyExist` Commits ------- 9ec2a7187 [TwigComponent] Optimize TwigPreLexer
Configuration menu - View commit details
-
Copy full SHA for cb2fc0f - Browse repository at this point
Copy the full SHA cb2fc0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e868099 - Browse repository at this point
Copy the full SHA e868099View commit details
Commits on Nov 6, 2024
-
[TwigComponent] Improve BlockStack performances
BlockStack Quick Optimization Minor change with major impact
Configuration menu - View commit details
-
Copy full SHA for 9c2ed04 - Browse repository at this point
Copy the full SHA 9c2ed04View commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b0b771d - Browse repository at this point
Copy the full SHA b0b771dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c33d3f8 - Browse repository at this point
Copy the full SHA c33d3f8View commit details -
bug #2342 [TwigComponent] Fix directory separator in Debug command (c…
…lussiana, smnandre) This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Fix directory separator in Debug command | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Issues | | License | MIT Component template paths are retrieved by the `SplFileInfo` class, which returns paths containing backslashes on Windows and slashes on other operating systems. So on Windows environment, the command fails as the component `Card\Card.html.twig` is not formatted into `Card:Card` Commits ------- 41d9df084 Fix copy/paste error 3664af5d5 CS fix d906c6e62 fix: replace / by DIRECTORY_SEPARATOR
Configuration menu - View commit details
-
Copy full SHA for ca96b64 - Browse repository at this point
Copy the full SHA ca96b64View commit details
Commits on Nov 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db99014 - Browse repository at this point
Copy the full SHA db99014View commit details -
minor #2344 [TwigComponent] Improve ComponentFactory performances (sm…
…nandre) This PR was squashed before being merged into the 2.x branch. Discussion ---------- [TwigComponent] Improve ComponentFactory performances ComponentFactory Quick Optimization Minor change with.. mid impact (on large number of renders) Commits ------- 6486933ca [TwigComponent] Improve ComponentFactory performances
Configuration menu - View commit details
-
Copy full SHA for 0bede19 - Browse repository at this point
Copy the full SHA 0bede19View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2da79a - Browse repository at this point
Copy the full SHA e2da79aView commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c473b98 - Browse repository at this point
Copy the full SHA c473b98View commit details
Commits on Nov 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ac3a12 - Browse repository at this point
Copy the full SHA 7ac3a12View commit details
Commits on Nov 23, 2024
-
bug #2328 [TwigComponent] Ignore "nested" for Alpine & Vue attributes…
… (smnandre) This PR was squashed before being merged into the 2.x branch. Discussion ---------- [TwigComponent] Ignore "nested" for Alpine & Vue attributes | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #1839 | License | MIT Have lost time on Twig & the website 😓 Alternative implementation of #2325 Update: Improved `__toString` performance following `@Kocal` comments --- Now all these attributes are directly rendered | Framework | Prefix | Code Example | Documentation | |-----------------|---------|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------| | **Alpine.js** | `x-` | `<div x-data="{ open: false }" x-show="open"></div>` | [Documentation Alpine.js](https://alpinejs.dev/) | | **Vue.js** | `v-` | `<input v-model="message" v-if="show">` | [Documentation Vue.js](https://vuejs.org/guide/) | | **Stencil** | `@` | `<my-component `@onClick`="handleClick"></my-component>` | [Documentation Stencil](https://stenciljs.com/docs/) | | **Lit** | `@` | `<button `@click`="${this.handleClick}">Click me</button>` | [Documentation Lit](https://lit.dev/docs/) | Commits ------- 7bd2854d Improve __toString performance cb7809f8 Add str_contains in nested method 9f7c9c8f Performance 34524363 fabbot 1ed1db73 [TwigComponent] Ignore "nested" for Alpine & Vue attributes
Configuration menu - View commit details
-
Copy full SHA for 03177a4 - Browse repository at this point
Copy the full SHA 03177a4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.21.0...v2.22.0