Skip to content

Releases: ember-nexus/api

0.1.1

27 Jan 21:21
6aea4a4

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

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

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

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.

0.0.36

29 Oct 11:50
97c008e

Choose a tag to compare

0.0.36 - 2023-10-29

Added

  • Add explicit feature tests for parents, children and related endpoints to (not) include non-OWNS-relations, related
    to [#163].

Changed

  • Update readme and docker image labels.
  • Increase reference dataset version to 0.0.16, skipped 0.0.15 and 0.0.14 due to erroneous releases.
  • Upgrade PHP to 8.2.12, closes [#176].
  • Upgrade PHP dependencies and upgrade feature tests to use Neo4j 5.13.

Fixed

  • Fix index endpoint to include elements which are directly owned or are accessible. Fixes [#163].

0.0.35

26 Oct 07:50
b80a33f

Choose a tag to compare

0.0.35 - 2023-10-26

0.0.34

26 Oct 07:31
5ff2dc5

Choose a tag to compare

0.0.34 - 2023-10-26

Added

  • New releases include two new labels, 'major.minor' and 'major'. Closes [#151].
  • Release action will now update version string in documentation automatically.

0.0.33

25 Oct 21:58
d4bc07a

Choose a tag to compare

0.0.33 - 2023-10-25

Added

  • Add diverse unit tests.
  • Add timeout to some GitHub Action jobs.
  • Command examples are now automatically checked.
  • More commands are documented.
  • Add git and ssh to development Docker image.
  • Add GET /me endpoint and associated documentation, examples and tests. Closes [#142].
  • Add GET /token endpoint (again), this time finished. Closes [#72].

Changed

  • Rename term "session" to "token", closes [#145].
  • Finalise documentation for the POST /token endpoint, closes [#49].
  • Implement changes from [#161], closes it.
  • Improve documentation, closes [#162].
  • Elements in endpoint get index are now sorted via the element's id.
  • Relations in collection endpoints are sorted by their id as well.
  • Upgrade upstream dependency NGINX Unit to 1.31.1.

Fixed

  • Property normalization is now standardized across endpoints, and uses events. Closes [#166].
  • Implement changes from [#161].
  • Fix id and link properties in parents, children and related endpoints are wrong, closes [#164].

0.0.32

30 Sep 08:27
0b98a97

Choose a tag to compare

0.0.32 - 2023-09-30

Added

  • Add POST /change-password endpoint, including tests and documentation. Closes [#121].

Changed

  • Increase reference dataset version to 0.0.11, skipped 0.0.10.
  • Change default anonymous user to 2d376349-c5e2-42c8-8ce0-d6f525256cf7.
  • Upgrade PHP to 8.2.11.

Removed

  • Test command, closes [#138].

Fixed

  • Backup will only load JSON files, before that every file was tried to be loaded.

0.0.31

26 Sep 09:40
4247c19

Choose a tag to compare

0.0.31 - 2023-09-26

Added

  • Add healthcheck command.
  • Add healthcheck command in Docker image, closes [#106].
  • Add feature test to test that tokens not owned by any user are invalid, closes [#118].
  • Add feature test to test that tokens owned by two or more users are invalid as well, closes [#118].

Changed

  • Upgrade MongoDB version from 6.x to 7.x in Docker Compose examples.
  • Move guzzlehttp/guzzle to production dependency, as it is required by healthcheck.
  • Change test CI runner of feature test jobs to ubuntu-latest in order to reduce CI cost.
  • Feature test CI is back to using 4 vCPUs, although one of the 4 test scenarios is removed to save costs.