Forest upgrade v8 to v9

Hello :wave:

Feature(s) impacted

forest-express-sequelize

Observed behavior

I followed the forest doc to upgrade from version 8 to version 9.

I carefully checked the changes to be made before going from v8 to v9 and everything is up to date.

Then I ran the command

npm install “forest-express-sequelize@^9.0.0”

and my package has been updated.

However, when I deploy it I still get the alert

Expected behavior

After deployment of the version change, no more alert

Context

  • Project name: Nostrum Care v2
  • Team name: Operation
  • Environment name: Production
  • Agent (forest package) name & version: “forest-express-sequelize”: “^9.3.10”
  • Database type: Postgres

thanks in advance

Hi @jacques_liao ,

Because you are on Production, any change cannot be pushed directly.
You must do the upgrade on a development environment.
Once you have upgraded your agent version in development, you should commit the code changes (packages.json, source code, .forestadmin-schema.json etc.) to push it on production/Staging/Test. Pull the code in each server, install, build and restart server.
It should do the trick.

Best regards,

Shohan

Hello @Shohanr
yes, that’s good, you should have updated the

.forestadmin-schema.json

file and now you’re all set!

Thanks a lot!

"meta": {
    "liana": "forest-express-sequelize",
    "liana_version": "9.3.10",
    "stack": {
      "database_type": "postgres",
      "engine": "nodejs",
      "engine_version": "20.7.0",
      "orm_version": "6.35.2"
    }
  }
1 Like