Skip to content

Commit

Permalink
Merge pull request #805 from newrelic/dev
Browse files Browse the repository at this point in the history
Release 10.15
  • Loading branch information
bduranleau-nr authored Dec 18, 2023
2 parents 1563e80 + 1c793c9 commit 6c27106
Show file tree
Hide file tree
Showing 65 changed files with 1,178 additions and 669 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
matrix:
platform: [gnu, musl]
arch: [amd64]
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
include:
- codecov: 0
- platform: gnu
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
matrix:
platform: [gnu, musl]
arch: [amd64]
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
include:
- codecov: 0
- platform: gnu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
platform: [gnu, musl]
php: ['8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fail-fast: true
matrix:
platform: [gnu, musl]
php: ['8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout integration tests
uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/repolinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ name: Repolinter Action
# filtered in the "Test Default Branch" step.
on: [push, workflow_dispatch]

permissions:
issues: write

jobs:
repolint:
name: Run Repolinter
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
matrix:
platform: [gnu, musl]
arch: [amd64, arm64]
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
exclude:
- arch: arm64
php: '7.0'
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
matrix:
platform: [gnu, musl]
arch: [amd64, arm64]
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
exclude:
- arch: arm64
php: '7.0'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Community Plus header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus)
<a href="https://opensource.newrelic.com/oss-category/#community-plus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Plus.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"><img alt="New Relic Open Source community plus project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"></picture></a>

# New Relic PHP agent [![agent-build status](https://github.com/newrelic/newrelic-php-agent/workflows/agent-build/badge.svg)](https://github.com/newrelic/newrelic-php-agent/actions)

Expand Down Expand Up @@ -35,7 +35,7 @@ If the issue is confirmed as a bug or is a feature request, please file a GitHub
**Support Channels**

* [New Relic Documentation](https://docs.newrelic.com/docs/agents/php-agent/getting-started/introduction-new-relic-php): Comprehensive guidance for using our platform
* [New Relic Community](https://discuss.newrelic.com/tags/phpagent): The best place to engage in troubleshooting questions
* [New Relic Community](https://forum.newrelic.com/): The best place to engage in troubleshooting questions
* [New Relic Developer](https://developer.newrelic.com/): Resources for building a custom observability applications
* [New Relic University](https://learn.newrelic.com/): A range of online training for New Relic users of every level
* [New Relic Technical Support](https://support.newrelic.com/) 24/7/365 ticketed support. Read more about our [Technical Support Offerings](https://docs.newrelic.com/docs/licenses/license-information/general-usage-licenses/global-technical-support-offerings).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.14.0
10.15.0
4 changes: 4 additions & 0 deletions agent/fw_drupal.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,12 +608,16 @@ NR_PHP_WRAPPER(nr_drupal_wrap_module_invoke_all) {
NRPRG(drupal_module_invoke_all_hook)
= nr_strndup(Z_STRVAL_P(hook), Z_STRLEN_P(hook));
NRPRG(drupal_module_invoke_all_hook_len) = Z_STRLEN_P(hook);
NRPRG(check_cufa) = true;

NR_PHP_WRAPPER_CALL;

nr_free(NRPRG(drupal_module_invoke_all_hook));
NRPRG(drupal_module_invoke_all_hook) = prev_hook;
NRPRG(drupal_module_invoke_all_hook_len) = prev_hook_len;
if (NULL == NRPRG(drupal_module_invoke_all_hook)) {
NRPRG(check_cufa) = false;
}

leave:
nr_php_arg_release(&hook);
Expand Down
5 changes: 4 additions & 1 deletion agent/fw_drupal8.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ NR_PHP_WRAPPER(nr_drupal94_invoke_all_with) {
NRPRG(drupal_module_invoke_all_hook)
= nr_strndup(Z_STRVAL_P(hook), Z_STRLEN_P(hook));
NRPRG(drupal_module_invoke_all_hook_len) = Z_STRLEN_P(hook);

NRPRG(check_cufa) = true;
callback = nr_php_arg_get(2, NR_EXECUTE_ORIG_ARGS TSRMLS_CC);
/* This instrumentation will fail if callback has already been wrapped
* with a special instrumentation callback in a different context.
Expand All @@ -432,6 +432,9 @@ NR_PHP_WRAPPER(nr_drupal94_invoke_all_with) {
nr_free(NRPRG(drupal_module_invoke_all_hook));
NRPRG(drupal_module_invoke_all_hook) = prev_hook;
NRPRG(drupal_module_invoke_all_hook_len) = prev_hook_len;
if (NULL == NRPRG(drupal_module_invoke_all_hook)) {
NRPRG(check_cufa) = false;
}

leave:
nr_php_arg_release(&hook);
Expand Down
Loading

0 comments on commit 6c27106

Please sign in to comment.