Skip to content

Tags: bottledcode/durable-php

Tags

v2.2.3

Toggle v2.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix property access when no hooks (#157)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Refactor**
* Improved internal handling of property operations for better clarity
and maintainability.
  * Updated internal labels for processing steps.
* Enhanced access control logic to unconditionally deny access when
specified.
* **Tests**
* Added tests to verify property access signals and enforce access
control with security exceptions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Robert Landers <landers.robert@gmail.com>

v2.2.2

Toggle v2.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add attribute targets (#156)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Expanded the applicability of several attributes, allowing them to be
used on all possible targets and, where relevant, to be repeatable.
* No changes to existing logic or functionality; updates affect only how
and where attributes can be applied.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Robert Landers <landers.robert@gmail.com>

v2.2.1

Toggle v2.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
remove dphp bin (#155)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated configuration by removing the reference to the executable
script in the application setup.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Robert Landers <landers.robert@gmail.com>

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add from capability (#154)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a new event wrapper to track the source of each event for
improved traceability.
* Introduced an attribute to specify allowed creation sources for
entities.
* Enhanced permission system with origin-based filtering for resource
creation.

* **Improvements**
* Enhanced event metadata to consistently include origin information
across various actions.
* Improved type safety and clarity in event representations and string
outputs.
* Updated event property accessibility for better integration and
flexibility.
* Extended resource discovery and authorization to consider source
identifiers.
* Added explicit permission checks for share-related events to enforce
access control.
* Implemented attribute-based access control checks on entity and
activity operations, enforcing security restrictions.
* Enriched event dispatching and orchestration with source context for
better provenance tracking.
* Refined resource permission logic to include origin-based validation.
* Added new global constants representing API and system sources for
authorization context.
* Included source context in HTTP API requests and authorization
headers.

* **Bug Fixes**
* Minor corrections to type declarations in event methods for stricter
typing compliance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Robert Landers <landers.robert@gmail.com>

v2.1.1

Toggle v2.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix time class (#150)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Updated type hints for constructor parameters to use nullable
shorthand for improved code clarity.
* Simplified import statements for the Time class across multiple files.

* **Chores**
* Updated PHP include path configuration to add new vendor directories.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Robert Landers <landers.robert@gmail.com>

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump lint-staged from 15.5.2 to 16.1.2 (#144)

Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from
15.5.2 to 16.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/lint-staged/lint-staged/releases">lint-staged's
releases</a>.</em></p>
<blockquote>
<h2>v16.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1570">#1570</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/a7c0c88bcfe94e695528cb33e69fea58586691fc"><code>a7c0c88</code></a>
Thanks <a
href="https://github.com/ItsNickBarry"><code>@​ItsNickBarry</code></a>!
- When using <code>--diff-filter</code> with the <code>D</code> option
to include deleted staged files, <em>lint-staged</em> no longer tries to
stage the deleted files, unless they're no longer deleted. Previously
this caused an error from <code>git add</code> like <code>fatal:
pathspec 'deleted-file' did not match any files</code>.</p>
</li>
<li>
<p><a
href="https://github.com/lint-staged/lint-staged/commit/38f942ecc456355d5f12af68db1696f3411f65c2"><code>38f942e</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Removed an extraneous log entry that printed
<code>shouldHidePArtiallyStagedFiles</code> to console output.</p>
</li>
</ul>
<h2>v16.1.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1565">#1565</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/3686977ccdadf70b709c16c0346ef6c2b18e2376"><code>3686977</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
<em>Lint-staged</em> now explicitly warns about potential data loss when
using <code>--no-stash</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1571">#1571</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/02299a9e4f98a05c13beb27f3596af73aaa8c150"><code>02299a9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Function tasks (introduced in v16.0.0) only receive the staged files
matching the configured glob, instead of all staged files.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1563">#1563</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/bc61c74383b6d100c55b8d275b979d583ffbe5a1"><code>bc61c74</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
This version fixes incorrect behavior where unstaged changes were
committed when using the <code>--no-stash</code> option. This happened
because <code>--no-stash</code> implied
<code>--no-hide-partially-staged</code>, meaning unstaged changes to
files which also had other staged changes were added to the commit by
<em>lint-staged</em>; this is no longer the case.</p>
<p>The previous (incorrect) behavior can still be achieved by using both
options <code>--no-stash --no-hide-partially-staged</code> at the same
time.</p>
</li>
</ul>
<h2>v16.1.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1536">#1536</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/e729daa3b3ae28e613f63e730652dbfad5d1c594"><code>e729daa</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - A
new flag <code>--no-revert</code> has been introduced for when task
modifications should be applied to the index before aborting the commit
in case of errors. By default, <em>lint-staged</em> will clear all task
modifications and revert to the original state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1550">#1550</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/b27fa3fecb75bcdcaa4bcd483c9d5c0755a22607"><code>b27fa3f</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
<em>Lint-staged</em> now ignores symlinks and leaves them out from the
list of staged files.</p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1558">#1558</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/c37dc38dddbdebc41df4dbd909d79c98c3f69eb3"><code>c37dc38</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
The minimum required Node.js version is lowered to <code>20.17</code>
following <a
href="https://github.com/sindresorhus/nano-spawn/releases/tag/v1.0.2">nano-spawn@1.0.2</a>.</li>
</ul>
<h2>v16.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1546">#1546</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba"><code>158d15c</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Processes are spawned using <a
href="https://github.com/sindresorhus/nano-spawn">nano-spawn</a> instead
of <a href="https://github.com/sindresorhus/execa">execa</a>. If you are
using Node.js scripts as tasks, you might need to explicitly run them
with <code>node</code>, especially when using Windows:</p>
<pre lang="json"><code>{
  &quot;*.js&quot;: &quot;node my-js-linter.js&quot;
}
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1546">#1546</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba"><code>158d15c</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
The <code>--shell</code> flag has been removed and <em>lint-staged</em>
no longer supports evaluating commands directly via a shell. To migrate
existing commands, you can create a shell script and invoke it instead.
Lint-staged will pass matched staged files as a list of arguments,
accessible via <code>&quot;$@&quot;</code>:</p>
<pre lang="shell"><code># my-script.sh
#!/bin/bash
<p>echo &quot;Staged files: $@&quot;<br />
</code></pre></p>
<p>and</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md">lint-staged's
changelog</a>.</em></p>
<blockquote>
<h2>16.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1570">#1570</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/a7c0c88bcfe94e695528cb33e69fea58586691fc"><code>a7c0c88</code></a>
Thanks <a
href="https://github.com/ItsNickBarry"><code>@​ItsNickBarry</code></a>!
- When using <code>--diff-filter</code> with the <code>D</code> option
to include deleted staged files, <em>lint-staged</em> no longer tries to
stage the deleted files, unless they're no longer deleted. Previously
this caused an error from <code>git add</code> like <code>fatal:
pathspec 'deleted-file' did not match any files</code>.</p>
</li>
<li>
<p><a
href="https://github.com/lint-staged/lint-staged/commit/38f942ecc456355d5f12af68db1696f3411f65c2"><code>38f942e</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Removed an extraneous log entry that printed
<code>shouldHidePArtiallyStagedFiles</code> to console output.</p>
</li>
</ul>
<h2>16.1.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1565">#1565</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/3686977ccdadf70b709c16c0346ef6c2b18e2376"><code>3686977</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
<em>Lint-staged</em> now explicitly warns about potential data loss when
using <code>--no-stash</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1571">#1571</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/02299a9e4f98a05c13beb27f3596af73aaa8c150"><code>02299a9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Function tasks (introduced in v16.0.0) only receive the staged files
matching the configured glob, instead of all staged files.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1563">#1563</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/bc61c74383b6d100c55b8d275b979d583ffbe5a1"><code>bc61c74</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
This version fixes incorrect behavior where unstaged changes were
committed when using the <code>--no-stash</code> option. This happened
because <code>--no-stash</code> implied
<code>--no-hide-partially-staged</code>, meaning unstaged changes to
files which also had other staged changes were added to the commit by
<em>lint-staged</em>; this is no longer the case.</p>
<p>The previous (incorrect) behavior can still be achieved by using both
options <code>--no-stash --no-hide-partially-staged</code> at the same
time.</p>
</li>
</ul>
<h2>16.1.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1536">#1536</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/e729daa3b3ae28e613f63e730652dbfad5d1c594"><code>e729daa</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - A
new flag <code>--no-revert</code> has been introduced for when task
modifications should be applied to the index before aborting the commit
in case of errors. By default, <em>lint-staged</em> will clear all task
modifications and revert to the original state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1550">#1550</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/b27fa3fecb75bcdcaa4bcd483c9d5c0755a22607"><code>b27fa3f</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
<em>Lint-staged</em> now ignores symlinks and leaves them out from the
list of staged files.</p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1558">#1558</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/c37dc38dddbdebc41df4dbd909d79c98c3f69eb3"><code>c37dc38</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
The minimum required Node.js version is lowered to <code>20.17</code>
following <a
href="https://github.com/sindresorhus/nano-spawn/releases/tag/v1.0.2">nano-spawn@1.0.2</a>.</li>
</ul>
<h2>16.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1546">#1546</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba"><code>158d15c</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
Processes are spawned using <a
href="https://github.com/sindresorhus/nano-spawn">nano-spawn</a> instead
of <a href="https://github.com/sindresorhus/execa">execa</a>. If you are
using Node.js scripts as tasks, you might need to explicitly run them
with <code>node</code>, especially when using Windows:</p>
<pre lang="json"><code>{
  &quot;*.js&quot;: &quot;node my-js-linter.js&quot;
}
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1546">#1546</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/158d15c9aea0a3a87790ec3766442763cf387dba"><code>158d15c</code></a>
Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! -
The <code>--shell</code> flag has been removed and <em>lint-staged</em>
no longer supports evaluating commands directly via a shell. To migrate
existing commands, you can create a shell script and invoke it instead.
Lint-staged will pass matched staged files as a list of arguments,
accessible via <code>&quot;$@&quot;</code>:</p>
<pre lang="shell"><code># my-script.sh
#!/bin/bash
<p></code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/0c48e29875c334487d250ab164e96febf8dfab5a"><code>0c48e29</code></a>
chore(changeset): release</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/e07227e987244c8806570c29be6e3012d54564a5"><code>e07227e</code></a>
perf: call rev-parse only once instead of three times when resolving git
repo</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/38f942ecc456355d5f12af68db1696f3411f65c2"><code>38f942e</code></a>
fix: remove extra log entry</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/5031a71dd22961e69881b4d8deda67904d570d3a"><code>5031a71</code></a>
perf: further optimize file chunking</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/6ec38b9acf02ee55d0c6bcbdb40a9e5c7bbd0571"><code>6ec38b9</code></a>
perf: optimize file list length calculation (<a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1581">#1581</a>)</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/a7c0c88bcfe94e695528cb33e69fea58586691fc"><code>a7c0c88</code></a>
fix: only stage changes to deleted files if they're no longer deleted
after r...</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/ccd5edd8955f2ce8577bc381a083062598c8ca2c"><code>ccd5edd</code></a>
test: pass --no-error-on-unmatched-pattern to prettier command in
--diff-opti...</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/48a6e952d11feeb2bd194a08a62f28c8f7e83614"><code>48a6e95</code></a>
test: add failing test for staged deleted files not passed directly to
tasks ...</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/b56b29efe637e3fee836e5bcc1c25354f70d5fc0"><code>b56b29e</code></a>
test: add failing test for staged deleted files with diff filter D</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/8420429b9d7c007f724e95ec301e492af3be351a"><code>8420429</code></a>
chore(changeset): release</li>
<li>Additional commits viewable in <a
href="https://github.com/lint-staged/lint-staged/compare/v15.5.2...v16.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=15.5.2&new-version=16.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v2.0.1

Toggle v2.0.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
do not fail if one fails

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adds tests (#31)

So many tests

v2.0.0-rc7

Toggle v2.0.0-rc7's commit message

Verified

This commit was signed with the committer’s verified signature.
withinboredom Rob Landers
login to docker first

v2.0.0-rc6

Toggle v2.0.0-rc6's commit message

Verified

This commit was signed with the committer’s verified signature.
withinboredom Rob Landers
fix tags