Skip to content

Releases: ember-nexus/api

0.1.7

17 May 10:41
74e25a1
Compare
Choose a tag to compare

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 with Id, 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

22 Apr 05:47
ed0b6d9
Compare
Choose a tag to compare

0.1.6 - 2024-04-22

Added

  • Introduce simpler request bodies for endpoints POST /change-password, POST /token and POST /register. Old
    behavior can be disabled with the feature flag featureFlag.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 and POST /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

12 Apr 11:24
1d0177c
Compare
Choose a tag to compare

0.1.5 - 2024-04-12

Changed

  • Upgrade upstream dependency NGINX Unit to 1.32.1, closes [#274].
  • Upgrade PHP to 8.3.6, closes [#278] and [#272].

0.1.4

10 Mar 16:25
f9a67d8
Compare
Choose a tag to compare

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

04 Mar 14:05
6ff2a4c
Compare
Choose a tag to compare

0.1.3 - 2024-03-04

Changed

  • Update NGINX Unit build steps in Dockerfile, replace Mercurial repo with new GitHub repo. Closes [#261].
  • Streamline documentation, closes [#263].

Removed

  • Remove supervisord and its dependencies like Python. Logs are directly sent to stderr. Closes [#244].

0.1.2

28 Feb 22:09
a2c3559
Compare
Choose a tag to compare

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

27 Jan 21:21
6aea4a4
Compare
Choose a tag to compare

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 prefers self over the element's class name.
  • Change value of HTTP header X-Powered-By to Ember 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

16 Dec 16:52
7208083
Compare
Choose a tag to compare

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 to token: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

  • Deleting tokens now deletes the correct token from Redis, fixes [#186].
  • Add missing feature tests, related to [#168].
  • Fix bug where datetime-similar properties could not be correctly returned to the user, uncovered during [#59].

0.0.38

08 Dec 13:37
9e9a9da
Compare
Choose a tag to compare

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 and pageSize 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].

Fixed

  • Fix logic to detect readable relations between user and group elements, fixes [#188].
  • Uncommented and fixed assertions in feature tests, related to [#188].

0.0.37

24 Nov 18:29
20fded1
Compare
Choose a tag to compare

0.0.37 - 2023-11-24

Changed

  • Move code to expire deleted tokens from Redis into separate event listener, closes [#111].
  • Upgrade PHP to 8.3.0, closes [#191].
  • Add parameter --ignore-platform-req=php to CI jobs.
  • Add env variable PHP_CS_FIXER_IGNORE_ENV=1 in cs:list CI job.