Skip to content

Commit 6c27106

Browse files
Merge pull request #805 from newrelic/dev
Release 10.15
2 parents 1563e80 + 1c793c9 commit 6c27106

65 files changed

Lines changed: 1178 additions & 669 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/code-coverage-baseline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
matrix:
7070
platform: [gnu, musl]
7171
arch: [amd64]
72-
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
72+
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
7373
include:
7474
- codecov: 0
7575
- platform: gnu
@@ -147,7 +147,7 @@ jobs:
147147
matrix:
148148
platform: [gnu, musl]
149149
arch: [amd64]
150-
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
150+
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
151151
include:
152152
- codecov: 0
153153
- platform: gnu

.github/workflows/make-agent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
platform: [gnu, musl]
35-
php: ['8.0', '8.1', '8.2']
35+
php: ['8.0', '8.1', '8.2', '8.3']
3636
steps:
3737
- name: Checkout Repo
3838
uses: actions/checkout@v3

.github/workflows/make-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: true
3535
matrix:
3636
platform: [gnu, musl]
37-
php: ['8.0', '8.1', '8.2']
37+
php: ['8.0', '8.1', '8.2', '8.3']
3838
steps:
3939
- name: Checkout integration tests
4040
uses: actions/checkout@v3

.github/workflows/repolinter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ name: Repolinter Action
88
# filtered in the "Test Default Branch" step.
99
on: [push, workflow_dispatch]
1010

11+
permissions:
12+
issues: write
13+
1114
jobs:
1215
repolint:
1316
name: Run Repolinter

.github/workflows/test-agent.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
matrix:
7373
platform: [gnu, musl]
7474
arch: [amd64, arm64]
75-
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
75+
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
7676
exclude:
7777
- arch: arm64
7878
php: '7.0'
@@ -183,7 +183,7 @@ jobs:
183183
matrix:
184184
platform: [gnu, musl]
185185
arch: [amd64, arm64]
186-
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
186+
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
187187
exclude:
188188
- arch: arm64
189189
php: '7.0'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![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)
1+
<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>
22

33
# 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)
44

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

3737
* [New Relic Documentation](https://docs.newrelic.com/docs/agents/php-agent/getting-started/introduction-new-relic-php): Comprehensive guidance for using our platform
38-
* [New Relic Community](https://discuss.newrelic.com/tags/phpagent): The best place to engage in troubleshooting questions
38+
* [New Relic Community](https://forum.newrelic.com/): The best place to engage in troubleshooting questions
3939
* [New Relic Developer](https://developer.newrelic.com/): Resources for building a custom observability applications
4040
* [New Relic University](https://learn.newrelic.com/): A range of online training for New Relic users of every level
4141
* [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).

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.14.0
1+
10.15.0

agent/fw_drupal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,12 +608,16 @@ NR_PHP_WRAPPER(nr_drupal_wrap_module_invoke_all) {
608608
NRPRG(drupal_module_invoke_all_hook)
609609
= nr_strndup(Z_STRVAL_P(hook), Z_STRLEN_P(hook));
610610
NRPRG(drupal_module_invoke_all_hook_len) = Z_STRLEN_P(hook);
611+
NRPRG(check_cufa) = true;
611612

612613
NR_PHP_WRAPPER_CALL;
613614

614615
nr_free(NRPRG(drupal_module_invoke_all_hook));
615616
NRPRG(drupal_module_invoke_all_hook) = prev_hook;
616617
NRPRG(drupal_module_invoke_all_hook_len) = prev_hook_len;
618+
if (NULL == NRPRG(drupal_module_invoke_all_hook)) {
619+
NRPRG(check_cufa) = false;
620+
}
617621

618622
leave:
619623
nr_php_arg_release(&hook);

agent/fw_drupal8.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ NR_PHP_WRAPPER(nr_drupal94_invoke_all_with) {
418418
NRPRG(drupal_module_invoke_all_hook)
419419
= nr_strndup(Z_STRVAL_P(hook), Z_STRLEN_P(hook));
420420
NRPRG(drupal_module_invoke_all_hook_len) = Z_STRLEN_P(hook);
421-
421+
NRPRG(check_cufa) = true;
422422
callback = nr_php_arg_get(2, NR_EXECUTE_ORIG_ARGS TSRMLS_CC);
423423
/* This instrumentation will fail if callback has already been wrapped
424424
* with a special instrumentation callback in a different context.
@@ -432,6 +432,9 @@ NR_PHP_WRAPPER(nr_drupal94_invoke_all_with) {
432432
nr_free(NRPRG(drupal_module_invoke_all_hook));
433433
NRPRG(drupal_module_invoke_all_hook) = prev_hook;
434434
NRPRG(drupal_module_invoke_all_hook_len) = prev_hook_len;
435+
if (NULL == NRPRG(drupal_module_invoke_all_hook)) {
436+
NRPRG(check_cufa) = false;
437+
}
435438

436439
leave:
437440
nr_php_arg_release(&hook);

0 commit comments

Comments
 (0)