You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that I (and I guess other paperclip users) only add a dependency to the base crate, not the macros directly, The macro crate is pulled transitively, and 0.6.4 is semver-compatible with 0.6.3, so if I run cargo update in my end project (which depends on paperclip and my internal crate) to update my dependencies for housekeeping, paperclip-macros gets updated to 0.6.4 but then my project does not compile anymore because my proc-macro crate generates incomplete DefaultSchemaRaw structs.
IDK what the course of action would be? I would say yank paperclip-macros0.6.x for x > 3 and bump it to 0.7.0, and release patch versions of paperclip for those which need those min/max params, with a dependency to paperclip-macros0.7?
The text was updated successfully, but these errors were encountered:
Ah bummer... perhaps DefaultSchemaRaw should not have been a public api with public fields..
Anyway, seems probably we should indeed yank it out, release a "fixed" 0.6.5, and then a "breaking" 0.7.0
Meanwhile I think you can run cargo update -p paperclip-macros --precise 0.6.3
This patch version changes the
DefaultSchemaRaw
derived struct by adding properties to it in commit 135096f.My problem is that I have a proc-macro crate where I generate code, including a hand-written
Apiv2Schema
impl
for the type:The issue is that I (and I guess other
paperclip
users) only add a dependency to the base crate, not the macros directly, The macro crate is pulled transitively, and0.6.4
is semver-compatible with0.6.3
, so if I runcargo update
in my end project (which depends onpaperclip
and my internal crate) to update my dependencies for housekeeping,paperclip-macros
gets updated to0.6.4
but then my project does not compile anymore because my proc-macro crate generates incompleteDefaultSchemaRaw
structs.IDK what the course of action would be? I would say yank
paperclip-macros
0.6.x
forx > 3
and bump it to0.7.0
, and release patch versions ofpaperclip
for those which need those min/max params, with a dependency topaperclip-macros
0.7
?The text was updated successfully, but these errors were encountered: