Skip to content

Releases: Joystream/orion

Orion-v4.1.1

08 Nov 15:30
353e9da
Compare
Choose a tag to compare

Affected components:

  • Processor (non-breaking changes)
  • GraphQL server (non-breaking changes)

Bug Fixes:

  • Fixed video relevance calculation algorithm by:
    • Ignoring publishedBeforeJoystream date if it's in the future,
    • Fixing a bug with Joystream/YT creation weight formula,
    • Introduced an age limit of 365 days to prevent negative relevance score
  • Fixed ineffective videoRelevanceManager calls in GraphQL server due to videoRelevanceManager not being turned on.
  • Fixed a bug causing both GraphQL server and Processor services to run video relevance and language update loops (which only processor should be running)
  • Fixed imports in GraphQl server and Processor by moving shared utilities to root utils directory to prevent mix-ups.

Orion-v4.1.0

07 Nov 11:49
03d4e5c
Compare
Choose a tag to compare

Affected components:

  • Migrations (marketplace_tokens view)
  • GraphQL server (tokensWithPriceChange and topSellingToken queries, setCrtMarketCapMinVolume mutation)
  • Config: CRT_MARKET_CAP_MIN_VOLUME_JOY (new)
  • Docker compose

Changes

  • tokensWithPriceChange, marketplaceTokens and topSellingToken queries now only take the currently active AMM sale into account when calculating values such as volume / liquidity / price change.
  • marketplaceTokens query now takes into account a configurable CRT_MARKET_CAP_MIN_VOLUME_JOY value which allows specifying a volume threshold below which tokens are considered to have no market cap.
  • added minVolume argument to tokensWithPriceChange query to allow filtering out tokens w/ negligible volume
  • updated docker setup to support the latest docker version

Bug Fixes:

  • tokensWithPriceChange and marketplaceTokens queries returned incorrect price changes when no transactions were made in the given period. Now at least one transaction in the provided period is required to calculate price change.

Orion-v4.0.2

02 Apr 07:55
ba75a4b
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed: unstake tokens atfer revenue share has been finalized.
  • Fixed: transform raw json objects to jsonb properties while importing the offchain state.
  • Fixed: bigint to number conversion in getCumulativeHistoricalShareAllocation custom resolver.
  • Fixed duplicate notifications being received by users for featured NFTs.

Orion-v4.0.1

16 Mar 11:38
b4ca873
Compare
Choose a tag to compare

Misc

  • Enable both in App and email notifications for previousTopBidder in NFT Open Auction.

Orion-v4.0.0

14 Mar 14:30
35df944
Compare
Choose a tag to compare

This is Creator Tokens (CRT) release. It introduces the CRT mappings, custom resolvers and mutations.

Orion-v3.7.0

14 Mar 09:23
08fd96c
Compare
Choose a tag to compare

Schema changes

  • Added isShortDerived field to Video entity indicating whether a video is a short format, vertical video or not. This field is computed in the mappings based on the video dimensions and duration when isShort is not set in the metadata.

Misc

  • update setOrionLanguage Custom migration script.

Bug Fixes:

  • Added fix to improve the accuracy of Video.orionLanguage field by reworking the predictVideoLanguage function in src/utils/language.ts
  • Use UTC midnight epoch instead of current epoch to calculate video relevance score in VideoRelevanceManager

Orion-v3.6.0

26 Feb 12:51
743f56b
Compare
Choose a tag to compare

Schema changes

  • Added includeInHomeFeed field to Video entity indicating if the video should be included in the home feed/page.

Mutations

Additions

  • setOrUnsetPublicFeedVideos: mutation to set or unset the includeInHomeFeed field of a video by the Operator.

Queries

Additions

  • dumbPublicFeedVideos: resolver to retrieve random N videos from list of all homepage videos.

DB Migrations

  • Added partial index on Video entity to include only videos that are included in the home feed (in db/migrations/2200000000000-Indexes.js)

Orion-v3.5.0

22 Feb 11:10
f6b3bbf
Compare
Choose a tag to compare

Schema changes

  • Added isShort field to Video entity indicating whether a video is a short format, vertical video or not.

Misc

  • Disable both in App and email notifications for videoPosted notifiations type by default.
  • Remove unused @joystream/metadata-protobuf patch from assets/patches directory.

Orion-v3.4.0

17 Feb 17:24
52333e9
Compare
Choose a tag to compare

Schema changes

  • Added @schema(name: "admin") directive to hide entities (from public GRAPHQL API) in Graphql schema definitions.

Misc

  • Patch @subsquid/typeorm-config & @subsquid/typeorm-migration packages to change squid-typeorm-migration apply command to apply a single migrations file too using --filename option instead of applying the whole db/migrations directory.
  • Patch @subsquid/openreader and @subsquid/typeorm-codegen dependencies to include the db schema name too in the generated typeorm/postgres migrations, and an optional schema directive to specify the schema of any GRAPHQL entity.

DB Migrations

  • Update generate-migrations makefile command. Now the existing *-Data.js will not be overwritten, instead a new *-Data.js migration file (containing only changes compared to the previous DB state) will be added whenever there are GRAPHQL schema changes. The *-Views.js migration file will also be updated whenever the GRAPHQL schema changes.
  • Create generateViewsMigration.js script to create new *-Views.js migration file.
  • Separate the view definitions(in db/viewDefinitions.js) from views migration file(*-Views.js).
  • Add *-Admin.js migration file to create an admin schema & user, previously the admin schema and user was being created in the *-Views.js migration.
  • Regenerate the postgres db migrations.

Documentation

Orion-v3.3.0

09 Feb 11:42
61c0909
Compare
Choose a tag to compare

3.3.0

Schema

  • orionLanguage property has been added.

Mappings

  • Language detection is used to populate new property on video update and creation.