4.0.0-beta.1 released – Do not try to update from previous version until next release!

42.79K viewsUpdates
1

Hello Friends,

I would like to share some details about upcoming version  4.0.

We jumped directly from version 3.0.7 to 4.0 because we are introducing many breaking changes. Main purpose of v4.0 is performance and optimization. We have improved all of our existing queries. Better caching of objects and results.

You all will happy to hear that we succeeded in reducing interaction with mysql. In current version of AnsPress there are at least 110 MySql queries in question list but in v4.0 its reduced to just 18 queries.

Also we are working on serving static cached page for non-logged in users. For page caching site must have w3tc or WP Super cache installed.

Let us know your thoughts. (Please do not request new features which are not related to performance).

Thanks,

Rahul Aryan

Update: 28 October

I decided to split some features of AnsPress as extensions. There are many features in AnsPress which are not commonly used. This will keep AnsPress core simple. Following features will be available as extensions:

  1. Activities Feed
  2. Notifications
  3. User Profile
  4. Mentions
  5. Subscribers
  6. Reputations
  7. Hover Card

Deprecating apmeta table

Apmeta table is very confusing to lots of developers, as it is used to store many types of data. We will create separate table for each data type when wp meta table is not enough.

Update: 10th December

I can finally say, AnsPress core improvements are finally over. But before release next version, I want to give enough time to our contributors to test upcoming version. So, next week AnsPress 4.0 demo will be online.

Update: 19th December

Please check demo for version 4.0 at https://d.anspress.io/. Some extensions are not added yet.

Update: 20th December

One of the most awaited issue “uninstall failed” has been solved.

Update: 30th December (final update)

All extension merged to AnsPress core as addons. This was done for easy of handling updates and translation. All major features can be toggled using option panel.

Download 4.0.0-beta.1

https://github.com/anspress/anspress/archive/4.0.0-beta.1.zip

Amazing news! Thanks

@rahul shoud i update for space? got this error from my site Fatal error: “Allowed memory size of 41943040 bytes exhausted (tried to allocate 130968 bytes) in..”

This is a PHP memory limit issue. Please consult with hosting provider

@Tarrence 42 mb for WP is extremely low for anything. You need at least 128 mb to be able to add plugin etc etc. You better search for a good hosting provider than knows WP.

took care of it

we’ve a big database of 1000s of questions in bbpress. when we looked at migrating to Anspress the last time, performance was the major barrier. do you have any idea when 4.0 would be commited with the new changes? would be happy to be a beta tester…

Hello @abisaks90,
Optimization process is complete, I am rewriting old JS after that I will commit next alpha version.

Thanks Rahul. Any timeline on when the next alpha version would be committed?

Will you be fixing the issue with the broken activity links in the activity feed?

Hello Anthony, Its already fixed. And I am to release 2nd alpha version. But sadly you cannot update until its get stable.

1

Hello. Can we please have a quick update of the Anspress 4 status ? It has been more than a month with no activity.

 

Thanks

commented on answer

Hello @Cagliostro,
Sorry for not updating development status of 4.0. I am committing new updates daily to our private repo. I will update status of 4.0 and date of release in few days. Thanks for your patience.

Thanks. Looking forward to it.

1

When will AnsPress 4.0 be ready ?

-1

mini sitemap or using google xml sitemap

 

 

using default on wordpress captcha

0

I offered you money do solve issues in version 3. You refused and said they are “already on the list”. That list seems private, you disabled Github issues that would be a great tool for tracking issues. I claimed that you will fix all of them in October (4 days to go) and that “no need to pay”.

  1. Fix Avatar not showing and showing ‘false’ bug.
  2. Disable comment some formatting removal, I like comments to have be able to have links and newlines/paragraphs in it. I like them to have a text editor with buttons for html tags like on the wordpress.org forums or when you moderate comments in the admin panel. Maybe introduce a feature what tags are allowed like for WordPress comments. A filter to control would be enough for me though.(I guess there is not one, not looked at the code). I like the idea of slimming down comments but not even have the ability to link something and have paragraphs for my needs as I use Anspress as a support forum.
  3. Fix text editor not working for question editor.
  4. Fix the need to the Advanced WPLink Plugin and its setting to disable inline link functionality for anspress link functionality to work.
  5. Show ‘How to Ask’ and ‘How to Answer’ tabs to users by defaults but not to admins and moderators.
  6. Option to not make comments collapse by default, below on answers only, for Admin only.
  7. Fix: When I post commets or answers the loading symbol shows but then times out and I have to manually refresh the page. The comments are generally submitted but the ajax submit thing get stuck sometimes. And my server and connection are pretty fast.

So far 4. has been fixed on 3.0 and according to a Github commit I saw 1. seems to be fixed in 4.0 alpha.

2. is very important to me. I like to have basic formatting in comments, anspress just strips all html from comments. Its very bad for my use case (support forum). Also as said (again below) I don’t want. Can you point me to a filter/file, maybe something like the_content for anspress questions and comments. I guess I have to code that on my own …

I also noticed urls on their own line get caught by wp-autoembed filters (example youtube url on their own line) like its a normal post/page. I yet have to decide if I like that or not not sure if this is intended.

Are I looked over the commits and saw nothing about the other issues so I guess you will yet again fail to keep your promise https://github.com/anspress/anspress/commits/4.0 or am I missing something? Are/will any of the remaining issues be fixed?

commented on answer

Please consider checking master branch. Some of issue already fixed by our contributors.

0

V4 seems stuck for now.

commented on answer

Hi,
No its not. I am working on it. 🙂

That’s good news. Any new commits for 4.0? What’s the progress? 🙂

0

Is AskBug compatible with it?

commented on answer

No, not yet. Please do not update until it get stable. Currently there are many untested things in 4.0 branch.

1

Hello Rahul Aryan,when do you plan to release Anspress 4.0?

commented on answer

Just my opinion from what i see (Anspress 4a1), it will take a while.

There is a Anspress 4 branch at Github, if you are into testing you can try it. But i don’t suggest to do it on a production site.

Thanks Cagliostro!
I have a high expectation for Anspress 4 and ask on this forlum.
I look forward official release.
Thanks again!

@QA in Japan

I would say that you should go for 3.0.7 and do not wait for 4, because it may take a while and also has fondamental changes that may need some time to stabilize.

3.0.7 is pretty stable and if you don’t have a huge ammount of traffic, it will not hurt your performance.

my 2 cents

0

I would like to ask if Anspress 4.x will have a minimum version of WP as with PHP 5.5x.

 

Thanks !

commented on answer

Indeed what ? What minimum WordPress version will be required ?

Oh sorry. Min version of PHP will be 5.5 indeed. Also new version will be compatible with PHP 7.0

I’m not talking about PHP. I’m asking about WP version.

lo, no I will not update min version of WP.

0

I can’t believe how much work you input in this! Great news and super happy to see that performance and optimization are the main points of this update. Having a really good and stable base you guys can build on is the definitely the most important! 😀

Thanks and congrats!

PS: I’ll try to resume my work on documentation as soon as possible. 😉

commented on answer

Hey Fred,
Thanks for your feedback. Also after releasing 4.0 we will improve our site after that you can easily modify docs directly from our site.

0

Wow 4.0! Congrats Rahul. AnsPress has come such a long way 🙂

Looking forward to being able to try 4.0 soon

commented on answer

Thanks Chad. 🙂