Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@commitlint/cli (source) ^17.6.3 -> ^17.6.5 age adoption passing confidence
@commitlint/config-angular (source) ^17.6.3 -> ^17.6.5 age adoption passing confidence
@typescript-eslint/eslint-plugin ^5.59.7 -> ^5.59.8 age adoption passing confidence
@typescript-eslint/parser ^5.59.7 -> ^5.59.8 age adoption passing confidence
eslint (source) ^8.41.0 -> ^8.42.0 age adoption passing confidence
prisma (source) ^4.14.1 -> ^4.15.0 age adoption passing confidence
typescript (source) 5.0.4 -> 5.1.3 age adoption passing confidence

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v17.6.5

Compare Source

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-angular)

v17.6.5

Compare Source

Note: Version bump only for package @​commitlint/config-angular

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.59.8

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.59.8

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

eslint/eslint

v8.42.0

Compare Source

Features
  • b8448ff feat: correct no-useless-return behaviour in try statements (#​16996) (Nitin Kumar)
Bug Fixes
  • a589636 fix: Config with ignores and without files should not always apply (#​17181) (Milos Djermanovic)
  • c4fad17 fix: Correct ignore message for "node_modules" subfolders (#​17217) (Francesco Trotta)
Documentation
  • 01d7142 docs: Update README (GitHub Actions Bot)
  • e5182b7 docs: Update README (GitHub Actions Bot)
Chores
prisma/prisma

v4.15.0

Compare Source

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Highlights

For this release, we focused on fixing bugs and making smaller quality-of-life improvements.

Support for custom arguments for prisma db seed

This release adds support for defining and passing arbitrary arguments to prisma db seed. This creates the opportunity for you to define your own arguments in your seed file that you could pass to the prisma db seed command. A few example use-cases include, but are not limited to:

  • Seeding different data in different environments
  • Partially seeding data in some tables

Here is an example seed.ts file that defines custom arguments for seeding different data in different environments:

// prisma/seed.ts
import { parseArgs } from "node:util";

const options = {
  environment: { type: 'string', },
}

async function main() {
  const { values: { environment } } = parseArgs({ options })
  
  switch (environment) {
    case "development":
      /** do something for development */
      break;
    case "test":
      /** do something  for test  environment */
      break;
    default:
      break;
  }
}

main()

You can then provide the environment argument when executing the seed script as follows:

npx prisma db seed -- --environment development

Let us know what you think, share example usage of this feature, and create a bug report if you run into any issues.

Improved error messages when Query Engine file is not found

This release improves the error messages returned by Prisma Client when the Query Engine file is not found. A few reasons the Query Engine file might be missing from your application bundle include when:

  • The downloaded Query Engine doesn’t match the runtime/ target platform your application is running on.
  • The Query Engine is not copied to your final application bundle during the build step.

We hope these error messages are helpful while debugging your application.

Prisma VS Code extension improvements

In this release, we made a few improvements to our VS Code extension:

  1. Updated the file system watcher that is responsible for restarting the TypeScript server when prisma generate is run to ensure the types are in sync

    Note:

    • This new approach is currently only available on Windows and Linux. We plan on adding support for the new file system watcher on macOS soon.
    • This requires both Prisma CLI & VS code extension version 4.15.0 or higher
  2. Added Quick Fixes action for unique identifiers for MongoDB to add the @map("_id") attribute function when it’s missing on an identifier field

    Screen.Recording.2023-05-17.at.19.22.20.mov
  3. Support for renaming symbols for composite types and views

    type-symbol-rename.mov
Fixes and improvements
Prisma Client
Prisma Migrate
Language tools (e.g. VS Code)
Credits

Huge thanks to @​RobertCraigie, @​KhooHaoYit, @​art049, @​luxaritas, @​mrazauskas, @​maxmartynov, @​haneenmahd for helping!

📺 Join us for another "What's new in Prisma" live stream

Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" live stream.

The stream takes place on YouTube on Thursday, June 1 at 5 pm Berlin | 8 am San Francisco.

Microsoft/TypeScript

v5.1.3: TypeScript 5.1.3

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@ijsblokjeee ijsblokjeee bot added Dependencies 🚀 PRs and Issues related to dependencies Chore 🧹 labels Jun 4, 2023
@renovate renovate bot force-pushed the renovate/all-non-major-dev branch 2 times, most recently from 148a8ff to ffcbe25 Compare June 4, 2023 04:53
@renovate renovate bot force-pushed the renovate/all-non-major-dev branch from ffcbe25 to ff8b218 Compare June 4, 2023 04:57
@kodiakhq kodiakhq bot merged commit 8119307 into main Jun 4, 2023
@kodiakhq kodiakhq bot deleted the renovate/all-non-major-dev branch June 4, 2023 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Chore 🧹 Dependencies 🚀 PRs and Issues related to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants