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 grafana/xk6-sql to v1.0.3 #4

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2025

This PR contains the following updates:

Package Update Change
grafana/xk6-sql patch 1.0.1 -> 1.0.3

Release Notes

grafana/xk6-sql (grafana/xk6-sql)

v1.0.3

Compare Source

xk6-sql v1.0.3 is here 🎉!

This release includes:

New features

  • Connection options in the open function: An optional options parameter can be used in open() to specify database connection-related options.

    sql.open(driver, "roster_db", opts)

    Properties:

    • conn_max_idle_time: Sets the maximum amount of time a connection may be idle. If 0, connections are not closed due to a connection's idle time. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Example:
      const db = sql.open(driver, "roster_db", { conn_max_idle_time: "1h10m10s" });
    • conn_max_lifetime: Sets the maximum amount of time a connection may be reused. If 0, connections are not closed due to a connection's age. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Example:
      const db = sql.open(driver, "roster_db", { conn_max_lifetime: "10h" });
    • max_idle_conns: Sets the maximum number of connections in the idle connection pool. If 0, no idle connections are retained. The default is currently 2. Example:
      const db = sql.open(driver, "roster_db", { max_idle_conns: 3 });
    • max_open_conns: Sets the maximum number of open connections to the database. If 0, then there is no limit on the number of open connections. The default is 0 (unlimited). Example:
      const db = sql.open(driver, "roster_db", { max_open_conns: 100 });

Bugfixes

  • Symbol type driver parameter support: The open() function now accepts Symbol (class) type driver ids in addition to the primitive symbol type. This is because when a driver is imported with the require() function, it is not a primitive symbol that is imported, but a Symbol class type. Also fixes #​115

v1.0.2

Compare Source

xk6-sql v1.0.2 is here 🎉!

This release includes:

This is a maintenance release, changes:

  • Simplify contribution with support for reproducible development environments (Development Containers).
  • Updated documentation for typings to work with VSCode

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 changed the title Update dependency grafana/xk6-sql to v1.0.2 Update dependency grafana/xk6-sql to v1.0.2 - autoclosed Feb 21, 2025
@renovate renovate bot closed this Feb 21, 2025
@renovate renovate bot deleted the renovate/grafana-xk6-sql-1.x branch February 21, 2025 14:57
@renovate renovate bot changed the title Update dependency grafana/xk6-sql to v1.0.2 - autoclosed Update dependency grafana/xk6-sql to v1.0.2 Feb 21, 2025
@renovate renovate bot reopened this Feb 21, 2025
@renovate renovate bot force-pushed the renovate/grafana-xk6-sql-1.x branch from e1d7343 to b83d6e2 Compare February 21, 2025 15:05
@renovate renovate bot changed the title Update dependency grafana/xk6-sql to v1.0.2 Update dependency grafana/xk6-sql to v1.0.3 Feb 21, 2025
@renovate renovate bot force-pushed the renovate/grafana-xk6-sql-1.x branch from b83d6e2 to 98be44f Compare February 21, 2025 17:10
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.

1 participant