Releases: ember-nexus/api
Releases · ember-nexus/api
0.1.7
0.1.7 - 2024-05-17
Added
- Add
requestId
property to all logs to enable finding all logs made during a single request, closes [#306].
Changed
- Change naming of internal variables to replace
Uuid
withId
, because the variables are already type hinted and
Id
emerged as a better convention in the ecosystem. Closes [#292]. - Server exceptions with the HTTP status code 500 will now always log their message.
- Upgrade PHP to 8.3.7, closes [#310].
- Update PHP dependencies, related to [#310].
- Feature tests use production docker build in CI, closes [#297].
Fixed
- Fix wrong license identifier in Dockerfile, closes [#302].
0.1.6
0.1.6 - 2024-04-22
Added
- Introduce simpler request bodies for endpoints
POST /change-password
,POST /token
andPOST /register
. Old
behavior can be disabled with the feature flagfeatureFlag.280_OldUniqueUserIdentifierDisabled
. Closes [#280]. - Add first unit tests for controller, related to [#280].
- Enable PHP's strict type, closes [#284].
- Enable PHP Opcache extension, closes [#294].
- Add
brianium/paratest
as a parallel PHP Unit runtime, closes [#63].
Changed
- In the case of server errors during requests in production environments, i.e. HTTP status code 500, the error message
will be printed to the log. - Update PHP dependencies.
- Upgrade remaining GitHub actions, required due to deprecation of Node 16, closes [#240].
- Upgrade PHP Unit to major version 10, related to [#63].
Deprecated
- Original request body scheme of endpoints
POST /change-password
,POST /token
andPOST /register
is deprecated,
will be removed in version 0.2.0, part of [#280].
Removed
- Remove leak test due to incompatibility with PHP Unit 10+, related to [#63].
0.1.5
0.1.4
0.1.4 - 2024-03-10
Added
- Add support for the
If-Match
-header, closes [#232]. - Add support for the
If-None-Match
-header, closes [#233]. - Add links in error endpoints to http.dev explaining the current error status code, closes [#267].
- Add documentation for the GET
error/500/internal-server-error
endpoint, closes [#251].
Changed
- Increase reference dataset version to 0.0.24.
- Refactor parts of the Etag generation in order to make implementation of [#232] and [#233] easier.
Fixed
- Fix controller example tests for put element and patch element endpoints, uncovered in [#233].
0.1.3
0.1.2
0.1.2 - 2024-02-28
Changed
- Upgrade most GitHub actions, required due to deprecation of Node 16, closes [#240].
- Increase feature test timeout from 10 to 15 minutes.
- Upgrade PHP to 8.3.3, closes [#253].
- Upgrade upstream dependency NGINX Unit to 1.32.0, closes [#254].
- Upgrade dependencies, closes [#257].
- Add environment variable
COMPOSER_ALLOW_SUPERUSER=1
in release action to fix image build, fixes [#259].
0.1.1
0.1.1 - 2024-01-27
Added
- Add
/.well-known/security.txt
endpoint, documentation for it and (disabled) file check on container startup which
will crash the container intentionally if the file is missing. Check will be enabled with the release of version
0.2.0, see also [#225]. Closes issue [#131]. - Add HTTP header
Etag
to GET responses of element and collection endpoints, closes [#88]. - Add
beste/psr-testlogger
for creating easier unit tests, related to [#88].
Changed
- Constants are changed to contain type declarations, closes [#211].
- Remove timeout from PHP-tasks, closes [#220]. CI timeouts still apply.
- Upgrade PHP to 8.3.2, closes [#236]. Skips interim PHP version 8.3.1, which was tracked in [#223].
- Enable
composer mess
in CI due to fixed upstream issue, closes [#203]. - Enable PHP CS Fixer rule
self_accessor
, which prefersself
over the element's class name. - Change value of HTTP header
X-Powered-By
toEmber Nexus API
. - Move configuration files and scripts out of root folder, closes [#237].
- Replace flysystem AWS with
async-aws/s3
, closes [#235]. - Upgrade dependencies.
Fixed
- Fix monospace font in documentation (graph renderings), closes [#152].
- Fix bug where updated timestamps where not updated when they already where set to a value.
0.1.0
0.1.0 - 2023-12-16
Added
- Add documentation and automatic documentation tests for endpoint DELETE
/token
, closes [#208]. - Add command
token:revoke
, closes [#59].
Changed
- Switch license to AGPL-3.0-only, closes [#215].
- Remove commented and unused code, configuration etc., closes [#168].
- Remove test CI triggers "pull_request" and "fork", closes [#216].
- Rename command
user:token:create
totoken:create
, related to [#59]. - Tokens cached by Redis now automatically expire within 30 minutes or as their expiration date is reached, part of [#59].
Fixed
0.0.38
0.0.38 - 2023-12-08
Added
- Add documentation and automatic example generation for healthcheck command, closes [#184].
- Add 401 error case for the GET /me endpoint, closes [#190].
- Add parameters
page
andpageSize
to documentation of collection endpoints, closes [#189].
Changed
- Rename
_PartialUnifiedCollection
to_PartialElementCollection
, closes [#187]. - All CI tasks are configured to have timeouts, closes [#201].
- Upgrade dependencies, e.g. Symfony to 7.0 and intermediate Neo4j PHP dependencies as far as possible.
- Deactivate
composer mess
in CI due to upstream issue, tracked in [#203]. - Upgrade to Alpine 3.19, closes [#205].