Giter Club home page Giter Club logo

kentico-kontent-nuxt-module's People

Contributors

dependabot[bot] avatar domitnator avatar lukasturek avatar zeroseven-christhompson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kentico-kontent-nuxt-module's Issues

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Invalid npm token.

The npm token configured in the NPM_TOKEN environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/.

If you are using Two-Factor Authentication, make configure the auth-only level is supported. semantic-release cannot publish with the default auth-and-writes level.

Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Update to @kontent-ai/*

kontent.ai split from Kentico and now the package has a new name.

npm WARN deprecated @kentico/[email protected]: Package has been renamed to @kontent-ai/delivery-sdk. Please update your code to use the latest version

Add a tracking header

There's a tracking header called X-KC-SOURCE that you can add to your plugin. We'll be then able to measure the adoption of your plugin and send you statistics of API calls made through the plugin.

You can set the header via the Kentico Kontent Delivery SDK.

v5 JS SDK approach: kontent-ai/gatsby-packages@e3612ae

v6 JS SDK: https://github.com/Kentico/gatsby-source-kentico-cloud/blob/js-sdk-ugrade-v6/src/gatsby-node.js#L96 or https://github.com/Kentico/gatsby-source-kentico-cloud/blob/master/src/gatsby-node.js#L96

The automated release is failing 🚨

🚨 The automated release from the UpgradeToBeta6 branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the UpgradeToBeta6 branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Invalid npm token.

The npm token configured in the NPM_TOKEN environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/.

If you are using Two-Factor Authentication, make configure the auth-only level is supported. semantic-release cannot publish with the default auth-and-writes level.

Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Support Server Side calls

Server side calls are throwing an exception.

For example:

asyncData ({ app }) {
      app.$deliveryClient.items().type('page').get().toPromise().then((response) => { 
        return { list: response.items } 
      });
  },

is throwin an exception:

"XMLHttpRequest is not supported by your browser"

image

Downgrade of Kentico SDK

Hi there,

I was curious as to why you downgraded from kentico-cloud-delivery-typescript-sdk from 3.1.0 to 2.5.3. Could you let me know some more details?

I've made some significant changes to the build process, suppose this has to do with that?

Anyway, I'm working on refactoring pretty much the whole SDK and this might help me figure out what I did wrong. Thanks!

Cannot read property 'items' of undefined

Code:
computed: {
getContent() {
return this.$deliveryClient.items()
.type('homepage')
.get()
.subscribe(response => console.log('DeliveryClient Response', response));
}
},

TypeError
Cannot read property 'items' of undefined

Announce: Prepare for Fair user policy updates

Brief description

From the 1st of February the /items endpoint is limited to 1000 (incl. linked items) as described in Kontent API changes.

After that date, queries resulting in more than 1K content items per language won't load more than that 1K items.

Additional context

In the SDK, there is a method for enumerating all items
that allows all contents items loading. To provide this functionality via this module, it is necessary to upgrade .NET SDK to version <=12.1.0

(re)Add tests for the cache-service

Due to the complete typescript refactor the cacheservice-tests are lost. The should be rewritten in typescript and should be added to the project again.

Rebranding to Kentico Kontent

Hi @Domitnator !
We've just renamed Kentico Cloud to Kentico Kontent. We are in the process of renaming all SDKs and Sample apps. Please consider renaming your plugin (code: namespaces, classes; repo, wiki, GH topics, etc.) to Kentico Kontent.

Thanks!

Make typescript types available

Currently there are no types available for this nuxt wrapper. It would be awesome to have the wrapped kontent.ai sdk types available inside of nuxt as well :)

DeliveryClient requests fail when secure mode is enabled

Hi! We really like this module; thanks for creating it!

Found a problem when we switched our nuxt.config.js usePreviewMode to false, set enableSecureMode to true, and switched Kentico's secure access option on for the production delivery api. Our requests to the Delivery Api were failing with the usual message when the Authorization header isn't correct.

In module.js, there's a couple properties that don't match the current Kentico js SDK docs:
securedApiKey => secureApiKey
enableSecureMode => useSecureMode
useSecureMode is a property of the globalQueryConfig object in the Kentico docs.

Making those changes in our local module.js and making matching changes in nuxt.config.js resolved the problem for us.

Would you like me to open a PR with these changes (and the nuxt.config.js section of the Readme docs)?

Thanks again for your work on this!
David

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.