Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump version 0.6.0 #610

Merged
merged 8 commits into from
Jun 18, 2024
Merged

bump version 0.6.0 #610

merged 8 commits into from
Jun 18, 2024

Conversation

kaplanelad
Copy link
Contributor

@kaplanelad kaplanelad commented Jun 10, 2024

Bump version to 0.6.0.

Breaking Changes Upgrade Steps

Task Signature

Change Description

Changed task args from BTreeMap to struct.

Fix:

Replace task signature
From:

async fn run(&self, app_context: &AppContext, vars: &BTreeMap<String, String>)

To:

n run(&self, _app_context: &AppContext, _vars: &task::Vars) -> Result<()>

PR: #609

Change default port

Change Description

In order to avoid the over-used over-popular port of 3000 and avoid collisions of ports, cookies, sessions and app data, we suggest moving to 5150.

PR: #611

@kaplanelad kaplanelad merged commit d496655 into master Jun 18, 2024
9 checks passed
@BWStearns
Copy link
Contributor

You'll also want to update calls to vars.get in tasks to vars.cli.get like this.

    async fn run(&self, app_context: &AppContext, vars: &task::Vars) -> Result<()> {
        let refresh = vars
            .cli
            .get("refresh")
            .is_some_and(|refresh| refresh == "true");

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.

3 participants