How to rebuild custom app to new architecture with pyproject.toml

when creating a new application we see in documentation a pyproject.toml file but when creating a new application with the latest bench we still have requirements.txt

https://frappeframework.com/docs/v14/user/en/tutorial/create-an-app

Which version of bench are you using?
To find out which version you are using bench --version.
I use bench 5.22.6, and when creating any App frappe, it creates an pyproject.toml file, not requirements.txt.
Please use the pip3 install --upgrade frappe-bench command to update bench and then create a new App by using the bench new-app app_name command
Let me know if the problem persists
Thank you