mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
release notes for 0.195.0 and 0.195.1, and resource locator docs
This commit is contained in:
BIN
docs/_images/integrations/creating-nodes/resource-locator.png
Normal file
BIN
docs/_images/integrations/creating-nodes/resource-locator.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
@@ -1,10 +1,8 @@
|
||||
# Credential sharing
|
||||
|
||||
!!! info "Feature availability"
|
||||
This feature is:
|
||||
|
||||
* Available on Cloud
|
||||
* A paid feature
|
||||
* Limited Cloud plans. Refer to [Cloud Pricing](https://n8n.io/pricing/){:target=_blank .external-link} for more information.
|
||||
* Not available outside Cloud.
|
||||
|
||||
Credential sharing allows you to share a credential you created with other users in the same n8n workspace as you. The other users can then use the credential in their workflows. They can't access or edit the credential details.
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# User management
|
||||
|
||||
!!! info "Feature availability"
|
||||
|
||||
* Not available on Desktop
|
||||
* Limited Cloud plans. Refer to [Cloud Pricing](https://n8n.io/pricing/){:target=_blank .external-link} for more information.
|
||||
* Cloud users can't configure SMTP or email templates.
|
||||
|
||||
* Available on self-hosted and selected Cloud plans. Refer to [Cloud Pricing](https://n8n.io/pricing/){:target=_blank .external-link} for more information.
|
||||
* Not available on Desktop.
|
||||
* Cloud users don't need to configure SMTP, and can't configure email templates.
|
||||
|
||||
|
||||
User management in n8n allows you to invite people to work in your n8n instance. It includes:
|
||||
|
||||
@@ -424,3 +424,80 @@ Use the `fixedCollection` type to group fields that are semantically related.
|
||||
|
||||

|
||||
|
||||
## Resource locator
|
||||
|
||||

|
||||
|
||||
The resource locator element helps users find a specific resource in an external service, such as a card or label in Trello.
|
||||
|
||||
The following options are available:
|
||||
|
||||
* ID
|
||||
* URL
|
||||
* List: allows users to select from a prepopulated list, or do a free text search, depending on configuration. This option requires more coding, as you must provide the search method or populate the list. Refer to [`CardDescription.ts`](https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Trello/CardDescription.ts){:target=_blank .external-link} [`Trello.node.ts`](https://github.com/n8n-io/n8n/blob/master/packages/nodes-base/nodes/Trello/Trello.node.ts){:target=_blank .external-link} in n8n's Trello node for an example of a list with search.
|
||||
|
||||
You can choose which types to support.
|
||||
|
||||
Basic example with ID and URL, with validation:
|
||||
|
||||
```typescript
|
||||
{
|
||||
displayName: 'Card',
|
||||
name: 'cardID',
|
||||
type: 'resourceLocator',
|
||||
default: '',
|
||||
description: 'Get a card'
|
||||
modes: [
|
||||
{
|
||||
displayName: 'ID',
|
||||
name: 'id',
|
||||
type: 'string',
|
||||
hint: 'Enter an ID',
|
||||
validation: [
|
||||
{
|
||||
type: 'regex',
|
||||
properties: {
|
||||
regex: '^[0-9]'
|
||||
errorMessage: 'The ID must start with a number'
|
||||
},
|
||||
},
|
||||
],
|
||||
placeholder: '12example',
|
||||
// How to use the ID in API call
|
||||
url: '=http://api-base-url.com/?id={{$value}}'
|
||||
},
|
||||
displayName: 'URL',
|
||||
name: 'url',
|
||||
type: 'string',
|
||||
hint: 'Enter a URL',
|
||||
validation: [
|
||||
async (this: IExecuteSingleFunctions, value: string) {
|
||||
if (!value.startsWith("http")) {
|
||||
throw new Error("No valid URL got entered.");
|
||||
}
|
||||
},
|
||||
],
|
||||
placeholder: 'https://example.com/card/12example/',
|
||||
// How to get the ID from the URL
|
||||
extractValue: {
|
||||
type: 'regex',
|
||||
regex: 'example\.com\/card\/([0-9]*.*)\/'
|
||||
}
|
||||
],
|
||||
displayOptions: { // the resources and operations to display this element with
|
||||
show: {
|
||||
resource: [
|
||||
// comma-separated list of resource names
|
||||
],
|
||||
operation: [
|
||||
// comma-separated list of operation names
|
||||
]
|
||||
}
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,50 @@
|
||||
# Release notes
|
||||
|
||||
|
||||
## n8n@0.195.1
|
||||
|
||||
View the [commits](https://github.com/n8n-io/n8n/compare/n8n@0.195.0...n8n@0.195.1){:target=_blank .external-link} for this version.<br />
|
||||
**Release date:** 2022-09-21
|
||||
|
||||
This is a bug fix release. It resolves an issue with Postgres migrations.
|
||||
|
||||
## n8n@0.195.0
|
||||
|
||||
View the [commits](https://github.com/n8n-io/n8n/compare/n8n@0.194.0...n8n@0.195.0){:target=_blank .external-link} for this version.<br />
|
||||
**Release date:** 2022-09-21
|
||||
|
||||
This release introduces user management and credential sharing for our Cloud platform. It also contains other enhancements and bug fixes.
|
||||
|
||||
### New features
|
||||
|
||||
<div class="n8n-new-features" markdown>
|
||||
|
||||
#### User management and credential sharing for Cloud
|
||||
|
||||
This release adds support for our existing [user management](/hosting/user-management/) functionality to Cloud, and introduces a new feature: [credential sharing](/credentials/credential-sharing/). Credential sharing is currently only available on Cloud.
|
||||
|
||||
</div>
|
||||
|
||||
Also in this release:
|
||||
|
||||
* Added a `resourceLocator` parameter type for nodes, and started upgrading our built-in nodes to use it. This new option helps users who need to specify the ID of a record or item in an external service. For example, when using the Trello node, you can now search for a specific card by ID, URL, or do a free text search for card titles. Node builders can learn more about working with this new UI element in our [UI elements](/integrations/creating-nodes/build/reference/ui-elements/) documentation.
|
||||
* Cache npm dependencies to improve performance on self-hosted n8n
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Box node: fix an issue that sometimes prevented response data from being returned.
|
||||
* CLI: prevent n8n from crashing when it encounters an error in poll method.
|
||||
* Core: prevent calls to constructor, to forbid arbitrary code execution.
|
||||
* Editor: fix the output panel for Wait node executions.
|
||||
* HTTP node: ensure instance doesn't crash when batching enabled.
|
||||
* Public API: corrections to the OAuth schema.
|
||||
* Xero node: fix an issue that was causing line amount types to be ignored when creating new invoices.
|
||||
|
||||
### Contributors
|
||||
|
||||
[Ikko Ashimine](https://github.com/eltociear){:target=_blank .external-link}
|
||||
|
||||
|
||||
## n8n@0.194.0
|
||||
|
||||
View the [commits](https://github.com/n8n-io/n8n/compare/n8n@0.193.5...n8n@0.194.0){:target=_blank .external-link} for this version.<br />
|
||||
|
||||
Reference in New Issue
Block a user