-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into jbk/language
- Loading branch information
Showing
9 changed files
with
201 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Bug report | ||
about: Report an issue to help us improve Ziggy | ||
title: '' | ||
labels: needs triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Description | ||
|
||
<!-- Provide a clear and concise description of the current behaviour and what the bug is. --> | ||
|
||
### Expected behavior | ||
|
||
<!-- Provide a clear and concise description of what you expected to happen. --> | ||
|
||
### Environment | ||
|
||
<!-- Include ALL of the information below: --> | ||
|
||
- **Laravel version**: | ||
- **Ziggy version**: | ||
|
||
**Related routes**: | ||
|
||
<!-- The route with the issue, from your Laravel routes file. E.g.: --> | ||
|
||
```php | ||
Route::get('/', 'HomeController')->name('home'); | ||
``` | ||
|
||
**`Ziggy.namedRoutes`**: | ||
|
||
<!-- In your browser console/devtools, run `Ziggy.namedRoutes` and paste the result here. E.g.: --> | ||
|
||
```js | ||
{ | ||
home: { | ||
uri: '/', | ||
methods: ['GET', 'HEAD'], | ||
}, | ||
// ... | ||
} | ||
``` | ||
|
||
**Ziggy call**: | ||
|
||
<!-- Show where and how you're using Ziggy when this bug occurs. E.g.: --> | ||
|
||
```js | ||
// ApiClient is a wrapper around axios | ||
ApiClient.get(route('home', { lang: 'en' })); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest a new feature for Ziggy | ||
title: '' | ||
labels: enhancement, needs triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Description | ||
|
||
<!-- Is your request related to a problem? If so, please describe the problem. E.g.: I'm always frustrated when [...] --> | ||
|
||
### Suggestion | ||
|
||
<!-- Tell us about the solution you'd like, with a clear and concise description of what you want to happen. --> | ||
|
||
### Alternatives | ||
|
||
<!-- Describe alternative solutions and approaches you considered, if any. --> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and the format of this changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
||
## [Unreleased] | ||
|
||
Breaking changes are marked with ⚠️. | ||
|
||
**Added** | ||
|
||
- Document the `check()` method ([#294](https://github.com/tightenco/ziggy/pull/294)) and how to install and use Ziggy via `npm` and over a CDN ([#299](https://github.com/tightenco/ziggy/pull/299)) | ||
|
||
**Changed** | ||
|
||
- ⚠️ Update `ziggy:generate` output path for Laravel 5.7+ `resources` directory structure, thanks [@Somethingideally](https://github.com/Somethingideally)! ([#269](https://github.com/tightenco/ziggy/pull/269)) | ||
- ⚠️ Update automatic `id` parameter detection to check for higher priority named route parameters and allow passing `id` as a query parameter ([#301](https://github.com/tightenco/ziggy/pull/301)) | ||
|
||
**Fixed** | ||
|
||
- Fix automatic `id` parameter detection by also excluding routes with an _optional_ `id` parameter (`{id?}`), thanks [@Livijn](https://github.com/Livijn)! ([#263](https://github.com/tightenco/ziggy/pull/263)) | ||
- Fix port not being added to URL for routes with subdomains ([#293](https://github.com/tightenco/ziggy/pull/293)) | ||
- Fix getting parameters of routes in apps installed in subfolders ([#302](https://github.com/tightenco/ziggy/pull/302)) | ||
|
||
## [0.9.4] - 2020-06-05 | ||
|
||
**Fixed** | ||
|
||
- Fix escaping of `.` characters in the `current()` method, thanks [@davejamesmiller](https://github.com/davejamesmiller)! ([#296](https://github.com/tightenco/ziggy/pull/296)) | ||
|
||
## [0.9.3] - 2020-05-08 | ||
|
||
**Added** | ||
|
||
- Add support for passing a CSP `nonce` attribute to the `@routes` Blade directive to be set on the script tag, thanks [@tminich](https://github.com/tminich)! (#287) | ||
|
||
**Changed** | ||
|
||
- Improve support for using Ziggy with server-side rendering, thanks [@emielmolenaar](https://github.com/emielmolenaar)! ([#260](https://github.com/tightenco/ziggy/pull/260)) | ||
- Avoid resolving the Blade compiler unless necessary, thanks [@axlon](https://github.com/axlon)! ([#267](https://github.com/tightenco/ziggy/pull/267)) | ||
- Use `dist/js/route.js` as the npm package's main target, thanks [@ankurk91](https://github.com/ankurk91) and [@benallfree](https://github.com/benallfree)! ([#276](https://github.com/tightenco/ziggy/pull/276)) | ||
- Readme and quality-of-life improvements ([#289](https://github.com/tightenco/ziggy/pull/289)) | ||
|
||
**Fixed** | ||
|
||
- Ensure Ziggy's assets are always generated in the correct location ([#290](https://github.com/tightenco/ziggy/pull/290)) | ||
|
||
--- | ||
|
||
For previous changes see the [Releases](https://github.com/tightenco/ziggy/releases) page. | ||
|
||
[Unreleased]: https://github.com/tightenco/ziggy/compare/0.9.4...HEAD | ||
[0.9.4]: https://github.com/tightenco/ziggy/compare/0.9.3...0.9.4 | ||
[0.9.3]: https://github.com/tightenco/ziggy/compare/v0.9.2...0.9.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters