Skip to content

feat: upgrade strapi#90

Open
shoom3301 wants to merge 5 commits intomainfrom
feat/upgrade-strapi
Open

feat: upgrade strapi#90
shoom3301 wants to merge 5 commits intomainfrom
feat/upgrade-strapi

Conversation

@shoom3301
Copy link
Copy Markdown
Contributor

Upgraded Strapi packages to the highest 4.x version and added changes to fit the new versions

@shoom3301 shoom3301 requested a review from a team April 30, 2026 10:49
@shoom3301 shoom3301 self-assigned this Apr 30, 2026
async getPushNotifications() {
const push = true
const notificationsConsumer = await strapi.entityService.findOne(NOTIFICATIONS_CONSUMER_MODULE_ID, SINGLETON_ID, {
populate: ['id', 'lastConsumedNotificationDate']
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • id is always returned, no need to populate it.
  • lastConsumedNotificationDate (if it’s a simple field like datetime) is also returned by default.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 30, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​strapi/​strapi@​4.13.3 ⏵ 4.26.175 -1499100100 +180 -19
Updated@​strapi/​plugin-users-permissions@​4.13.3 ⏵ 4.26.199 +1100 +1676 +4100 +180 -19
Updated@​strapi/​plugin-documentation@​4.13.3 ⏵ 4.26.195 +1100100 +1100 +180 -19
Updated@​strapi/​plugin-i18n@​4.13.3 ⏵ 4.26.19910086 +390 -580 -19

View full report

Copy link
Copy Markdown
Contributor

@limitofzero limitofzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

19.70 src/api/telegram-subscription/services/telegram-subscription.ts:69:7 - error TS2322: Type 'AnyEntity | AnyEntity[]' is not assignable to type '{ id: string; account: string; chatId: string; }[]'.
19.70 Type 'AnyEntity' is missing the following properties from type '{ id: string; account: string; chatId: string; }[]': length, pop, push, concat, and 29 more.
19.70
19.70 69 return strapi.entityService.findMany(
19.70 ~~~~~~
19.70
19.70 Found 8 error(s).

There is an issue in building docker image

@shoom3301
Copy link
Copy Markdown
Contributor Author

Weird, it builds locally well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants