Comments (8)
I am again going to have to fork this project just to get Laravel Forge back online. Please please please fix how you are detecting these properties. If DigitalOcean adds a new one your library breaks EVERY time.
from client.
Totally agree with Taylor. A simply change in property now makes the library and any package depending on yours unusable.
http://awesomescreenshot.com/06e3ubyxb9
from client.
This library isn't meant for production yet since the api is still in beta and changes often. i will update the library to add any missing fields.
from client.
@taylorotwell the point of the exception we are throwing is that we can determine the changes since they are not always documented in the change log : https://developers.digitalocean.com/changelog/
from client.
You should also check my screenshot. Size has been renamed sizeSlug.
from client.
@luceos that was fixed on babb533 i will make a new release today reflecting all the fixes
from client.
Renaming size to sizeSlug property will give you obsolete lines 151-153 (https://github.com/toin0u/DigitalOceanV2/blob/babb533d8ab48265c3cdac4f6e48f36fe9f569d6/src/Entity/Droplet.php#L151). Renaming those lines as well will cause a new exception, so that's no option.
from client.
@luceos You are absolutely right! those lines are obsolete. there is no point of catching the sizeSlug property because it is handled automatically. i will remove them. thank you!
from client.
Related Issues (20)
- Add support for monitoring API HOT 4
- `Entity\Droplet::tags` incorrectly type-hinted as `Tag[]` HOT 2
- Api\Image::getById() accepts only int, should accept int|string HOT 2
- Ubuntu 20.04 composer install fail HOT 1
- Meta.php Entity class, what is it for? HOT 1
- PHP 7.4 requirement HOT 5
- Add support for Project Resources API HOT 2
- dropletClient->getAll return empty array HOT 2
- Project Resources API HOT 1
- "Floating IPs" have been renamed to "Reserved IPs" HOT 3
- Sizes API defaults to 20 per page and getAll doesn't page HOT 2
- Calling update() may result in data loss HOT 2
- Droplet entity missing VPC UUID property HOT 1
- Kubernetes support? HOT 2
- Uptime Checks HOT 2
- package laravel not found HOT 1
- Fetch IP address of Droplet HOT 1
- Does this library capture the HTTP response code and make that available? HOT 2
- Please remove "final" keyword from ExceptionThrower to allow extending this class. HOT 2
- No confirmation that droplet was successfully removed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.