Skip to content

Releases: wix-incubator/corvid

v0.2.12

10 Jan 19:19
Compare
Choose a tag to compare

This version fixes an issue preventing login.

v0.2.11

12 Nov 09:47
Compare
Choose a tag to compare
  • Deprecate usage of corvid-devex-server to list user sites

Upgrade to Electron 10

09 Nov 11:16
Compare
Choose a tag to compare

This release upgrades the electron version used in corvid-cli to electron 10.
If you used corvid-cli in the past few weeks you may have gotten a "Please update your browser" message. This update will make this message go away.
Please report any issues

v0.2.9

13 Apr 18:16
Compare
Choose a tag to compare
chore(release): version 0.2.9

v0.2.3

15 Dec 10:14
Compare
Choose a tag to compare

We are very excited to announce the release of version 0.2.3! 🎉 🎊 🚀

Highlights:

  • Fixed handling of broken .wix files
  • Improved handling of force closing cli
  • Allow showing the electron window during login & logout in debug

v0.2.2

19 Nov 09:57
Compare
Choose a tag to compare

We are very excited to announce the release of version 0.2.2! 🎉 🎊

Highlights:

  • Fix security issue with eslint-utils
  • Remove unnecessary log messages
  • Fix deleting unnecessary page code files
  • Better user messages when command fails
  • Update readme

v0.2.0

22 Sep 19:59
Compare
Choose a tag to compare

We are very excited to announce the release of version 0.2.0! 🎉 🎊 🎈 🚀
If you are using an older version note that there are breaking changes, please read the upgrade guide below.

Highlights:

  1. Intelligent code-completion in your local IDE - VSCode, Sublime, etc.
  2. Breaking changes to the local-site file structure

Upgrade Guide

If you already have a corvid project downloaded to your machine and you'd like to upgrade it, you should push it to Wix's repository before upgrading. If you upgrade your version of corvid-cli and try to perform any command, you will get an error.

  1. With your existing version of corvid-cli run npx corvid-open-editor
  2. In the local-editor, click "Push"

push

  1. npm install --save-dev corvid-cli@latest
  2. npm install --save-dev corvid-types (to get code completion)
  3. npx corvid pull --override

🎉 Your local project is now set up to work with the new CLI 🎈

Intelligent code completion in your local IDE

local-autocomplete

Corvid has many APIs and it's impossible (and unnecessary) to remember them all. If you're a current user of corvid-cli, you probably visit the reference docs quite often. Now you don't have to! Introducing... corvid-types. corvid-types provides type definitions for corvid APIs, using Typescript Declaration files.

As devs we know to appreciate the importance of a short-feedback loop between dev and code, and how fun it is to code in an environment where your editor helps you write correct code with less typing. That is the power corvid-types gives you. Don't take my word for it, just check out the gif above 🚀

In addition to saving you the effort of going to the documentation site to find an API, good code-intelligence should offer you only relevant suggestions. For example, we'd like to see a suggestion for $w available in page code, but it should not be available in backend code. To support context-aware code-completion, corvid-types exposes various typescript configurations. corvid-cli uses the configurations to ensure you get the right suggestions in the right place (see open issues).

Why Typescript?

It's important to note that you do not need to write in Typescript to get proper code intelligence. In fact, Typescript is not supported in Corvid. We chose Typescript Declarations because they are widely supported by modern code editors, allowing you to work efficiently with the tools you love with minimal to zero overhead. In VSCode for example, you don't need to do anything, it just works out of the box! :

Note: Do not modify the generated tsconfig.json. They are overwritten on each "local" save.

Breaking changes

Now there is a directory for each page.

Previously (< v0.2.0):
oldPages

Now (v0.2.0):
newPages

What's Next?

  1. create-corvid-app #140 - inspired by tools like create-react-app - an easy way to get started with a project, without needing to install multiple packages and run many commands.
  2. Addressing corvid-types open issues
  3. More open-source projects coming soon

Stay tuned 😍