After finishing and closing a large chunk of tickets for the tickets that we have planned for the beta release, we had a minor panic…
Api Open Studio Admin has largely been neglected (because it was just supposed to be a quick fix MVP and will be completely replaced before v1.0.0) while we focused on the backbone part of this project: the API (Api Open Studio). However, it was no longer compiling, due to package.json issues and it needed updating to utilise and match changes in the API core resources that it consumed.
This has been quickly resolved and new release tags added so that are now on packagist:
- apiopenstudio/apiopenstudio
- apiopenstudio/apiopenstudio_admin (you will need node<14 to run this, due to limitations on dependencies)
If you are updating an existing instance of Api Open Studio, please make sure that you run the updates:
- Log-in to the server that contains the API code
- run
./includes/scripts/update.php
In addition,Api Open Studio Docker Dev has been updated to also implement PHP7.4 or PHP8.0.
Summary of changes in 1.0.0-alpha3:
- Wholesale changes in the wiki
- Changed the token auth to JWT tokens.
- Updated gitlab-ci:
- Use the new
naala89/bookdown-rsync
,naala89/phpdoc-rsync
,naala89/apiopenstudio-nginx-php-7.4
andnaala89/apiopenstudio-nginx-php-8.0 images
.
- Fixed gitlab runner artifacts.
- Tests run on all merge requests and deploy to wiki/phpdoc on merges.
- Use the new
- Deprecated Cascade logger and created a wrapper for Monolog.
- Removed bookdown/bookdown from the composer dev dependencies.
- Deprecated the Mapper processors.
- Created new JsonPath and XmlPath processors.
- Added functional tests for user and role.
- Created new traits for datatype conversion.
- Implemented casting on all input vars like VarPost.
- Create/update CRUD processors now return the value result, rather than true/false.
- Deprecated the Mapper processors.
- New JsonPath processor.
- New XmlPath processor.
- New Cast processor.
- Automated tests now for ApiOpenStudio on PHP7.4 & PHP8.0.
- New code to make globally converting data types in processors easy.
- You can now specify the expected input data type (automatically cast) in the following processors with a new
expected_type
attribute:var_post
var_get
var_uri
var_request
var_body