Releases: Joystream/orion
Releases · Joystream/orion
Orion-v4.1.1
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
- Ignoring
- Fixed ineffective
videoRelevanceManager
calls in GraphQL server due tovideoRelevanceManager
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
Affected components:
- Migrations (
marketplace_tokens
view) - GraphQL server (
tokensWithPriceChange
andtopSellingToken
queries,setCrtMarketCapMinVolume
mutation) - Config:
CRT_MARKET_CAP_MIN_VOLUME_JOY
(new) - Docker compose
Changes
tokensWithPriceChange
,marketplaceTokens
andtopSellingToken
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 configurableCRT_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 totokensWithPriceChange
query to allow filtering out tokens w/ negligible volume - updated docker setup to support the latest docker version
Bug Fixes:
tokensWithPriceChange
andmarketplaceTokens
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
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
tonumber
conversion ingetCumulativeHistoricalShareAllocation
custom resolver. - Fixed duplicate notifications being received by users for featured NFTs.
Orion-v4.0.1
Misc
- Enable both in App and email notifications for
previousTopBidder
in NFT Open Auction.
Orion-v4.0.0
This is Creator Tokens (CRT) release. It introduces the CRT mappings, custom resolvers and mutations.
Orion-v3.7.0
Schema changes
- Added
isShortDerived
field toVideo
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 whenisShort
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 thepredictVideoLanguage
function insrc/utils/language.ts
- Use UTC midnight epoch instead of current epoch to calculate video relevance score in
VideoRelevanceManager
Orion-v3.6.0
Schema changes
- Added
includeInHomeFeed
field toVideo
entity indicating if the video should be included in the home feed/page.
Mutations
Additions
setOrUnsetPublicFeedVideos
: mutation to set or unset theincludeInHomeFeed
field of a video by the Operator.
Queries
Additions
dumbPublicFeedVideos
: resolver to retrieve randomN
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 (indb/migrations/2200000000000-Indexes.js
)
Orion-v3.5.0
Schema changes
- Added
isShort
field toVideo
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
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 changesquid-typeorm-migration apply
command to apply a single migrations file too using--filename
option instead of applying the wholedb/migrations
directory. - Patch
@subsquid/openreader
and@subsquid/typeorm-codegen
dependencies to include the db schemaname
too in the generated typeorm/postgres migrations, and an optionalschema
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 anadmin
schema & user, previously theadmin
schema and user was being created in the*-Views.js
migration. - Regenerate the postgres db migrations.
Documentation
- Updated documentation for upgrading-orion.md
- Updated documentation for entity-visibility.md#managing-entity-visibility
Orion-v3.3.0
3.3.0
Schema
orionLanguage
property has been added.
Mappings
- Language detection is used to populate new property on video update and creation.