@@ -78,7 +78,7 @@ pub struct Settings {
7878}
7979
8080// DEPRECATION: Remove in v5.2.7
81- // Custom deserializer that supports both v0.5 .0 (new) and v0.4.0 (legacy) formats
81+ // Custom deserializer that supports both v0.6 .0 (new) and v0.4.0 (legacy) formats
8282fn deserialize_tagspecs < ' de , D > ( deserializer : D ) -> Result < TagSpecDef , D :: Error >
8383where
8484 D : Deserializer < ' de > ,
@@ -88,15 +88,15 @@ where
8888
8989 let value = Value :: deserialize ( deserializer) ?;
9090
91- // Try new v0.5 .0 format first (hierarchical with libraries)
91+ // Try new v0.6 .0 format first (hierarchical with libraries)
9292 if let Ok ( new_format) = TagSpecDef :: deserialize ( & value) {
9393 return Ok ( new_format) ;
9494 }
9595
9696 // Fall back to legacy v0.4.0 format (flat array of tags)
9797 if let Ok ( legacy) = Vec :: < tagspecs:: legacy:: LegacyTagSpecDef > :: deserialize ( & value) {
9898 tracing:: warn!(
99- "DEPRECATED: TagSpecs v0.4.0 format detected. Please migrate to v0.5 .0 format. \
99+ "DEPRECATED: TagSpecs v0.4.0 format detected. Please migrate to v0.6 .0 format. \
100100 The old format will be removed in v5.2.7. \
101101 See migration guide: https://github.com/joshuadavidthomas/django-language-server/blob/main/crates/djls-conf/TAGSPECS.md#migration-from-v040"
102102 ) ;
@@ -105,7 +105,7 @@ where
105105
106106 // Neither format worked, return default
107107 Err ( D :: Error :: custom (
108- "Invalid tagspecs format. Expected v0.5 .0 hierarchical format or legacy v0.4.0 array format" ,
108+ "Invalid tagspecs format. Expected v0.6 .0 hierarchical format or legacy v0.4.0 array format" ,
109109 ) )
110110}
111111
@@ -549,7 +549,7 @@ T100 = "hint"
549549 let dir = tempdir ( ) . unwrap ( ) ;
550550 let content = r#"
551551[tagspecs]
552- version = "0.5 .0"
552+ version = "0.6 .0"
553553
554554[[tagspecs.libraries]]
555555module = "myapp.templatetags.custom"
@@ -615,7 +615,7 @@ kind = "variable"
615615debug = true
616616
617617[tool.djls.tagspecs]
618- version = "0.5 .0"
618+ version = "0.6 .0"
619619
620620[[tool.djls.tagspecs.libraries]]
621621module = "django.templatetags.cache"
@@ -876,7 +876,7 @@ args = [
876876 Settings :: new ( Utf8Path :: from_path ( dir. path ( ) ) . unwrap ( ) , None ) . unwrap ( ) ;
877877
878878 // Should be converted to new hierarchical format
879- assert_eq ! ( settings. tagspecs( ) . version, "0.5 .0" ) ;
879+ assert_eq ! ( settings. tagspecs( ) . version, "0.6 .0" ) ;
880880 assert_eq ! ( settings. tagspecs( ) . libraries. len( ) , 2 ) ;
881881
882882 // Find libraries (order not guaranteed)
0 commit comments