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

Update dependency remult to v0.27.0 - autoclosed #7

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remult (source) 0.26.15 -> 0.27.0 age adoption passing confidence

Release Notes

remult/remult (remult)

v0.27.0

Compare Source

API BREAKING CHANGE - Improved Typescript typing

Typescript version 5.4 included many changes that cause unknown & any to behave differently breaking existing code for some project.

In this version we reviewed the external api and made sure that it matches TS 5.4 while still supporting older version of TS (4.6)

Theses change are likely to cause build errors in existing projects, but in most cases these errors represent potential bugs that should be addressed.
Here's the list of significant changes:

  • findFirst, findOne and findId can return undefined when the row is not found, if you're sure that the row exists, add a ! after it, for example:
    let p = await repo(Person).findId(7) // p will be Person | undefined in the new version
    let q = (await repo(Person).findId(7))! // p will be Person
  • Decorators that use entity, now require to define the entity in the generic definition.
    Previously you could have the following code:
    @​Fields.string({
      validate: task => task.title.length > 2
    })
    title=''
    Now, that code will return an error that title is not a member of unknown. To fix that add the Entity generic definition:
    @&#8203;Fields.string<Task>({
      validate: task => task.title.length > 2
      title = ''
    })
  • FieldMetadata.key was changed from string to keyof entityType making it easier to traverse the object.
  • error in EntityRef, FieldRef and ControllerRef can be undefined when there is no error
  • Change = any to = unknown in most generic definitions

v0.26.23

Compare Source

  • Fixes and improvements to the admin panel

v0.26.22

Compare Source

  • fixed issue with prevent default and insert

v0.26.21

Compare Source

  • Fixed a bug with startsWith and endsWith worked like contains

v0.26.20

Compare Source

  • Added support for $not, $startsWith & $endsWith

v0.26.19

Compare Source

  • Fixed issue with recursive sqlExpression call for field

v0.26.18

Compare Source

  • Fixed an issue with sqlExpression without aliases - now remult automatically adds an alias in select, but not in order by or where.

v0.26.17

Compare Source

  • Added support for DuckDB

v0.26.16

Compare Source

  • Many improvements to remult-admin
  • HUGE thanks to jycouet & celikovic for their amazing work on remult-admin

Configuration

📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Paris, 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.

@renovate renovate bot added the dependencies label Jul 4, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.16 Update dependency remult to v0.26.17 Jul 6, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.17 Update dependency remult to v0.26.18 Jul 8, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.18 Update dependency remult to v0.26.19 Jul 9, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.19 Update dependency remult to v0.26.21 Jul 12, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.21 Update dependency remult to v0.26.22 Jul 20, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.22 Update dependency remult to v0.26.23 Jul 30, 2024
@renovate renovate bot changed the title Update dependency remult to v0.26.23 Update dependency remult to v0.27.0 Aug 2, 2024
@renovate renovate bot changed the title Update dependency remult to v0.27.0 Update dependency remult to v0.27.0 - autoclosed Aug 8, 2024
@renovate renovate bot closed this Aug 8, 2024
@renovate renovate bot deleted the renovate/remult-0.x branch August 8, 2024 20:51
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