Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frankkilcommins
Copy link
Contributor

This PR supersedes #2765 to provide a clean history with only the intended changes from CuttingClyde.

Changes:

  • Added xor and or functions.
  • Updated optionSchemas.ts and tests.

Original work credited to @cuttingclyde.

fixes #2396

Copy link
Contributor

@mnaumanali94 mnaumanali94 left a comment

Choose a reason for hiding this comment

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

Looks good! Is there an existing rule that could use or that we could update? 🤔

@mnaumanali94 mnaumanali94 merged commit d9ef27f into stoplightio:develop Mar 24, 2025
7 checks passed
stoplight-bot pushed a commit that referenced this pull request Apr 22, 2025
# [6.15.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-6.14.3...@stoplight/spectral-cli-6.15.0) (2025-04-22)

### Bug Fixes

* **deps:** bump elliptic from 6.6.0 to 6.6.1 ([#2782](#2782)) ([5ff9602](5ff9602))
* **repo:** replace discord link with forum link ([#2793](#2793)) ([6229442](6229442))

### Features

* **core:** add documentUrl to JS api and cli formatters ([#2443](#2443)) ([e787728](e787728))
* **functions:** add or function ([#2798](#2798)) ([d9ef27f](d9ef27f))
stoplight-bot pushed a commit that referenced this pull request Apr 22, 2025
# [1.20.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-core-1.19.5...@stoplight/spectral-core-1.20.0) (2025-04-22)

### Bug Fixes

* **deps:** bump elliptic from 6.6.0 to 6.6.1 ([#2782](#2782)) ([5ff9602](5ff9602))
* **deps:** fix yarn lockfile ([e6c3b9d](e6c3b9d))
* **deps:** update spectral-core in cli ([35687cd](35687cd))
* **repo:** replace discord link with forum link ([#2793](#2793)) ([6229442](6229442))

### Features

* **core:** add documentUrl to JS api and cli formatters ([#2443](#2443)) ([e787728](e787728))
* **functions:** add or function ([#2798](#2798)) ([d9ef27f](d9ef27f))
stoplight-bot pushed a commit that referenced this pull request Apr 22, 2025
# [1.10.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-functions-1.9.4...@stoplight/spectral-functions-1.10.0) (2025-04-22)

### Bug Fixes

* **deps:** bump elliptic from 6.6.0 to 6.6.1 ([#2782](#2782)) ([5ff9602](5ff9602))
* **deps:** fix yarn lockfile ([e6c3b9d](e6c3b9d))
* **deps:** update spectral-core in cli ([35687cd](35687cd))
* **repo:** replace discord link with forum link ([#2793](#2793)) ([6229442](6229442))

### Features

* **core:** add documentUrl to JS api and cli formatters ([#2443](#2443)) ([e787728](e787728))
* **functions:** add or function ([#2798](#2798)) ([d9ef27f](d9ef27f))
stoplight-bot pushed a commit that referenced this pull request Apr 22, 2025
# [1.22.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-rulesets-1.21.4...@stoplight/spectral-rulesets-1.22.0) (2025-04-22)

### Bug Fixes

* **deps:** bump elliptic from 6.6.0 to 6.6.1 ([#2782](#2782)) ([5ff9602](5ff9602))
* **deps:** fix yarn lockfile ([e6c3b9d](e6c3b9d))
* **deps:** update spectral-core in cli ([35687cd](35687cd))
* **repo:** replace discord link with forum link ([#2793](#2793)) ([6229442](6229442))

### Features

* **core:** add documentUrl to JS api and cli formatters ([#2443](#2443)) ([e787728](e787728))
* **functions:** add or function ([#2798](#2798)) ([d9ef27f](d9ef27f))
@stoplight-bot
Copy link
Collaborator

🎉 This PR is included in version 1.10.0 🎉

The release is available on @stoplight/spectral-functions-1.10.0

Your semantic-release bot 📦🚀

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

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support more than 2 logicals in XOR core function

4 participants