{"ecosystem":"cargo","package":"path-slash","from_version":null,"to_version":null,"changes":[{"from_version":"v0.1.5","to_version":"v0.2.0","change_type":"breaking","description":"`Path::to_slash(&self) -> Option<String>`","migration_hint":null},{"from_version":"v0.1.5","to_version":"v0.2.0","change_type":"breaking","description":"`Path::to_slash_lossy(&self) -> String`","migration_hint":null},{"from_version":"v0.1.5","to_version":"v0.2.0","change_type":"breaking","description":"`Path::to_slash(&self) -> Option<Cow<'_, Path>>`","migration_hint":null},{"from_version":"v0.1.5","to_version":"v0.2.0","change_type":"breaking","description":"`Path::to_slash_lossy(&self) -> Cow<'_, Path>`","migration_hint":null},{"from_version":"v0.1.5","to_version":"v0.2.0","change_type":"breaking","description":"**BREAKING:** Fix inconsistency on Windows and on Unix-like OS in terms of trailing slash in path. Now a trailing slash in path is always preserved. (#10) ```rust // 0.1 #[cfg(target_os = \"windows\")] assert_eq!(Path::new(r\"\\a\\b\\\").to_slash_lossy(), \"/a/b\"); // Trailing slash is removed #[cfg(not(target_os = \"windows\"))] assert_eq!(Path::new(\"/a/b/\").to_slash_lossy(), \"/a/b/\"); // Trailing slash is preserved // 0.2 #[cfg(target_os = \"windows\")] assert_eq!(Path::new(r\"\\a\\b\\\").to_slash_lossy(), \"/a","migration_hint":null}],"total":5,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}