api.serlo.org

Public GraphQL API of https://serlo.org/

APACHE-2.0 License

Downloads
400
Stars
14
Committers
23

Bot releases are hidden (Show)

api.serlo.org - 0.13.0

Published by inyono almost 4 years ago

v0.13.0 - December 15, 2020 [YANKED]

api.serlo.org - 0.12.2

Published by inyono almost 4 years ago

v0.12.2 - December 9, 2020

Changed

  • uuid. Sort threads by createdAt in descending order.

Fixed

  • uuid. Throw UserInputError for malformed paths.

Internal

  • Implement SWR Background updates using Bee-Queue.
  • Implement Locks using Redlock.
api.serlo.org - 0.12.1

Published by inyono almost 4 years ago

v0.12.1 - December 9, 2020 [YANKED]

api.serlo.org - 0.12.0

Published by inyono almost 4 years ago

v0.12.0 - December 9, 2020 [YANKED]

api.serlo.org - 0.11.4

Published by inyono almost 4 years ago

v0.11.4 - November 30, 2020

Fixed

  • uuid. Unify alias type.

Internal

  • cacheable-data-source. Use in-memory lock.
  • cacheable-data-source. Add logs.
api.serlo.org - 0.11.3

Published by inyono almost 4 years ago

v0.11.3 - November 24, 2020

Fixed

  • Tweak max-ages of stale-while-revalidate caching.

Internal

  • alias. Remove source and timestamp from AliasPayload.
api.serlo.org - 0.11.2

Published by inyono almost 4 years ago

v0.11.2 - November 18, 2020

Added

  • We now have a stale-while-revalidate caching approach in place. This should lead to more correct behavior even when our listeners fail.
  • notification. Add objectId to AbstractNotificationEvent which reports the ID of the object that triggered the event (and can be used to unsubscribe).
  • uuid. Add threads.
api.serlo.org - 0.11.1

Published by inyono almost 4 years ago

v0.11.1 - November 18, 2020 [YANKED]

api.serlo.org - 0.11.0

Published by inyono almost 4 years ago

v0.11.0 - November 18, 2020 [YANKED]

api.serlo.org - 0.10.1

Published by inyono about 4 years ago

v0.10.1 - October 14, 2020

Fixed

  • Update dependencies.
api.serlo.org - 0.10.0

Published by inyono about 4 years ago

v0.10.0 - October 14, 2020

Added

  • Add subscriptions.

  • alias. Hide certain implementation details of our alias system by adding polyfills for typical use cases:

    • Resolve /:id to the given UUID.
    • Users now have /user/profile/:username as their alias.
    • Resolve /user/profile/:id and /user/profile/:username to the given user.
  • abstract-repository. Add revisions to Page and all entities.

Fixed

  • alias. Handle paths that are already URL-decoded correctly.
  • alias. Output URL-encoded paths.
  • uuid. Return null when the UUID does not exist.
api.serlo.org - 0.9.0

Published by inyono about 4 years ago

v0.9.0 - August 16, 2020

Breaking Changes

  • Consistently name GraphQL connection types *Connection and *Edge.
  • abstract-taxonomy-term-child. AbstractTaxonomyTermChild.taxonomyTerms now returns a GraphQL Connection.
  • navigation. Navigation.path now returns a GraphQL connection.
  • taxonomy-term. TaxonomyTerm.children now returns a GraphQL connection.
  • user. activeDonors now returns a GraphQL connection.

Added

  • user. Add activeAuthors and activeReviewers.
  • user. Add activeAuthor and activeReviewer to User.

Changed

  • abstract-taxonomy-term-child. AbstractTaxonomyTermChild.taxonomyTerms now returns a GraphQL connection.
  • navigation. Navigation.path now returns a GraphQL connection.
  • taxonomy-term. TaxonomyTerm.children now returns a GraphQL connection.
  • user. activeDonors now returns a GraphQL connection.

Internal

  • Sentry now expects the environment via the ENVIRONMENT environment variable.
api.serlo.org - 0.8.1

Published by inyono about 4 years ago

0.8.1 - August 11, 2020

Fixed

  • notification. GraphQL no longer fails when it encounters an unsupported notification event.

Internal

  • Add Sentry.
  • Remove Playground service.
api.serlo.org - 0.8.0

Published by inyono about 4 years ago

0.8.0 - August 10, 2020

Breaking Changes

  • notification. generalize actor / author / reviewer into actor and move into AbstractNotificationEvent
  • notification. Remove UnsupportedNotificationEvent.
  • uuid. Remove UnsupportedUuid.

Changed

  • notification. generalize actor / author / reviewer into actor and move into AbstractNotificationEvent

Removed

  • notification. Remove UnsupportedNotificationEvent.
  • uuid. Remove UnsupportedUuid.

Fixed

  • uuid. GraphQL no longer fails when it encounters an unsupported entity.
api.serlo.org - 0.7.4

Published by inyono about 4 years ago

0.7.4 - August 6, 2020

Added

  • notification. Add UnsupportedNotificationEvent.
  • uuid. Add UnsupportedUuid.

Fixed

  • uuid. GraphQL no longer fails when it encounters an unsupported entity.
api.serlo.org - 0.7.2

Published by inyono about 4 years ago

0.7.2 - August 4, 2020

Breaking Changes

  • notification. Completely new implementation. We now basically resolve the different event types in the API directly. See AbstractNotificationEvent.
  • uuid. Rename article to repository in ArticleRevision (and similarly for all other types that implement AbstractRevision.

Added

  • uuid. Add various base types that expose common properties. More specifically:

    • Add base type AbstractExercise for Exercise and GroupedExercise.
    • Add base type AbstractExerciseRevision for ExerciseRevision and GroupedExerciseRevision.
    • Add base type AbstractNavigationChild for Page and TaxonomyTerm.
    • Add base type AbstractRepository for AbstractEntity and Page.
    • Add base type AbstractRepositoryRevision for AbstractEntityRevision and PageRevision.
    • Add base type AbstractTaxonomyTermChild for entity types that appear as children of taxonomy terms.
  • uuid. Add field date to Page.

Changed

  • uuid. AbstractEntity, AbstractEntityRevision inherit the properties of AbstractUuid explicitly
api.serlo.org - 0.6.0

Published by inyono about 4 years ago

0.6.0 - July 21, 2020

Breaking Changes

  • navigation. Navigation["data"] is now returned directly as JSON.
  • uuid. Removed UnsupportedUuid.

Added

  • Add JSON & JSONObject GraphQL scalars.
  • Publish types as npm package @serlo/api.
  • Add activeDonors.
  • user. Add activeDonor.

Changed

  • navigation. Navigation["data"] is now returned directly as JSON.

Removed

  • uuid. Removed UnsupportedUuid.

Internal

  • Generate TypeScript types from GraphQL schema.
  • Previous de.serlo.org/api/uuid/*, *.serlo.org/api/navigation cache values won't work anymore.
  • uuid. Consistently require __typename instead of discriminator + optional type.
  • cache. Deprecated all _set* / _remove* mutations in favor of _setCache / _removeCache.
api.serlo.org - 0.5.8

Published by inyono over 4 years ago

0.5.8 - July 14, 2020

Fixed

  • notifications. Process object response as an array.
api.serlo.org - 0.5.7

Published by inyono over 4 years ago

0.5.7 - July 14, 2020

Fixed

  • auth. Add X-Forwarded-Proto header to Hydra request.
api.serlo.org - 0.5.6

Published by inyono over 4 years ago

0.5.6 - July 14, 2020

Added

  • notifications. Implement GraphQL Cursor Connection specification.
  • notifications. Add optional unread filter.