Skip to content

New version: BranchingProcesses v0.3.0#149389

Open
JuliaRegistrator wants to merge 1 commit intomasterfrom
registrator-branchingprocesses-04adb457-v0.3.0-be40011b72
Open

New version: BranchingProcesses v0.3.0#149389
JuliaRegistrator wants to merge 1 commit intomasterfrom
registrator-branchingprocesses-04adb457-v0.3.0-be40011b72

Conversation

@JuliaRegistrator
Copy link
Contributor

[Diff since v0.2.0](https://github.com/tmichoel/BranchingProcesses.jl/compare/v0.2.0...v0.3.0)

## New Features

- **`SciMLBase.remake` support for `ConstantRateBranchingProblem`**: Added a `SciMLBase.remake` method for `ConstantRateBranchingProblem` that follows the DifferentialEquations.jl convention. Accepts `lifetime` and `nchild` keyword arguments for direct field replacement on the branching problem, and forwards any other keyword arguments (e.g. `u0`, `tspan`, `p`) to `SciMLBase.remake` on the inner single-particle dynamics problem. This works uniformly for both `SDEProblem` and `JumpProblem` inner problems.

  ```julia
  # Modify branching problem fields directly
  new_bp = remake(bp, nchild=3)
  new_bp = remake(bp, lifetime=Exponential(0.5))

  # Shortcut: modify the inner SDE/jump problem's fields directly
  new_bp = remake(bp, u0=1.0)
  new_bp = remake(bp, tspan=(0.0, 4.0))

  # Combined
  new_bp = remake(bp, lifetime=Exponential(0.5), u0=3.0)
  ```

## Deprecated

- **`remake_initial_condition`**: This function is deprecated and will be removed in a future release. Use `SciMLBase.remake` instead.

## Internal Changes

- Added `JumpProcesses` as a package dependency (previously only a test dependency).

## Merged pull requests

- Add `remake` for `ConstantRateBranchingProblem` with inner-problem shortcut syntax (#18) (@Copilot)

UUID: 04adb457-7d2c-431a-93f1-03b44ce12db8
Repo: https://github.com/tmichoel/BranchingProcesses.jl.git
Tree: 3e3eb3a5ecf11914d3e2ac82288795379df17197

Registrator tree SHA: 50f504d641745716a5b3eabaf681d3a4937d2ae3
@github-actions
Copy link
Contributor

Hello, I am an automated registration bot. I help manage the registration process by checking your registration against a set of AutoMerge guidelines. If all these guidelines are met, this pull request will be merged automatically, completing your registration. It is strongly recommended to follow the guidelines, since otherwise the pull request needs to be manually reviewed and merged by a human.

1. AutoMerge Guidelines which are not met ❌

  • This is a breaking change, but the release notes do not mention it. Please add a mention of the breaking change to the release notes (use the words "breaking" or "changelog").

    Example of adding release notes with breaking notice

    If you are using the comment bot @JuliaRegistrator, you can add release notes to this registration by re-triggering registration while specifying release notes:

    @JuliaRegistrator register
    
    Release notes:
    
    ## Breaking changes
    
    - Explanation of breaking change, ideally with upgrade tips
    - ...
    

    If you are using JuliaHub, trigger registration the same way you did the first time, but enter release notes that specify the breaking changes.

    Either way, you need to mention the words "breaking" or "changelog", even if it is just to say "there are no breaking changes", or "see the changelog".

2. Needs action: here's what to do next

  1. Please try to update your package to conform to these guidelines. The General registry's README has an FAQ that can help figure out how to do so.
  2. After you have fixed the AutoMerge issues, simply retrigger Registrator, the same way you did in the initial registration. This will automatically update this pull request. You do not need to change the version number in your Project.toml file (unless the AutoMerge issue is that you skipped a version number).

If you need help fixing the AutoMerge issues, or want your pull request to be manually merged instead, please post a comment explaining what you need help with or why you would like this pull request to be manually merged. Then, send a message to the #pkg-registration channel in the public Julia Slack for better visibility.

3. To pause or stop registration

If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

Tip: You can edit blocking comments to add [noblock] in order to unblock auto-merging.

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