Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "base" and other prefixes #338

Merged
merged 9 commits into from
Oct 24, 2020
Merged

Remove "base" and other prefixes #338

merged 9 commits into from
Oct 24, 2020

Conversation

bakerkretzmar
Copy link
Collaborator

This PR renames:

  • namedRoutesroutes
  • defaultParametersdefaults
  • baseUrlurl
  • basePortport

Shouldn't have much of an effect as they're mostly used internally, and where people are using them it's a straightforward change. I left out baseProtocol and baseDomain in anticipation of them being removed in #337.

@bakerkretzmar bakerkretzmar added this to the v1.0 milestone Oct 9, 2020
bakerkretzmar added a commit that referenced this pull request Oct 23, 2020
Copy link
Collaborator

@jakebathman jakebathman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything here looks good, but in #341 you added a few instances of namedRoutes in tests/Unit/RouteModelBindingTest.php that'll need to be handled as well.

That could be addressed either in this PR or that one, depending on the order of merging. I don't think I care either way.

@bakerkretzmar bakerkretzmar merged commit fa71223 into develop Oct 24, 2020
@bakerkretzmar bakerkretzmar deleted the jbk/prefixes branch October 24, 2020 00:30
bakerkretzmar added a commit that referenced this pull request Nov 6, 2020
* Add upgrade guide

* Wip

* Wip

* Update GitHub actions to not run on Markdown files

* Wip

* Formatting

* Add changes in #337

* Add anchor links

* Add changes in #338

* Add changes in #341, formatting

* Wip

* Update usage examples in Readme

* Move CSP section down

* LICENSE.md → LICENSE

* Wip

* Wip

* Formatting

* Add new features section to Upgrading

* Prep Changelog headers and tags for v1

* Move current() with query fix to Fixed section

* Add entries for #334 and #344 to Upgrading

* Add Upgrading entry for check() being deprecated

* Add #345 to Upgrading

* Wip on Readme

* JavaScript → Javascript

* Wording/formatting

* Update Readme:
- Move Usage above Setup
- Remove 'basic setup' section about @routes directive, it's covered in Installation
- Wording fixes
- Add note about boolean encoding (see #345)
- Remove old 'Artisan Command' section

* Formatting

* Formatting and wording

* Javascript → JavaScript

* Remove unused heading link

* Add section under 'Other' for setting up an API endpoint to return routes, link to that from SPA and JS sections

* Fix wording re: watching files

* :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants