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

fix(deps): update dependency @mrleebo/prisma-ast to ^0.12.0 #393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 12, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mrleebo/prisma-ast ^0.4.3 -> ^0.12.0 age adoption passing confidence

Release Notes

MrLeebo/prisma-ast (@​mrleebo/prisma-ast)

v0.12.0

Compare Source

prisma-ast will now parse attributes on enums

enum Role {
  USER         @​map("usr")
  ADMIN        @​map("adm")
  ORGANIZATION @​map("org") // deprecated

  @​@​map("roles")
}

and you can add attributes using PrismaSchemaBuilder

builder.enum("Role").enumerator("GUEST").attribute("map", ['"gst"'])

which produces the following output

enum Role {
  USER         @​map("usr")
  ADMIN        @​map("adm")
  ORGANIZATION @​map("org") // deprecated
  GUEST        @​map("gst")

  @​@​map("roles")
}

v0.11.0

Compare Source

BREAKING CHANGE

In the internal parser, { type: "fieldAttribute" } and { type: "blockAttribute" } have been made into separate nodes. Previously, the same node { type: "attribute" } was reused for both. This makes it easier for the parser to distinguish which kind of node it's getting because schemas can have block attributes intermixed with their field attributes.

This is only a breaking change if you're accessing the internal AST to access attributes. Higher level abstractions, such as produceSchema / PrismaSchemaBuilder are not impacted by this.

  • Fix printing when block attributes are mixed in with fields 2e30232

v0.10.1

Compare Source

  • Add generator.assignments as a valid "findBy" source b69da60
  • Fix mismatch token on kebab case, fixes #​36 5c9c838

v0.10.0

Compare Source

  • feat: add finder methods to builder 4865f0c

v0.9.1

Compare Source

  • fix: add produceSchema to package to resolve #​32 40a1347
  • docs: move code samples to a separate document 4ca243c

v0.9.0: - Added support for composite types

Compare Source

Adds composite types to the parser, printer, and Schema Builder

model Gallery {
  photos Photo[]
}

type Photo {
  width Int
  height Int
  url String
}

The schema node is { type: "type" } and the builder method is builder.type("Photo")

v0.8.1

Compare Source

  • fix: resolves #​28 by preventing comments from breaking into the next line 866167d

v0.8.0

Compare Source

v0.7.0

Compare Source

This release adds optional location tracking stats, making it possible to use prisma-ast for linters, github workflows, IDE plugins, and the like.

  • Add config option to enable location tracking in prisma-ast (#​25) 035abad
  • Replace tsdx with dts-cli and update typescript version (#​24) 620cfa1
  • Narrow the allowed types for the .then() function's type param f71ff18

v0.6.0

Compare Source

BREAKING CHANGES
  • Add support for experimental views (#​19) 3412065
    builder.modelAttribute() has been renamed to builder.blockAttribute() to reflect the fact that it can be used for models and views.

v0.5.2

Compare Source

  • fix: fixes #​17 by including group in the attribute name match if group is present 321a082

v0.5.1

Compare Source

  • Add helpers to remove fields, remove attributes, and to access elements of your prisma schema programmatically b4fd4cf

See the README for info about builder.removeField(), builder.removeAttribute(), and builder.then().

v0.5.0

Compare Source

  • Let builder.field() calls select existing fields c397d46

Configuration

📅 Schedule: Branch creation - "* * * * 0,6" in timezone America/Vancouver, 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Aug 12, 2023

⚠️ No Changeset found

Latest commit: 27655a9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.7.0 fix(deps): update dependency @mrleebo/prisma-ast to ^0.8.0 Nov 25, 2023
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 1ebd908 to 6499f1c Compare November 25, 2023 09:53
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 6499f1c to 2c3c84e Compare February 3, 2024 08:04
@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.8.0 fix(deps): update dependency @mrleebo/prisma-ast to ^0.9.0 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 2c3c84e to 81249c3 Compare February 10, 2024 10:19
@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.9.0 fix(deps): update dependency @mrleebo/prisma-ast to ^0.10.0 Feb 10, 2024
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 81249c3 to 67f3a6e Compare February 25, 2024 16:21
@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.10.0 fix(deps): update dependency @mrleebo/prisma-ast to ^0.10.1 Feb 25, 2024
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 67f3a6e to 3f4515e Compare March 9, 2024 10:39
@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.10.1 fix(deps): update dependency @mrleebo/prisma-ast to ^0.11.0 Mar 9, 2024
@renovate renovate bot force-pushed the renovate/mrleebo-prisma-ast-0.x branch from 3f4515e to 27655a9 Compare March 23, 2024 09:42
@renovate renovate bot changed the title fix(deps): update dependency @mrleebo/prisma-ast to ^0.11.0 fix(deps): update dependency @mrleebo/prisma-ast to ^0.12.0 Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants