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

Question: Smarty 3.2 #353

Closed
ghost opened this issue Apr 24, 2017 · 12 comments
Closed

Question: Smarty 3.2 #353

ghost opened this issue Apr 24, 2017 · 12 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 24, 2017

Hello,

Almost 4 years ago you posted something about smarty 3.2 being created, do you have any idea when this new version of smarty will be published? Or do you perhaps already have a dev version for this which simply hasn't been posted yet?

Sincerely yours,

@flexjoly
Copy link

Hi,
I have the same question
Maybe we can start a fork to develop a follow-up, since smarty -development seems to be death and uwetews is not responding (much).

Smarty needs to be updated for php 7 and must start using namespaces and the errorhandling must be updated.

Any volunteers?

Greetz, flexjoly

@pinkminds
Copy link

We run smarty on PHP 7, so no problem with that. But it would indeed be good to know if the development of smarty is still active and by when next releases are scheduled...

@uwetews
Copy link
Contributor

uwetews commented Jun 19, 2017 via email

@Gemorroj
Copy link

@uwetews, wish you good health 💊

@pinkminds
Copy link

@uwetews, get better soon!

@ghost
Copy link
Author

ghost commented Jun 19, 2017

@uwetews, I hope you will be better soon! I know I am asking a lot, but could you give us like some sort of update on the progress of smarty 3.2? Because we all are very curious as to what you are planning to do with smarty 3.2!!!

@uwetews
Copy link
Contributor

uwetews commented Oct 21, 2017

Smarty 2 version 2.6.28 is the latest version which does support PHP 4.
However if you want to use composer it does require as minimum PHP 5.3.

PHP 4 support has been dropped in Smarty 2 version 2.6.29 and higher.

Smarty 2 version 2.6.29 and higher is compatible with PHP versions:
5.2 and higher
7.0
7.1
and even the upcomming 7.2

Corresponding PHPUnit tests will be published i the next couple of days.

For Smarty 3.1 I have tested PHP 7.2 compatibility back to version 3.1.24, but I think earlier version should also run.

PHPUnit tests for PHP 7.2 have already been added to the 3.1.32-dev version of Smarty 3.1.

I have dropped the development of Smarty 3.2, but working now on Smarty 4.

I will release a feature list in the near future.

@flexjoly
Copy link

flexjoly commented Nov 20, 2017

I am very happy to read this!! Thanks @uwetews !
Can we help with development?

@jcfalcone
Copy link

Where can I check the feature list for Smarty 4 or a release date? I'm deciding if I should change the template engine in some projects...

@AnrDaemon
Copy link
Contributor

I have a suggestion. Start 3.2 branch to support PHP7+ only.
In PHP7, there's a number of changed which can't be addressed in a backward-compatible manner without a lot of ugly code.
The most prominent is a change in exception handling (i.e. \Throwable)

@wisskid
Copy link
Member

wisskid commented Apr 13, 2020

Smarty 3.1 is compatible with php versions up to 7.4.
Creating a new version (which would have to be a version 4) just to drop support for php5 doesn't seem to provide any value to anyone. (Though you really should not be using PHP5 anymore!)

@wisskid wisskid closed this as completed Apr 13, 2020
@AnrDaemon
Copy link
Contributor

AnrDaemon commented Apr 17, 2020

I suggested to start a new branch, that would aim for PHP 7+ without introducing major changes to codebase. It would prove valuable for you as a developer first, the reasoning should be quite obvious.

Namespaces and such could be left for 4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants