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

42.38K 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.

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.

You are viewing 1 out of 23 answers, click here to view all answers.