Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/ray
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 11, 2022
2 parents 018075d + c21b341 commit 4a4def8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to `ray` will be documented in this file

## 1.35.0 - 2022-08-09

### What's Changed

- Sync Laravel sample config `ray.php` with the latest in `laravel-ray` by @squatto in https://github.com/spatie/ray/pull/706
- Added createFromArray method on SettingsFactory by @doekenorg in https://github.com/spatie/ray/pull/708
- Update reference.md by @WouterBrouwers in https://github.com/spatie/ray/pull/712
- Fixed typo showQueries to showDuplicateQueries by @xitox97 in https://github.com/spatie/ray/pull/714
- Add slow_query_threshold to laravel docs by @fullstackfool in https://github.com/spatie/ray/pull/718

### New Contributors

- @doekenorg made their first contribution in https://github.com/spatie/ray/pull/708
- @xitox97 made their first contribution in https://github.com/spatie/ray/pull/714
- @fullstackfool made their first contribution in https://github.com/spatie/ray/pull/718

**Full Changelog**: https://github.com/spatie/ray/compare/1.34.5...1.35.0

## 1.34.5 - 2022-06-03

### What's Changed
Expand Down
3 changes: 1 addition & 2 deletions docs/usage/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To display something in Ray use the `ray()` function. It accepts everything: str
## Framework agnostic PHP

| Call | Description |
|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `ray($variable)` | Display a string, array or object |
| `ray($variable, $another, …)` | Ray accepts multiple arguments |
| `ray()->backtrace()` | Check entire backtrace |
Expand Down Expand Up @@ -64,7 +64,6 @@ To display something in Ray use the `ray()` function. It accepts everything: str
| `ray(…)->large()` | Output text bigger |
| `ray()->limit(N)->…` | Limit the number of payloads that can be sent to Ray to N; used for debugging within loops |
| `ray()->link($url, $label = null)` | Display a clickable URL in Ray |

| `ray()->measure()` | Display runtime and memory usage. When measure is called again, the time between this and previous call is also displayed |
| `ray()->newScreen()` | Start a new screen |
| `ray()->newScreen('title')` | Start a new named screen |
Expand Down

0 comments on commit 4a4def8

Please sign in to comment.