Articles

Anahita Project

Anahita Project's Articles

Rastin Mehr

Rastin Mehr

October 05 2019

What are the changes in Anahita 4.4.1

Anahita 4.4.1 Birth release provides several security fixes and enhancement. For those of you who are developing custom apps for Anahita, you need to be aware of these changes. 

Signup endpoint has changed

The REST endpoint for signing up a new person is now a POST request to https://www.yourdomain.com/people/signup.json

String attribute validations

We have improved field validation in Anahita entities, and you can enforce minimum, and maximum length constrains to an entity attribute. To follow a convention, we are using the numbers: 3-30, 8-80, 10-100, 1,000, 5,000, and 40,000. Here is an example of how to use limit constrains in the Person entity: 

https://github.com/anahitasocial/anahita/blob/master/src/components/com_people/domains/entities/person.php#L55

Default selected Item in configurations forms

In the component or plugin configuration files, we used to use the term default for the selected item in a list. We are now using the term selected, which is more appropriate for lists. Here is an example:

https://github.com/anahitasocial/anahita/blob/master/src/components/com_people/config.json#L16

#Anahita #BirthRelease

Umesh liked this

Additional Information

Locations

    Powered by Anahita