Update to crystal 0.25.0#826
Conversation
Use new File::Permissions and File.info Update to JSON::Any API
|
@bcardiff Any idea when the docker image will be created for 0.25.0? |
|
@bcardiff thank you for doing this, and especially for documenting the needed changes that are prerequisites |
|
@drujensen Ideally during next week the former release should be made. If you need, you can use the |
|
In Homebrew, I've shipped crystal-lang 0.25.0, which has broken the amber formula. It would be great if we could unbreak that as soon as possible. |
|
@ilovezfs Yeah, no problem, I'm already fixing dependencies, we should be ready on next days 👍 |
|
@bcardiff I tried to update dependencies, although seems Ref: https://travis-ci.org/amberframework/amber/jobs/392749736#L716 /cc @will |
|
pg v0.15.0 was released just now and should fix this |
|
@will Thank you! I already sent a PR to Granite (1), Crecto (2), and Jennifer (3) repositories (1) amberframework/granite#228 |
|
Oh, seems liquid also need some updates to fix breaking changes 😅 |
|
I guess CI needs to be retriggered now that liquid.cr was fixed? |
|
Hi, liquid.cr is fine 👍 Now we're getting errors with amber router /cc @robacarp Ref: https://travis-ci.org/amberframework/amber/jobs/393041252#L680 |
|
@faustinoaq I think crystal 0.25.0 lacks direct support for rfc1123, only rcf2822 is exposed. You can get it by implementing your own formatter function: def rfc1123_date(time)
String.build do |io|
formatter = Time::Format::Formatter.new(time.to_utc, io)
formatter.rfc_2822(true, true)
io
end
end
time = Time.utc(2017, 6, 7, 9)
puts time.to_rfc2822
=> "Wed, 7 Jun 2017 09:00:00 +0000"
puts rfc1123_date(time)
=> "Wed, 07 Jun 2017 09:00:00 GMT"That's probably an oversight of crystal-lang/crystal#5123. |
|
@bcardiff Thanks, I missed that. I think you meant to link to https://crystal-lang.org/api/0.25.0/HTTP.html#format_time%28time%3ATime%29%3AString-class-method So replacing |
|
@faustinoaq what's the status here? |
|
@felixbuenemann this isn't an issue, it's a pull request which has been replaced. |
|
Oh my, sorry for the confusion! |
This PR updates to upcoming breaking changes in crystal 0.25.0
Note that this also depends on the following PR been available as a formal release to update the shards.yml
Fixes #847