Skip to content

fix(middleware): missing model prefix for component relations#43

Merged
ComfortablyCoding merged 1 commit intomainfrom
issue-38
Jan 8, 2023
Merged

fix(middleware): missing model prefix for component relations#43
ComfortablyCoding merged 1 commit intomainfrom
issue-38

Conversation

@ComfortablyCoding
Copy link
Copy Markdown
Contributor

Description

Updates the IO middleware to ensure their is a api:: prefix for component relations models.

Type of change

  • Documentation (updates to the documentation or readme)
  • Bug fix (a non-breaking change that fixes an issue)
  • Enhancement (improving an existing functionality like performance)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Relevant Issue(s)

Resolves #38

@ComfortablyCoding ComfortablyCoding self-assigned this Jan 8, 2023
@ComfortablyCoding ComfortablyCoding merged commit 7504d23 into main Jan 8, 2023
@ComfortablyCoding ComfortablyCoding linked an issue Jan 8, 2023 that may be closed by this pull request
@ComfortablyCoding ComfortablyCoding deleted the issue-38 branch January 8, 2023 19:48
github-actions Bot pushed a commit that referenced this pull request Dec 28, 2025
# 1.0.0 (2025-12-28)

### Bug Fixes

* add dark mode support for event type filter select ([6647ff1](6647ff1))
* **apiTokens:** account for full_access expiresAt null and not having ability ([#87](#87)) ([2d49409](2d49409))
* **bootstrap-io:** events are not processed ([1117144](1117144))
* **bootstrapIO:** $io.socket is not $io.server ([2d5b082](2d5b082))
* **config:** default origin should be expected port instead of admin portal ([5027dd8](5027dd8))
* **config:** event is expected to be an object instead of an array ([99b6e89](99b6e89))
* **config:** invalid events type default ([91f372a](91f372a))
* **defaults:** `POST` must be allowed ([54c4bf5](54c4bf5))
* **docs:** error on build due to esm ([fba0100](fba0100))
* downgrade date-fns to v3.x for CommonJS compatibility ([c739fb9](c739fb9))
* **emit:** `singleType` content types action should be find not findOne ([fd4d3cc](fd4d3cc))
* **emit:** account for publish/unpublish ([#20](#20)) ([bac0948](bac0948)), closes [#15](#15)
* **emit:** account for single content type `createOrUpdate` ([#21](#21)) ([fff808b](fff808b))
* **emit:** only emit event if room has permission for action ([116f718](116f718))
* **engines:** incorrect engine range ([#39](#39)) ([f9a5853](f9a5853))
* **events:** listen for bulkDelete ([#36](#36)) ([6183917](6183917))
* **getEventType:** `afterFindOne` event should be `findOne` ([1239ed4](1239ed4))
* **getModelMeta:** `publish` action should require update permission ([#22](#22)) ([9d22fee](9d22fee))
* **handshake:** ensure the u&p plugin is present before attempting access ([015f38a](015f38a))
* **handshake:** reject unconfirmed and/or blocked users ([#27](#27)) ([6f8e7eb](6f8e7eb))
* **handshake:** unable to verify ([585ac00](585ac00))
* **jwt:** `getAdvancedSettings` is undefined ([134fb73](134fb73))
* **middleware:** account for custom routes ([#4](#4)) ([b1d765c](b1d765c))
* **middleware:** missing model prefix for component relations ([#43](#43)) ([7504d23](7504d23)), closes [#38](#38)
* migrate to semantic-release and fix date-fns v4 ESM compatibility ([31a3e05](31a3e05))
* Publishing version 5.0.3 to npm ([792a0ec](792a0ec))
* **raw emit:** add default options ([#5](#5)) ([bc34b52](bc34b52))
* **raw emit:** room not respected ([#8](#8)) ([1092597](1092597))
* Remove eval() from transaction context loading ([126abbf](126abbf))
* remove package-lock.json to fix cross-platform SWC native binding issues ([d3715ff](d3715ff))
* remove spinner buttons from number inputs in settings ([9a1892b](9a1892b))
* **role scopeFn:** scopes are not being applied ([e0a4e89](e0a4e89))
* **sanitize:** data array is undefined ([275a71f](275a71f))
* Security & Transaction Fixes for Strapi v5 ([124d6eb](124d6eb))
* **server events:** custom events not registered ([#65](#65)) ([b14dfc5](b14dfc5))
* **services:sanitize:** output sanitize transforms should now be a function ([e3530fc](e3530fc))
* **socketio:emit:** remove roomname from data ([2249d5b](2249d5b))
* **socketio:** ensure top level permissions are respected ([28413f2](28413f2))
* **strategies:apiToken:** authentication results in error ([#79](#79)) ([aca9a1e](aca9a1e))
* **strategies:role:** verification is happening after connection ([9fdd4fb](9fdd4fb))
* update repository URLs from strapi-plugin-io to plugin-io ([091eb53](091eb53))
* use npm install instead of npm ci for cross-platform SWC compatibility ([e3fe3b8](e3fe3b8))

### Features

* **.github:** add PR and issue templates ([#11](#11)) ([8f8606b](8f8606b))
* **config:** add defaults and validation ([384ce81](384ce81))
* improve dark mode support for monitoring page ([21ce9ec](21ce9ec))
* init commit ([933244d](933244d))
* **io:** add raw emit ([#3](#3)) ([268d13d](268d13d))
* **io:** add server side events ([a7e7c57](a7e7c57))
* **middeware:** add handshake ([5cad6bb](5cad6bb))
* modernize npm publish workflow with OIDC provenance ([ac6df84](ac6df84))
* modernize npm publish workflow with OIDC provenance ([#107](#107)) ([ac5953c](ac5953c))
* **services:** add transform and sanitize ([130829a](130829a))
* Strapi v5 Support with Dashboard Widget & Mobile-Optimized UI ([24a2565](24a2565)), closes [#95](#95) [#82](#82)
* **structures:** add SocketIO ([1eae26b](1eae26b))
* **v2.0:** init commit ([d2092ef](d2092ef))
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.

[Bug]: getModelMeta fails with Strapi 4.5.5 [Bug]: Error on create or edit collection-type

1 participant